Check_multipath

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Thu Mar 25 19:17:21 CET 2010


Brian O'Mahony <brian.omahony at 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.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Download Intel® 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 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