This is a multi-part message in MIME format.
------_=_NextPart_001_01CA00D8.103226F8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Found the problem. It was rather misleading, but the chown and chmod
values for nrpe.cfg were all wonky, with numbers uid/gids instead of
names/groups. I had to reset them to nagios:nagios and chmod 775 to get
it working.=20
The indication was logged in /var/adm/messages:
=20
Jul 9 13:49:09 nrpe[15135]: [ID 301881 daemon.error] Unable to open
config file '/usr/local/nagios/etc/nrpe.cfg' for reading
Jul 9 13:49:09 nrpe[15135]: [ID 576867 daemon.error] Config file
'/usr/local/nagios/etc/nrpe.cfg' contained errors, aborting...
Thanks for the replies-much appreciated,=20
Justin
________________________________
From: Justin Amburn [mailto:[email protected]]=20
Sent: Thursday, July 09, 2009 11:03 AM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Solaris 10: Running nrpe in a non-global
zone
=20
Ok, I took out the tcpd wrapper and set tcp_wrappers to false, but same
issue! Here's my inetadm manifest in plaintext:
=20
bash-3.00# inetadm -l svc:/network/nrpe/tcp:default
SCOPE NAME=3DVALUE
name=3D"nrpe"
endpoint_type=3D"stream"
proto=3D"tcp"
isrpc=3DFALSE
wait=3DFALSE
exec=3D"/usr/local/nagios/bin/nrpe -c
/usr/local/nagios/etc/nrpe.cfg -i"
arg0=3D"/usr/local/nagios/bin/nrpe"
user=3D"nagios"
default bind_addr=3D""
default bind_fail_max=3D-1
default bind_fail_interval=3D-1
default max_con_rate=3D-1
default max_copies=3D-1
default con_rate_offline=3D-1
default failrate_cnt=3D40
default failrate_interval=3D60
default inherit_env=3DTRUE
default tcp_trace=3DFALSE
tcp_wrappers=3DFALSE
default connection_backlog=3D10
=20
=20
And here in xml format:
=20
=20
=20
=20
=20
=20
=20
=20
=20
<propval nam
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: rant Byers [mailto:[email protected]]=2