使用普罗米修斯进行机器监控的最佳实践?
Best practice for machine up monitor using prometheus?
人们使用什么方法来查看机器是否 up/down 而不是 node_exporter up/down(可能由于其他原因而停机)?
- ping?
- ssh 端口检查?
谢谢
您可以使用 blackbox_exporter 来探测端口 80/443 (http/https) 或端口 22 (ssh) 的连接,具体取决于主机上运行的是什么,然后在 probe_success == 0
.
人们使用什么方法来查看机器是否 up/down 而不是 node_exporter up/down(可能由于其他原因而停机)?
- ping?
- ssh 端口检查?
谢谢
您可以使用 blackbox_exporter 来探测端口 80/443 (http/https) 或端口 22 (ssh) 的连接,具体取决于主机上运行的是什么,然后在 probe_success == 0
.