Nagios Plugins went Cafewy
Posted: Sat Feb 16, 2013 11:16 am
First off, sorry if this forum isn't for plug-in support
I have a Nagios install that has been working, but lately I discovered it wasn't sending notifications like it should when a server is down.
Upon checking it out, I saw the logs flooded with this
I haven't touched the configuration in months, but something messed up, when I tried to verify the Nagios cfg file it received an error about the resources.cfg file (it's also missing) so I commented that line out in the main cfg file. Now Nagio starts but I get this error in the logs. Maybe the missing resources.cfg file is the problem. The only thing is, I have no idea what to put in a new resources.cfg file to replace it.
[1361030597] Warning: Return code of 127 for check of service 'CPU Load' on host 'remoteserver' was out of bounds. Make sure the plugin you're trying to run actually exists.
I'm trying to monitor remote servers with this install, the crazy part is, I can run checks on remote servers manually no problem
[root@server nagios]# /usr/local/nagios/libexec/check_nrpe -H RemoteServerIP
NRPE v2.12
[root@server nagios]# /usr/local/nagios/libexec/check_nrpe -H RemoteServerIP -c check_load
OK - load average: 0.04, 0.03, 0.00|load1=0.040;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.000;5.000;20.000;0;
Any tips would be greatly appreciated.
I have a Nagios install that has been working, but lately I discovered it wasn't sending notifications like it should when a server is down.
Upon checking it out, I saw the logs flooded with this
I haven't touched the configuration in months, but something messed up, when I tried to verify the Nagios cfg file it received an error about the resources.cfg file (it's also missing) so I commented that line out in the main cfg file. Now Nagio starts but I get this error in the logs. Maybe the missing resources.cfg file is the problem. The only thing is, I have no idea what to put in a new resources.cfg file to replace it.
[1361030597] Warning: Return code of 127 for check of service 'CPU Load' on host 'remoteserver' was out of bounds. Make sure the plugin you're trying to run actually exists.
I'm trying to monitor remote servers with this install, the crazy part is, I can run checks on remote servers manually no problem
[root@server nagios]# /usr/local/nagios/libexec/check_nrpe -H RemoteServerIP
NRPE v2.12
[root@server nagios]# /usr/local/nagios/libexec/check_nrpe -H RemoteServerIP -c check_load
OK - load average: 0.04, 0.03, 0.00|load1=0.040;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.000;5.000;20.000;0;
Any tips would be greatly appreciated.