NRPE: Unable to read output (after upgrading sudo to 1.7.2p1-6.el5_5)

Yungwei Chen yungwei at resolvity.com
Wed May 19 17:48:23 CEST 2010


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:root at 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
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