nrpe error - nrpe 1.9 - RHEL 5.2

Tom Brown tom at ng23.net
Thu Jun 12 13:35:42 CEST 2008


Hi

This is an nrpe question so sorry if this is not the right place - I am 
trying to monitor a hp disk array and chassis and i have done this 
before using check_hparray and check_hpasm without issue,

Now however i come accross a situation where nrpe is not starting as the 
user 'nagios'

# /etc/init.d/nrpe restart
Shutting down nrpe:                                        [  OK  ]
Starting nrpe:                                             [  OK  ]

nrpe[16836]: Warning: Could not get group entry for 'nagios'
nrpe[16836]: Warning: Could not get passwd entry for 'nagios'

# ps auxwww | grep nrpe
4294967295 16836 0.0  0.0   740   388 ?        Ss   11:32   0:00 
/opt/nagios/bin/nrpe -c /opt/nagios/etc/nrpe.cfg -d

so you can see its not running as the nagios user (Nagios is a NIS map)

BUT

# getent passwd nagios
nagios:NP:666:666:Nagios Monitoring:/home/nagios:/bin/bash

So the box can get the users creds - also

# su - nagios
[nagios at xxxxxx0204 ~]$

# cat /opt/nagios/etc/nrpe.cfg | grep nagios
nrpe_user=nagios
nrpe_group=nagios

Any thoughts as to what the issue could be?

thanks



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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