can't telnet to 12489

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
berniebrennan
Posts: 6
Joined: Wed May 19, 2010 12:37 pm

can't telnet to 12489

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: can't telnet to 12489

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
berniebrennan
Posts: 6
Joined: Wed May 19, 2010 12:37 pm

Re: can't telnet to 12489

Post 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.
mbeals
Posts: 3
Joined: Thu May 27, 2010 4:00 pm

Re: can't telnet to 12489

Post 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?
berniebrennan
Posts: 6
Joined: Wed May 19, 2010 12:37 pm

Re: can't telnet to 12489

Post by berniebrennan »

I believe my systems are talking to each other now. But there is nothing in my index.html file?
Locked