Performance data not being returned

Jonathan Gazeley jonathan.gazeley at bristol.ac.uk
Thu May 10 12:51:50 CEST 2012


On 10/05/12 11:31, C. Bensend wrote:
>
>> 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.
>
>

I removed the commas, and I'm now using only spaces. It still isn't 
showing up in Nagios, though.

I'm slightly perplexed, since the perfdata used to show up in Nagios in 
the form that I already posted it to the list. I don't know what changed.

Does anyone know any good ways of debugging this?

Thanks,
Jonathan

------------------------------------------------------------------------------
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