summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/rules_nftables.yml
blob: 8ce0b1c9e14100f99295c259ead97c9fd2e60708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
---
prometheus_server_rules_nftables_extra: []
prometheus_server_rules_nftables:
  - alert: NftablesFailedToReadRuleset
    expr: nftables_up == 0
    for: 2m
    labels:
      severity: warning
    annotations:
      summary: Unable to read nftables ruleset (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "The nftables collector failed to read the ruleset from the kernel.\n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"