[Nagiosplug-help] sudo issue

Marc Powell marc at ena.com
Thu Jan 15 10:31:29 CET 2009


On Jan 15, 2009, at 12:21 AM, Rudi Kramer wrote:

> Here is the check command from my nrpe.cfg:
>
> #Check Nfs
> command[check_nfs]=sudo /usr/local/nagios/libexec/check_nfsmounts

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

--
Marc




More information about the Help mailing list