On 09/14/2011 05:13 PM, Jonathan Gazeley wrote: > Hi all, > > I'm using nagios with pnp4nagios to graph my performance data. When a > plugin returns performance data, it automatically get graphed. However, > one of my plugins isn't getting graphed. > > I'm aware that this is quite a large amount of perfdata being returned > (pool use for lots of pools on a DHCP server) but is there anything > wrong with this output? > > [jg4461@dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools > OK - all pools less than 80% full | resnet-wireless-652=0.983%;80%;90%, > resnet-wireless-653=1.377%;80%;90%, resnet-wireless-654=1.180%;80%;90%,
Skip the commas and it should be ok. One possible issue could be if you're using NRPE to run the checks for this, as NRPE will limit the output to 1024 chars, so Nagios (and also PNP) will receive damaged perfdata. > > As I understand it, it should be in a format like: > > title1=value1;warning1;critical1, title2=value2;warning2;critical2 > Try title1=value1;warning1;critical1;; title2=value2;warning2;critical2;; or title1=value1;warning1;critical title2=value2;warning2;critical2 > I've tried using semicolons and commas to separate the different pieces > of data being returned, neither worked. This plugins works normally > aside from not graphing - Nagios shows the status and the return code. > > Any ideas? > If it's NRPE that's giving you issues, try running the check over SSH. If you already are, updating the perfdata to a correct format should work. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null