puzzling no output from nrpe run of check_load
Peter N. Steinmetz
ndoc3 at steinmetz.org
Thu Apr 26 01:18:26 CEST 2012
Some more information and experimentation today.
After reading the NRPE manual, I noticed that they refer to being able to log in as the nagios user and having a password.
The configuration which is established by the package installations under ubuntu are to have the nagios user allowing password-less login (a ! character for the password field in /etc/shadow), but the shell set to /bin/false, so no logins can take place.
After setting a password for user nagios on both the server and the remote nrpe server, and setting a shell such as /bin/bash, the system seems to work.
So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set appropriately in /etc/sudoers, but somehow that is not working.
thanks,
Peter
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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