Solaris 10 Agent not Working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Solaris 10 Agent not Working

Post by lb2cons »

Hi everyone. I'm having a bad time installing Solaris agent. After the successful installation I'm still unable to use NRPE.

I was wondering if forgot something. By the way, the agent install guide pdf leads to 404 page: http://assets.nagios.com/redirects/redi ... _Agent.pdf

-bash-3.00# /opt/nagios/libexec/check_nrpe -H localhost
Connection refused by host

Install logs attachment:
logs-all-steps-20141211-164808.tar.gz
Thanks in advance.
You do not have the required permissions to view the files attached to this post.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Solaris 10 Agent not Working

Post by cmerchant »

I'll start with giving you an updated link to the doc:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

it might help explain where you need to add the CIDR addresses for the Monitoring server(s) IP addresses.
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Solaris 10 Agent not Working

Post by lb2cons »

The instructions it's pretty silly. Doesn't helped me. But dmesg helped me found that the problem it's related to libc.

[ Dec 11 16:48:07 Method "start" exited with status 137 ]
[ Dec 11 16:48:07 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
[ Dec 11 16:48:07 Method "start" exited with status 137 ]
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Solaris 10 Agent not Working

Post by Box293 »

Did you resolve the libc problem or do you still need help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Solaris 10 Agent not Working

Post by lb2cons »

Nope, I'm still stuck with this. My last try was to compile nrpe from source. But now i'm getting the following error:

Dec 11 19:51:13 svncdes2 inetd[7780]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory)
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Solaris 10 Agent not Working

Post by Box293 »

Run this:

Code: Select all

inetadm -l svc:/network/nrpe/tcp:default
What is the user account?

Does this user account have a home directory?

I gathered these steps from here (not specifically NRPE related but similar problem):
http://linuxscroll.wordpress.com/2011/0 ... directory/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Solaris 10 Agent not Working

Post by lb2cons »

It was the home directory Box293! Thanks a lot! :lol:
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Solaris 10 Agent not Working

Post by cmerchant »

Great. I will go ahead and close this thread.
Locked