Custom perl plugin doesn't work
Zach La Celle
lacelle at roboticresearch.com
Tue Dec 13 17:46:34 CET 2011
The error, when I attempt to run it from the monitoring machine, is:
NRPE: Command 'blah' not defined
The command IS defined in /etc/nagios/nrpe.cfg on the target machine.
The command is ALSO defined in /etc/nagios-plugins/config/blah.cfg on
the target machine.
I restarted nagios-nrpe-server after adding the command.
I'm calling it from my monitoring server with
/usr/lib/nagios/plugins/check_nrpe -H <hostaddress> -c blah
When I run the perl script myself, it works fine.
Any ideas? All of my other checks for this host work.
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
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