[Nagiosplug-help] sudo issue
Andy Shellam
andy-lists at networkmail.eu
Thu Jan 15 18:51:06 CET 2009
Hi
Marc Powell wrote:
> Try specifying the full path to the sudo binary. If that doesn't work,
> try changing to the below and inspect /tmp/output for clues...
>
> command[check_nfs]=/path/to/sudo /usr/local/nagios/libexec/
> check_nfsmounts >/tmp/output 2>&1
>
I'm with Marc on this one - we had the exact same issue (and error) -
specifying the full path to sudo in our nrpe.cfg worked. Also are you
specifying sudo in your command and in your nrpe.cfg (as the command
prefix?)
Regards,
Andy
More information about the Help
mailing list