diff --git a/resources/chaosknoten/grafana/docker_compose/prometheus_alerts-fux.rules.yaml b/resources/chaosknoten/grafana/docker_compose/prometheus_alerts-fux.rules.yaml index 98f4f51..d6210c7 100644 --- a/resources/chaosknoten/grafana/docker_compose/prometheus_alerts-fux.rules.yaml +++ b/resources/chaosknoten/grafana/docker_compose/prometheus_alerts-fux.rules.yaml @@ -2,13 +2,13 @@ groups: - name: Fux-Generic rules: - alert: HostJobFlaky - expr: group by(host, job) (changes(up{org="fux", job!="integrations/unix"}[24h]) > 5) + expr: group by(host, job) (changes(up{org="fux"}[24h]) > 7) for: 0m labels: severity: info annotations: summary: Job {{ $labels.job }} flaky on (host {{ $labels.instance }}) - description: "The job {{ $labels.job }} on target: {{ $labels.host }} has been flaky over the last 24 hours.\n VALUE = {{ $value }}" + description: "The job {{ $labels.job }} on target: {{ $labels.host }} has been flaky over the last 24 hours." - name: Fux-SNMP rules: - alert: SnmpTargetMissing @@ -18,7 +18,7 @@ groups: severity: critical annotations: summary: SNMP target missing (instance {{ $labels.instance }}) - description: "A SNMP target has disappeared for more the 15 min.\n VALUE = {{ $value }}" + description: "SNMP target: {{ $labels.instance }} has disappeared for more the 15 min." - name: Fux-DHCP rules: - alert: DhcpFuxSharedFailed @@ -28,7 +28,7 @@ groups: severity: critical annotations: summary: DHCP for Fux Shared stoped working - description: "No DHCP lease for the Fux Shared range was received" + description: "No DHCP lease for the Fux Shared range was received \n V" - alert: DhcpFuxAdminFailed expr: script_success{script_success="check_dhcp_fux_admin"} == 0 for: 0m