Hi,

        I have been using a check_ldap_fd command on a nagios client without 
any problem. That command requires superuser permission.
        After upgrading sudo to 1.7.2p1-6.el5_5, the command stops working.
        
        Running the following command on my nagios server always shows the 
following:
        [TEST:r...@serv1 ~]# /usr/lib/nagios/plugins/check_nrpe -H 192.168.12.2 
-c check_ldap_fd
        NRPE: Unable to read output

        This is the command defined in /etc/nagios/nrpe.cfg on the nagios 
client:
        command[check_ldap_fd]=/usr/bin/sudo 
/usr/lib/nagios/plugins/check_ldap_fd -w 250 -c 500

        I also made the following changes to /etc/sudoers on the nagios client 
in order to make the command work:
        #Defaults    requiretty
        nagios ds2 = NOPASSWD:/usr/lib/nagios/plugins/check_ldap_fd

        Any ideas? Thanks.



------------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
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