Hi
I installed nrpe agent on Sol 10 machine as per the pdf :
https://assets.nagios.com/downloads/nag ... _Agent.pdf
However nrpe is not running on the server. Below are the logs:
# more /var/svc/log/application-nagios-nrpe:default.log
[ Aug 26 10:21:39 Disabled. ]
[ Aug 26 10:21:39 Rereading configuration. ]
[ Aug 26 10:22:11 Enabled. ]
[ Aug 26 10:22:11 Executing start method ("/lib/svc/method/nrpe start") ]
/sbin/sh: /lib/svc/method/nrpe: not found
[ Aug 26 10:22:11 Method "start" exited with status 1 ]
[ Aug 26 10:22:11 Executing start method ("/lib/svc/method/nrpe start") ]
/sbin/sh: /lib/svc/method/nrpe: not found
[ Aug 26 10:22:11 Method "start" exited with status 1 ]
[ Aug 26 10:22:11 Executing start method ("/lib/svc/method/nrpe start") ]
/sbin/sh: /lib/svc/method/nrpe: not found
[ Aug 26 10:22:11 Method "start" exited with status 1 ]
svc:/application/nagios/nrpe:default: Method "/lib/svc/method/nrpe start" failed with exit status 1.
Could you please let me know where I can look for the issue
nrpe not starting on Sol 10 machine
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: nrpe not starting on Sol 10 machine
I can't verify because I've never used that particular document for installation, however my suspicion is that document assumes the use of inetd. You're probably not using that on your system.
If you want to use SMF to start Nagios you'll have to setup a manifest. There is a really good write-up on the process here:
http://taske.org/add-nagios-nrpe-solari ... ility-smf/
Alternatively you can enable inetd and add a line something like this to the configuration file /etc/inet/inetd.conf:
If you want to use SMF to start Nagios you'll have to setup a manifest. There is a really good write-up on the process here:
http://taske.org/add-nagios-nrpe-solari ... ility-smf/
Alternatively you can enable inetd and add a line something like this to the configuration file /etc/inet/inetd.conf:
Code: Select all
nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -iRe: nrpe not starting on Sol 10 machine
Locking because it has been moved into a ticket.