solaris-nrpe-agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

solaris-nrpe-agent

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: solaris-nrpe-agent

Post by scottwilkerson »

I have contacted the Solaris developer and will update when I hear anything.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Nitpat
Posts: 10
Joined: Fri Aug 17, 2012 8:49 am

Re: solaris-nrpe-agent

Post by Nitpat »

Hi All,
Any resolution for above error. We are also facing the same issue for Solaris agent.

Cheers,
Nitin
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: solaris-nrpe-agent

Post by mguthrie »

Does the service status change with restarting it?

Code: Select all

svcadm enable /application/nagios/nrpe
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: solaris-nrpe-agent

Post by ahmad.zuhd »

As i said before no.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: solaris-nrpe-agent

Post by mguthrie »

Hmm, any clues in the syslog when you try to restart it?
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: solaris-nrpe-agent

Post 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 ]
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: solaris-nrpe-agent

Post by mguthrie »

Do you have the file:

/lib/libc.so.1

on your system?
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: solaris-nrpe-agent

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: solaris-nrpe-agent

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked