Re: NRPE: Unable to read output in Solaris 10
Posted: Tue Feb 07, 2017 1:22 pm
Hi,
No, i still see the same errors.
The nrpe.cfg file is from /usr/local/nagios/etc/nrpe.cfg.
I ran the command that you gave. Here is the o/p.
root@ssbpmutu:/usr/local/nagios# inetadm -l svc:/network/nrpe/tcp:default
SCOPE NAME=VALUE
name="nrpe"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/local/bin/tcpd -c /apps/nagios/etc/nrpe.cfg -i"
arg0="/apps/nagios/bin/nrpe"
user="nagios"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=TRUE
default tcp_wrappers=TRUE
default connection_backlog=10
I am always editing commands and using the plugins from usr/local/nagios/etc/nrpe.cfg path.
I do not use this /apps/nagios/etc/nrpe.cfg location at all. This path does not have all the plugins.
Regards,
Rahul
No, i still see the same errors.
The nrpe.cfg file is from /usr/local/nagios/etc/nrpe.cfg.
I ran the command that you gave. Here is the o/p.
root@ssbpmutu:/usr/local/nagios# inetadm -l svc:/network/nrpe/tcp:default
SCOPE NAME=VALUE
name="nrpe"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/local/bin/tcpd -c /apps/nagios/etc/nrpe.cfg -i"
arg0="/apps/nagios/bin/nrpe"
user="nagios"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=TRUE
default tcp_wrappers=TRUE
default connection_backlog=10
I am always editing commands and using the plugins from usr/local/nagios/etc/nrpe.cfg path.
I do not use this /apps/nagios/etc/nrpe.cfg location at all. This path does not have all the plugins.
Regards,
Rahul