【问题标题】:Prometheus dashboard is not updating state of websitePrometheus 仪表板未更新网站状态
【发布时间】:2021-04-06 07:00:06
【问题描述】:

我已经手动停止了这个网站,prometheus 给出的 probe_success 为 0(失败),这意味着网站没有运行但状态仍然正常,它没有得到更新。我该怎么办?

【问题讨论】:

    标签: prometheus prometheus-blackbox-exporter


    【解决方案1】:

    Prometheus > Status > Targets 页面中的“UP”表示正在抓取目标,换句话说,这意味着该目标的所有 Blackbox 指标都已成功抓取。正如您所注意到的,网站未运行的事实反映在 probe_success=0 指标中。

    【讨论】:

    • 那么如何在仪表板上显示该网站已关闭?
    • 查看“probe_success”指标(0 = Down,1 = Up)。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-06
    • 2013-05-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多