Perfdata not showing up
Jörg Linge
pitchfork at ederdrom.de
Wed Sep 14 17:50:55 CEST 2011
Am 14.09.2011 um 17:13 schrieb Jonathan Gazeley:
> 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 at 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%,
> resnet-wireless-655=1.180%;80%;90%, resnet-wireless-656=0.983%;80%;90%,
> resnet-wireless-657=0.000%;80%;90%, resnet-wireless-658=0.000%;80%;90%,
> resnet-wireless-659=0.000%;80%;90%,
> resnet-wireless-ratelimited-660=0.000%;80%;90%,
> resnet-wireless-onlinepayment-661=0.098%;80%;90%,
> resnet-wireless-onlinepayment-662=0.000%;80%;90%,
> resnet-wireless-onlinepayment-663=0.000%;80%;90%,
> resnet-wireless-consoles-665=0.000%;80%;90%,
> resnet-wireless-message-666=0.000%;80%;90%,
> resnet-wireless-instructions-667=0.367%;80%;90%
>
> As I understand it, it should be in a format like:
>
> title1=value1;warning1;critical1, 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?
>
> Cheers,
> Jonathan
Hi Jonathan,
the perfdata your plugin provides is invalid.
see -> http://docs.pnp4nagios.org/pnp-0.6/about#system_requirements
and -> http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201
Hint:
8. value, min and max in class [-0-9.]. Must all be the same UOM
Joerg
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list