summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/rules_mosquitto.yml
blob: 538a5e442a85037205ab41aee1752e69c50a852d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
---
prometheus_server_rules_mosquitto_extra: []
prometheus_server_rules_mosquitto:
  - alert: MosquittoBrokerUnreachable
    expr: broker_uptime == 0
    for: 0m
    labels:
      severity: critical
    annotations:
      summary: Unable to scrape mosquitto (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "The uptime of the mosquitto process is reported as 0 - this is likely because the exporter has lost it's connection to the broker.\n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"