Page 1 of 1
SSH connection refused?
Posted: Tue Sep 25, 2012 3:56 pm
by djchico
Hi!
I'm not sure why I'm having this issue on my localhost (Centos 6.3) not VM.
All the other services are green but this one is red but do not know what is wrong.
I am very new to NagiosXI but been at it for 5 days stright now.
Could someone please assist me on this?
Alexander.
Re: SSH connection refused?
Posted: Tue Sep 25, 2012 4:18 pm
by scottwilkerson
Could you post a screenshot of what you are seeing so we know which direction to go.
Thanks.
Re: SSH connection refused?
Posted: Tue Sep 25, 2012 5:01 pm
by djchico
SSH issue.PNG
Sure, here you go.
Alexander.
Re: SSH connection refused?
Posted: Wed Sep 26, 2012 10:11 am
by CGraham
So, you're Nagios server is configured as "localhost" on ip 127.0.0.1. SSH might not be listening on that port.
You can find out by logging into your Nagios server as root and running:
netstat -an | grep "LISTEN" | grep ":22"
This will show you everything that's listening and has port 22 (the port for SSH).
Note: if you can't SSH to your nagios server, SSH might not be running, hence the alert.
Re: SSH connection refused?
Posted: Wed Sep 26, 2012 3:04 pm
by djchico
thank you, after pulling my hair out here... I steped back and thought about it and said: why can't I enable it?
and that's what I did, I went to the services page and enabled it and voila, now it fine.
thanks for your help, you gave me a clue to this and I'm also very new to Centos and Nagios.
Re: SSH connection refused?
Posted: Wed Sep 26, 2012 5:16 pm
by scottwilkerson
Thanks CGraham