SSH connection refused?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
djchico
Posts: 6
Joined: Mon Sep 24, 2012 2:04 pm

SSH connection refused?

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SSH connection refused?

Post by scottwilkerson »

Could you post a screenshot of what you are seeing so we know which direction to go.

Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
djchico
Posts: 6
Joined: Mon Sep 24, 2012 2:04 pm

Re: SSH connection refused?

Post by djchico »

SSH issue.PNG
Sure, here you go. :)

Alexander.
You do not have the required permissions to view the files attached to this post.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: SSH connection refused?

Post 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.
djchico
Posts: 6
Joined: Mon Sep 24, 2012 2:04 pm

Re: SSH connection refused?

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SSH connection refused?

Post by scottwilkerson »

Thanks CGraham
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked