Issues with Nagios Client on Solaris server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Issues with Nagios Client on Solaris server

Post by tavo2k4 »

I just installed Nagios client on a Solaris Server, I ran installation per documentation. http://assets.nagios.com/downloads/nagi ... _Agent.pdf

After I set up Host in Nagios XI Web interface, it is giving me the following "Critical" Message: "Connection refused by host" on all the monitored services for that Host

Am I missing something?

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues with Nagios Client on Solaris server

Post by abrist »

Is port 5666 open on the remote host?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

This Monitored/Remote Server is internal to our Local Network. I do not manage this Unix Server, but the Unix Admin told me that I should not have to configure any port to make this works.

I have the Root password to the server, if I have to add a port I can do it. Do you guys know how to do this.

Thanks,
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues with Nagios Client on Solaris server

Post by abrist »

Try nmapping the remote host from the XI server:

Code: Select all

nmap [remote_host_ip] -p 5666
If it is closed you will have to open it.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

Sorry for my ignorance, I do not manage that Unix server, I am on the Windows group. Do you open a port by adding an entry in /etc/services ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Issues with Nagios Client on Solaris server

Post by slansing »

Do you know what firewall you are currently using on this system? The port will have to be added as a custom firewall rule UDP/TCP on both the Nagios and Solaris ends. Let us know what firewall you are using and then we can help you add the rule.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

Unfortunately I do not, where do I find that information? The system is a Solaris 10. I did run "nmap [ipaddress] -p 5666" on Nagios server and reported the following message;

Host is up (0.00085s latency).
PORT STATE SERVICE
5666/tcp closed nrpe
MAC Address: 00:03:BA:10:8A:12 (Oracle)

thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issues with Nagios Client on Solaris server

Post by scottwilkerson »

Is the service running on the Solaris machine?

Code: Select all

svcs | grep nrpe
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

Yes, this is the result

"maintenance Jan_29 svc:/application/nagios/nrpe:default"
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

I do not think Unix Admin knows how to open a port, he keeps saying that it should work. Do you guys have a guide where I can find how to do this? I am almost done with my evaluation but I need to test the monitoring of a couple of processes in this Unix machine.

Thanks,
Locked