Check_multipath
Brian O'Mahony
brian.omahony at curamsoftware.com
Thu Mar 25 18:48:28 CET 2010
It works locally though, and I have
Cmnd_Alias MULTIPATH=/sbin/multipath -l
nagios ALL= NOPASSWD: MULTIPATH
From: Trisha Hoang [mailto:trisha at rockyou.com]
Sent: Thursday, March 25, 2010 4:36 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Check_multipath
What about adding NOPASSWD.
ALL = NOPASSWD: ALL
On Thu, Mar 25, 2010 at 8:16 AM, Brian O'Mahony <brian.omahony at curamsoftware.com<mailto:brian.omahony at curamsoftware.com>> wrote:
I downloaded this from monitoring exchange but it wont work.
I have added nagios to the sudo allow files, and it works locally. However when I connect remotely it gives:
MULTIPATH: UNKNOWN - sudo not configured
I am running :
/usr/lib/nagios/plugins/check_nrpe -H ccdub -c check_multipath
When I su into the nagios user account on the client, and run /usr/lib/nagios/plugins/check_multipath it works.
Any ideas?
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
------------------------------------------------------------------------------
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<mailto: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
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100325/ca369dae/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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