Re: [Nagios-users] Performance data not being returned

2012-05-16 Thread Alex Griffin
You keep putting commas in your example output, but as someone else already pointed out, perfdata is *space*-separated. The commas shouldn't be there. It seems this probably isn't the issue though. Why don't you post your plugin's source code so I can get a better idea of what's going on.

Re: [Nagios-users] Performance data not being returned

2012-05-15 Thread Jonathan Gazeley
The newlines were introduced by my mail client. There are no unusual characters in the output of the plugin. As far as I can tell, the perfdata complies completely with the specs. status | key1=value1%;warn;crit, key2=value2%;warn;crit The perfdata string is generated in a loop by appending an

Re: [Nagios-users] Performance data not being returned

2012-05-14 Thread Alex Griffin
Are the newlines in your output an artifact of sending this over email or are there really newlines in your plugin output? If they're really there, you should eliminate them. Alex Griffin --- Tech Team agrif...@nagios.com Jonathan Gazeley wrote: On 10/05/12 16:39, C. Bensend wrote: I've

[Nagios-users] Performance data not being returned

2012-05-10 Thread Jonathan Gazeley
Some time ago I set up a bunch of Nagios checks including graphing of performance data for various services. It all worked fine. I've just had cause to look at the graphs and I noticed that performance data stopped being logged a few weeks ago. Nagios no longer seems to read in the performance

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread C. Bensend
The plugin is being executed through NRPE. Executing the plugin by hand seems to return valid perfdata: [jg4461@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,

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Jonathan Gazeley
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@dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90,

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Mike Guthrie
On 5/10/2012 5:51 AM, Jonathan Gazeley wrote: 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@dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools OK - all pools less than 80% full |

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Jonathan Gazeley
On 10/05/12 15:06, Mike Guthrie wrote: On 5/10/2012 5:51 AM, Jonathan Gazeley wrote: 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@dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools OK

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread C. Bensend
I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461@dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_dhcpd_pools OK - all pools less than 80% full |

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Jonathan Gazeley
On 10/05/12 16:39, C. Bensend wrote: I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461@dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_dhcpd_pools

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Andreas Ericsson
On 05/10/2012 06:04 PM, Jonathan Gazeley wrote: On 10/05/12 16:39, C. Bensend wrote: I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461@dhcp1 log]$