Page 1 of 1
can't telnet to 12489
Posted: Wed May 26, 2010 12:50 pm
by berniebrennan
I installed nagios on redhat 5.4. I am trying to telnet server 12489 (from the server) and getting
Connect to address .............. Connection refused
Unable to connect to remote host
Re: can't telnet to 12489
Posted: Wed May 26, 2010 3:23 pm
by tonyyarusso
Purely guessing based on the port number, I suspect you're trying to connect to NSClient++ running on a Windows machine that needs to be monitored - is that correct? If so, you'll need to also remember to add your Nagios server's IP address to the allowed addresses option in the NSClient++ configuration file and restart NSClient++ for that to take effect. Connections from machines not specified there will be rejected.
Re: can't telnet to 12489
Posted: Thu May 27, 2010 7:24 am
by berniebrennan
Yes, that is exactly what I am trying to do. And I have added the allowed_hosts in the nsc.ini file. However, if I type telnet 11.11.11.11 12489, I get
Connection to 11.11.11.11 Could not open connection to the host, on port 12489: connection failed
I get the same message when doing the telnet from the nagios server.
Re: can't telnet to 12489
Posted: Fri May 28, 2010 8:04 am
by mbeals
have you verified that the NSClient++ on the windows machine is running, the port is 'Listening' and it's not being blocked by the windows firewall?
Re: can't telnet to 12489
Posted: Fri May 28, 2010 9:55 am
by berniebrennan
I believe my systems are talking to each other now. But there is nothing in my index.html file?