> 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:
>
> Defaultsrequiretty
I agree -- this one had me stumped for days when I was producing a different
plugin (fo
Brian O'Mahony 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 t
ursday, 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
> <mailto:brian.omah...@curamsoftwa
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
What about adding NOPASSWD.
ALL = NOPASSWD: ALL
On Thu, Mar 25, 2010 at 8:16 AM, Brian O'Mahony <
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
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