puzzling no output from nrpe run of check_load
Peter N. Steinmetz
ndoc3 at steinmetz.org
Thu Apr 26 03:47:20 CEST 2012
> On Wed, Apr 25, 2012 at 04:18:26PM -0700, Peter N. Steinmetz wrote:
>
>> 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.
>
> On my NRPE-monitored servers I have a nagios account with a password
> in /etc/shadow of "*", and /bin/false as shell... and it still works.
> (Linux. sudoers only allows root to the plugins that need them, such as
> check_ide_smart.) So this is not the whole story.
>
> Roger
This must be true, as even when the commands run fine on the command line (with a password for the nagios accounts on the nagios monitoring and nrpe servers and /bin/bash for the shell), the nagios server is still not receiving any output from the check_nrpe!check_load command to display in its web console.
Curiouser and curiouser.
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