Skip to content

Instantly share code, notes, and snippets.

@doorbash
Created June 12, 2020 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doorbash/347631459fe1f2963a54e3a6ad2474cd to your computer and use it in GitHub Desktop.
Save doorbash/347631459fe1f2963a54e3a6ad2474cd to your computer and use it in GitHub Desktop.
groups:
- name: ping
rules:
- alert: host_down
expr: ping_loss_percent{ip_version="4",job="ping"} == 1
for: 10s
labels:
severity: page
annotations:
summary: "{{ $labels.target }} / {{ $labels.ip }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment