Performance data not being returned

C. Bensend benny at bennyvision.com
Thu May 10 12:31:02 CEST 2012


> The plugin is being executed through NRPE. Executing the plugin by hand
> seems to return valid perfdata:
>
> [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools
> OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90,
> 'resnet-wireless-653'=47.923%;80;90,
> 'resnet-wireless-654'=46.201%;80;90,
> 'resnet-wireless-655'=44.681%;80;90,
> 'resnet-wireless-656'=47.720%;80;90,
> 'resnet-wireless-657'=47.112%;80;90,
> 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90,
> 'resnet-wireless-ratelimited-660'=1.114%;80;90,
> 'resnet-wireless-onlinepayment-661'=0.405%;80;90,
> 'resnet-wireless-onlinepayment-662'=0.405%;80;90,
> 'resnet-wireless-onlinepayment-663'=0.304%;80;90,
> 'resnet-wireless-consoles-665'=1.114%;80;90,
> 'resnet-wireless-message-666'=0.000%;80;90,
> 'resnet-wireless-instructions-667'=8.056%;80;90

http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201

I think you might try spaces, not commas.  I have developed a
number of plugins, and I've never used anything but spaces to
delimit the performance data.  If Nagios doesn't believe that's
valid data, it's going to ignore it.


-- 
"The problem with quotes on the internet is that it's very hard to
verify their authenticity."       -- Abraham Lincoln



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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