summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/rules_snmp.yml
blob: 7aec66c45d2bba73e8d08c9703eccde123210634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
---
prometheus_server_rules_snmp_extra: []
prometheus_server_rules_snmp:
  - alert: SNMPRequestErrors
    expr: increase(snmp_request_errors_total[1m]) > 0
    for: 5m
    labels:
      severity: warning
    annotations:
      summary: SNMP Exporter reports request errors (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "SNMP expoter on {{ '{{' }} $labels.instance {{ '}}' }} reports request errors \n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"