Hi!
I found that page too, but I'm not able to get it working.
As far as I understood, the check_asterisk file containing the perl code has to be placed in the /usr/local/nagios/libexec/ directory.
Then, I left the monitor word as it is in the check_command line. The only difference is that I didn't specify the port.
Next I think a new line "command" should be created in /usr/local/nagios/etc/nrpe.cfg, in order to tell the nrpe client what that the check_asterisk command exists.
Actually, at the moment, my Nagios server says "(Return code of 127 is out of bounds - plugin may be missing)". The problem is that I don't know what is the right line to add now. Did you find anything meanwhile?
|