feat(dgn-notify): send systemd failure to alertmanager #633
No reviewers
Labels
No labels
awaiting
awaiting-author
awaiting
awaiting-reviewer
bot
deployed
Silenced alert
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DGNum/infrastructure!633
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "alert-manager-notify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Maybe ceci est à lire https://prometheus.io/docs/alerting/latest/clients/
@ -77,0 +80,4 @@<(echo '{"alertgroup": "systemd failure","alertname": "systemd-'$HOSTNAME'","instance": "'$1'",ça ne correspond pas à l'usage de instance par prometheus https://prometheus.io/docs/concepts/jobs_instances/
Je mettrai un label unit à la place. Et maybe le hostname en instance
d9692753651e8edd35a91e8edd35a90b122d8e4aBon c'est un peu un hack mais on peut setup un second receiver dans alert manager avec le même url pour zulip mais send_resolved = false (cf https://prometheus.io/docs/alerting/latest/configuration/#webhook_config)
0b122d8e4a751ec87709View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.