Re: [Nagios-users] Custom perl plugin doesn't work

2011-12-16 Thread Zach La Celle
The first step should be to explain why, on the monitoring machine, it does not detect "blah" as a command, even when it's only an argument to check_nrpe_1arg. I should be able to call this command on a remote machine through check_nrpe without defining it on the host machine, correct? The host s

Re: [Nagios-users] Custom perl plugin doesn't work

2011-12-13 Thread Zach La Celle
I'm not sure exactly what you mean. On the monitor machine, there's only the blah.cfg file in '/etc/nagios-plugins/config/blah.cfg'. I didn't even think that this was necessary, since it's really just running check_nrpe_1arg (which is defined in /etc/nagios-plugins/config/check_nrpe.cfg) and

Re: [Nagios-users] Custom perl plugin doesn't work

2011-12-13 Thread mail
On Tue, Dec 13, 2011 at 4:46 PM, Zach La Celle wrote: > 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

[Nagios-users] Custom perl plugin doesn't work

2011-12-13 Thread Zach La Celle
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