Page 1 of 1

Required open ports?

Posted: Fri Jan 20, 2012 6:59 am
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

Re: Required open ports?

Posted: Sun Jan 22, 2012 5:47 pm
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.

Re: Required open ports?

Posted: Mon Jan 23, 2012 4:12 am
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

Re: Required open ports?

Posted: Mon Jan 23, 2012 5:13 pm
by jsmurphy
Glad you found the issue!