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
NRPE: Unable to read output in Solaris 10
-
- Posts: 21
- Joined: Mon Feb 06, 2017 6:44 am
Re: NRPE: Unable to read output in Solaris 10
The problem is that the NRPE service is set to use this config file.
exec="/usr/local/bin/tcpd -c /apps/nagios/etc/nrpe.cfg -i"
Add the commands in that file pointing to correct location and that should work for you.
Either that, or remove the service and follow the following link to reinstall the NRPE Agent.
http://bigunix.blogspot.com/2009/06/ins ... ugins.html
exec="/usr/local/bin/tcpd -c /apps/nagios/etc/nrpe.cfg -i"
Add the commands in that file pointing to correct location and that should work for you.
Either that, or remove the service and follow the following link to reinstall the NRPE Agent.
http://bigunix.blogspot.com/2009/06/ins ... ugins.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 21
- Joined: Mon Feb 06, 2017 6:44 am
Re: NRPE: Unable to read output in Solaris 10
Hi,
I understood what you suggested.
Let me do the changes and update you if that works.
Regards,
Rahul
I understood what you suggested.
Let me do the changes and update you if that works.
Regards,
Rahul
Re: NRPE: Unable to read output in Solaris 10
Sounds good - let us know if you have further questions.
Former Nagios Employee
-
- Posts: 21
- Joined: Mon Feb 06, 2017 6:44 am
Re: NRPE: Unable to read output in Solaris 10
Hi All,
I changed the path of all commands and it worked.
Thanks for your support!
We can close this.
Regards,
Rahul
I changed the path of all commands and it worked.
Thanks for your support!
We can close this.
Regards,
Rahul