Brian O'Mahony <brian.omah...@curamsoftware.com> writes:

> It works locally though, and I have
>
>  
>
> Cmnd_Alias MULTIPATH=/sbin/multipath -l
>
> nagios  ALL= NOPASSWD: MULTIPATH

My money is on "Requiretty". Locally you have a TTY, while NRPE does
not. The "Requiretty" setting in /etc/sudoers must be turned
off. Comment out this line in /etc/sudoers:

  Defaults    requiretty

Cheers,
-- 
Trond H. Amundsen <t.h.amund...@usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to