Hi Team,
There is one server which is beyond firewall and we have open 3 ports - 5666, 12489, 5667 and SSL port as well between server & Nagois server so we can try to add da certificate for server to monitoring and also we have install nagios client on server . But still we are getting error CRITICAL - Socket timeout after 10 seconds.
Kindly provide us solution so that we can server and certificate in monitoring .
Thanks and Regards,
Infosys
Not able to add server in nagios and getting error
Re: Not able to add server in nagios and getting error
- Which OS and agent is having this issue? It sounds like NRPE on a Linux machine.
- Are you running it standalone or through xinetd? Either way, did you include the Nagios IP in the list of allowed hosts?
- Do you have the firewall on the remote machine itself set to allow Nagios?
Former Nagios employee
Re: Not able to add server in nagios and getting error
Hi Team,
We are using Windows 2008 R2 Server and we added nagios server also .Still can you guide us which port need to be open for nagios communication
We are using Windows 2008 R2 Server and we added nagios server also .Still can you guide us which port need to be open for nagios communication
Re: Not able to add server in nagios and getting error
Can you post your check command you are trying to setup on the Nagios server to monitor your Windows 2008 server?
What agent did you install on your Windows Server?
What agent did you install on your Windows Server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Not able to add server in nagios and getting error
Hi Team,
We are using NSClient++-0.3.9-x64 client in server 2008 R2 and using the IP address we have configured server in nagios but still we are getting error
We are using NSClient++-0.3.9-x64 client in server 2008 R2 and using the IP address we have configured server in nagios but still we are getting error
Re: Not able to add server in nagios and getting error
Google says the default NSClient++ port is 12489. I'd try telnet from the nagios server and locally on the
host to make sure it's listening and you can reach it from your nagios server.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
host to make sure it's listening and you can reach it from your nagios server.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Re: Not able to add server in nagios and getting error
Make sure that NSClient++ service is started (running) on the Windows box, then run the following commands on the Nagios XI server and show us the output (hide sensitive info):
Code: Select all
nmap <client ip>
/usr/local/nagios/libexec/check_nt -H <client ip> -s <password> -p 12489 -v CLIENTVERSION
/usr/local/nagios/libexec/check_nrpe -H <client ip>Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Not able to add server in nagios and getting error
Another one to check the ports specifically would be:
Code: Select all
nmap -p 5666,12489 [remote windows IP]Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Not able to add server in nagios and getting error
Hi,
As suggested, we tried telnet on server (to be added in Nagios) and got the following error:
...Could not open connection to the host, on port 23:
Connect failed
Please advise.
As suggested, we tried telnet on server (to be added in Nagios) and got the following error:
...Could not open connection to the host, on port 23:
Connect failed
Please advise.
Re: Not able to add server in nagios and getting error
I think the advice was to telnet to the appropriate port - using the default will use port 23 which is almost certainly not listening. Can you also follow lmiltchev and sreinhardt's advice on using nmap?
Former Nagios employee