Commit 7eb2a373 authored by Matthias Loibl's avatar Matthias Loibl Committed by Jelle van der Waa
Browse files

Evaluate pacman outdated packages every 2min and fire after 15m

parent 791ca82b
...@@ -202,16 +202,16 @@ groups: ...@@ -202,16 +202,16 @@ groups:
description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n VALUE = {{ $value }}\n LABELS: {{ $labels }}" description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- name: pacman - name: pacman
interval: 1m interval: 2m
rules: rules:
- alert: pacman_updates_pending - alert: pacman_updates_pending
expr: pacman_updates_pending > 50 expr: pacman_updates_pending > 50
for: 1m for: 15m
labels: labels:
severity: warning severity: warning
annotations: annotations:
description: 'host {{ $labels.instance }} has out of date packages' description: 'host {{ $labels.instance }} has out of date packages'
summary: '{{ $labels.instance }} has {{ $value }} out of date packages' summary: '{{ $labels.instance }} has {{ $value }} > 50 out of date packages'
- name: borg - name: borg
interval: 60s interval: 60s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment