diff options
Diffstat (limited to 'Prometheus/alerts/lysergic/blackbox.yml')
-rw-r--r-- | Prometheus/alerts/lysergic/blackbox.yml | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/Prometheus/alerts/lysergic/blackbox.yml b/Prometheus/alerts/lysergic/blackbox.yml new file mode 100644 index 0000000..49a553d --- /dev/null +++ b/Prometheus/alerts/lysergic/blackbox.yml @@ -0,0 +1,94 @@ +groups: +- name: lysergic-blackbox_exporters + rules: + - alert: LIBERTACASA-WEB-DOWN + expr: probe_success{instance=~"https://liberta.casa|https://www.lysergic.dev"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: XKEK-WEB-DOWN + expr: probe_success{instance=~"https://xkek.net|https://kekx.net"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: JITSI-WEB-DOWN + expr: probe_success{instance=~"https://meet.lysergic.dev"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: PASTA-WEB-DOWN + expr: probe_success{instance=~"https://pasta.lysergic.dev"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: GITEA-WEB-DOWN + expr: probe_success{instance=~"https://git.com.de"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: CGIT-WEB-DOWN + expr: probe_success{instance=~"https://git.casa"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: ELEMENT-WEB-DOWN + expr: probe_success{instance=~"https://element.liberta.casa"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: ETHERPAD-WEB-DOWN + expr: probe_success{instance=~"https://pad.hugz.io"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: SEARX-WEB-DOWN + expr: probe_success{instance=~"https://searx.xkek.net"} == 0 + for: 120s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. + - alert: YACY-WEB-DOWN + expr: probe_success{instance=~"https://yacy.xkek.net"} == 0 + for: 30s + labels: + severity: warning + project: LYSERGIC + annotations: + title: Node {{ $labels.instance }} is down + description: Failed to scrape {{ $labels.job }} on {{ $labels.instance}} for more than 30 seconds. Node seems down. +/etc/prometheus/alerts/lysergic/blackbox.yml lines 29-93/93 (END) |