nrpe script
Mathieu Gagné
mgagne at iweb.com
Fri Oct 31 23:01:39 CET 2008
Hi,
jeremiah wrote:
> When I typed python on the command line it drops my into the python
> interpreter.
>
> Regardless, I went ahead and specified it in the command:
>
> command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py
>
> now when i run the check_nrpe command from the server I get "could not
> run command".
>
> $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
>
> Could not run command
>
> Thoughts?
Can the user under which the NRPE daemon runs access and execute
/home/jesterj/report_loadscript_error_log.py ?
--
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