Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
刚刚安装 Nagios 3.2 并让它监视 4 或 5 个 Windows 主机以及它自己。本地主机(Ubuntu 10.04)已配置 SSHD,但我更改了它正在侦听的端口。Nagios 讨厌这个。
如何更改 Nagios 检查我的 SSH 服务器是否正常工作的端口?
我已经花了很长时间 RTFM 和 ♫♪ 我还没有找到我要找的东西 ♫♪。
你看过输出check_ssh -h吗?您可以使用该-p选项来指定端口。或者使用check_tcp相同的选项进行更通用的检查。
check_ssh -h
-p
check_tcp