Monitor ssh on non-default port with Nagios

Posted by obvio171 on Server Fault See other posts from Server Fault or by obvio171
Published on 2009-10-11T19:59:41Z Indexed on 2010/05/10 3:00 UTC
Read the original article Hit count: 404

Filed under:
|
|
|
|

I just deployed Nagios on a Gentoo server and everything is fine except ssh, which it marks as "CRITICAL" because it's refusing connections. But that's because it's running on a port different from the default 22. How do I change it so that it monitors the right port?

© Server Fault or respective owner

Related posts about nagios

Related posts about monitoring