开发者

Change the default port that Nagios monitors a well-known service on

Just installed Nagios 3.2 and have it monitoring 4 or 5 windows hosts as well as itself. The localho开发者_开发技巧st (Ubuntu 10.04) has SSHD configured, but I've changed the port it's listening on. Nagios hates this.

How do I change the port that Nagios checks to see that my SSH server is functional?

I've spent quite some time RTFM and ♫♪ I still haven't found what I'm looking for ♫♪.


Have you looked at the output of check_ssh -h ? You can use the -p option to specify the port. Or use check_tcp with the same option for a more generic check.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜