$ docker run -d -p 8080:8080 matjaz99/alertmonitor
groups: - name: my-alerts rules: - alert: CPU usage expr: 100 - (avg(irate(node_cpu_seconds_total{mode="idle"}[1m]) * 100)) > 90 for: 1m labels: severity: critical priority: low info: CPU 1 tags: hardware, cpu, overload annotations: description: Node {{ $labels.instance }} CPU usage is at {{ humanize $value}}%. summary: CPU alert for Node '{{ $labels.instance }}'
route: receiver: alertmonitor group_by: [alertname] group_wait: 10s group_interval: 5m repeat_interval: 3h receivers: - name: alertmonitor webhook_configs: - url: http://alertmonitor:8080/alertmonitor/webhook send_resolved: true
Visitors: 2644