check_hpasm error <Virus checked>

Gerhard Lausser Gerhard.Lausser at consol.de
Fri Jan 4 12:37:34 CET 2008


 Hi Michel,

> Should I uncomment the commad_prefix option in the nrpe.cfg 
> config file ?
you would do that, if you want to run _all_ of your commands with sudo,
which is a crazy thing to do under normal circumstances. Another usage may
be something like 
command_prefix=PATH="$PATH:/some/special/path/to/nagios"

> For the time being it is not used and my other NRPE checks 
> (Disk, CPU, Swap) work...
Then you have absolutely no reason to change that. Adding sudo only to the
commands which really need it like
command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm
and nowhere else is a good solution and doesn't bloat your sudoers file.

Gerhard 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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