Required open ports?

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
jimingg
Posts: 2
Joined: Fri Jan 20, 2012 4:10 am

Required open ports?

Post by jimingg »

Hi all, first post.
I've been given the responsibility of maintaining our Nagios monitoring after the guy who set it up left.
His notes are woeful.
It's Nagios Core 3.2.0
I've added a few local servers (all windows) with no issues.
Just added two smtp servers that are virtual windows boxes at a remote location and I get 'CRITICAL - Socket timeout after 10 seconds ' errors on both

I can ping them ok from the Nagios box.

Any ideas please as to what ports I have to ensure are open?

Many thanks
Jim
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Required open ports?

Post by jsmurphy »

Assuming you are running the check_smtp plugin from the nagios box to check SMTP the only port that needs to be open for that is 25... to test that it should be working do a telnet from the nagios box to port 25 on the SMTP server. If it accepts the connection then it should be working, so it may be a configuration issue.
jimingg
Posts: 2
Joined: Fri Jan 20, 2012 4:10 am

Re: Required open ports?

Post by jimingg »

Thank you, mentioning telnet gave me the clue.
I had to ensure that port 12489 was clear (I hadn't mentioned in my post that it was nsclient++ that was installed on the Windows clients).
When I was able to telnet to 12489 the rest of it clicked into place and worked.
Thanks
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Required open ports?

Post by jsmurphy »

Glad you found the issue!
Locked