nrpe script

Mathieu Gagné mgagne at iweb.com
Fri Oct 31 22:42:54 CET 2008


Hi Jeremiah,

jeremiah wrote:
 > On my monitored hosts, I've specified the corellary command
 > in /etc/nagios/nrpe.cfg, then restarted the service.
 >
 > # command[loadscript_check_error_log]=python /home/username/script.py
 >
 > Am I missing something?

Is there really a "#" at the beginning of the line?

You should remove it as this character indicates the beginning of a 
comment, therefore everything after will be ignored.

Also, make sure the daemon is loading the right configuration file and 
not another located in /etc or /usr/local/nagios/etc, ...

--
Mathieu

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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