Brian O'Mahony wrote: > > It works locally though, and I have > > > > Cmnd_Alias MULTIPATH=/sbin/multipath -l > > nagios ALL= NOPASSWD: MULTIPATH > > > > > > > > *From:* Trisha Hoang [mailto:tri...@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.omah...@curamsoftware.com > <mailto:brian.omah...@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? > I assume you are executing it remotely via NRPE , did to remember to add the sudo in the nrpe.cfg command definitions ?
Assaf -- Never,Ever Cut A Deal With a Dragon ------------------------------------------------------------------------------ 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@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