Files
grafana-terraform/environments/dev/adibrov/alerts/nginx/nginx_down.yaml
Alexandr 5af763ebb1
Some checks failed
terraform-dev / validate (push) Successful in 6s
terraform-dev / plan (push) Failing after 11s
terraform-dev / apply (push) Has been skipped
feat: add postgres/gitea/blackbox alerts and more node alerts
2026-04-03 11:34:08 +03:00

20 lines
528 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: "DEV ADIBROV - Nginx Down"
expression: |
nginx_up{job="nginx"}
threshold: 1
for: "2m"
condition_type: "lt"
need_reduce: true
reducer_type: "min"
no_data_state: "Alerting"
exec_err_state: "Alerting"
labels:
service: "nginx"
severity: "critical"
team: "infra"
summary: |
Nginx недоступен на {{ $labels.instance }}
description: |
Nginx exporter не может подключиться к nginx на {{ $labels.instance }}.
Nginx либо упал, либо недоступен его status page.