summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/rules_snmp__probe.yml
blob: 548144c20f5ab5135981553c5afb8c9d135b9d84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
---
prometheus_server_rules_snmp__probe_extra: []
prometheus_server_rules_snmp__probe:
  - alert: SNMPSlowScrape
    expr: snmp_scrape_duration_seconds > 5
    for: 0m
    labels:
      severity: warning
    annotations:
      summary: SNMP slow scrape  (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "Scraping SNMP target took more than 5 seconds \n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"