Page 1 of 2
Issues with Nagios Client on Solaris server
Posted: Tue Jan 29, 2013 5:17 pm
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
Re: Issues with Nagios Client on Solaris server
Posted: Tue Jan 29, 2013 5:19 pm
by abrist
Is port 5666 open on the remote host?
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 4:07 pm
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,
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 4:12 pm
by abrist
Try nmapping the remote host from the XI server:
If it is closed you will have to open it.
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 4:58 pm
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 ?
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 5:17 pm
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.
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 5:29 pm
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
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 5:37 pm
by scottwilkerson
Is the service running on the Solaris machine?
Re: Issues with Nagios Client on Solaris server
Posted: Wed Jan 30, 2013 5:44 pm
by tavo2k4
Yes, this is the result
"maintenance Jan_29 svc:/application/nagios/nrpe:default"
Re: Issues with Nagios Client on Solaris server
Posted: Thu Jan 31, 2013 8:50 am
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,