Page 1 of 2

solaris-nrpe-agent

Posted: Sun Aug 26, 2012 9:30 am
by ahmad.zuhd
I have installed the solaris agent as in the NagiosXI wizard,

http://assets.nagios.com/downloads/nagi ... ent.tar.gz

when installation finished, i have checked the service status for the nrpe and it is in maintenance mode, i made a restart but it remained in maintenance mode.

it is SPARC Sun Machine.

svcs | grep nrpe
maintenance 17:29:22 svc:/application/nagios/nrpe:default

Please advice

Re: solaris-nrpe-agent

Posted: Mon Aug 27, 2012 11:40 am
by scottwilkerson
I have contacted the Solaris developer and will update when I hear anything.

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 6:51 am
by Nitpat
Hi All,
Any resolution for above error. We are also facing the same issue for Solaris agent.

Cheers,
Nitin

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 11:12 am
by mguthrie
Does the service status change with restarting it?

Code: Select all

svcadm enable /application/nagios/nrpe

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 11:14 am
by ahmad.zuhd
As i said before no.

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 11:28 am
by mguthrie
Hmm, any clues in the syslog when you try to restart it?

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 2:12 pm
by ahmad.zuhd
i made a test again today and i have found the following:

Code: Select all

#svcs | grep nrpe
maintenance    22:01:54 svc:/application/nagios/nrpe:default
This is the output of services with problems:

Code: Select all

svc:/application/nagios/nrpe:default (NRPE daemon)
 State: maintenance since August 28, 2012 10:01:54 PM EEST
Reason: Start method failed repeatedly, last exited with status 137.
   See: http://sun.com/msg/SMF-8000-KS
   See: /var/svc/log/application-nagios-nrpe:default.log
Impact: This service is not running.

This is the output of file
/var/svc/log/application-nagios-nrpe:default.log

Code: Select all

[ Aug 28 22:01:53 Disabled. ]
[ Aug 28 22:01:53 Rereading configuration. ]
[ Aug 28 22:01:54 Enabled. ]
[ Aug 28 22:01:54 Executing start method ("/lib/svc/method/nrpe start") ]
ld.so.1: nrpe: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/bin/nrpe)
ld.so.1: nrpe: fatal: libc.so.1: open failed: No such file or directory
Killed
[ Aug 28 22:01:54 Method "start" exited with status 137 ]
[ Aug 28 22:01:54 Executing start method ("/lib/svc/method/nrpe start") ]
ld.so.1: nrpe: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/bin/nrpe)
ld.so.1: nrpe: fatal: libc.so.1: open failed: No such file or directory
Killed
[ Aug 28 22:01:54 Method "start" exited with status 137 ]
[ Aug 28 22:01:54 Executing start method ("/lib/svc/method/nrpe start") ]
ld.so.1: nrpe: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/bin/nrpe)
ld.so.1: nrpe: fatal: libc.so.1: open failed: No such file or directory
Killed
[ Aug 28 22:01:54 Method "start" exited with status 137 ]

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 3:05 pm
by mguthrie
Do you have the file:

/lib/libc.so.1

on your system?

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 3:29 pm
by ahmad.zuhd
yes i have the file and it was part of the pkg SUNWcslr.

can you let me know what are the compatible Solaris release with this pkg.

Re: solaris-nrpe-agent

Posted: Tue Aug 28, 2012 4:15 pm
by scottwilkerson
I'm going to have to talk with our Solaris developer, but I don't believe that the agent will work straight away on a SPARC machine, only x86