summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/rules_whawty-nginx-sso.yml
blob: ecc787557523160e9cbf0a100771a348a486c168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
prometheus_server_rules_whawty_nginx_sso_extra: []
prometheus_server_rules_whawty_nginx_sso:
  - alert: WhawtyNginxSSOAuthStaticReloadFailed
    expr: whawty_nginx_sso_auth_static_reload_failed != 0
    for: 2m
    labels:
      severity: warning
    annotations:
      summary: whawty-nginx-sso reloading static auth backend failed (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "Reloading database for the static auth backend of whawty-nginx-sso has failed.\n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"

  - alert: WhawtyNginxSSOAuthWhawtyReloadFailed
    expr: whawty_nginx_sso_auth_whawty_reload_failed != 0
    for: 2m
    labels:
      severity: warning
    annotations:
      summary: whawty-nginx-sso reloading whawty auth backend failed (instance {{ '{{' }} $labels.instance {{ '}}' }})
      description: "Reloading database for the whawty auth backend of whawty-nginx-sso has failed.\n  VALUE = {{ '{{' }} $value {{ '}}' }}\n  LABELS = {{ '{{' }} $labels {{ '}}' }}"