nrpe script

Mathieu Gagné mgagne at iweb.com
Mon Nov 3 20:34:21 CET 2008


Hi,

jeremiah wrote:
> 
> *changed the path in the command.
> command[loadscript_check_error_log]=/usr/bin/sudo /usr/local/bin/python /etc/nagios/report_loadscript_error_log.py
> 

Can this command run without sudo?
/usr/local/bin/python /etc/nagios/report_loadscript_error_log.py

Try to not use sudo or add the appropriate sudo entry, otherwise it will 
prompt and ask for password.

https://help.ubuntu.com/community/Sudoers

--
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