popular new Sign in Unread updates Unread comment replies
Blog 6 1 3 4 2 5 Dice
popular new
Sign in Unread updates Unread comment replies
Theme
English EN
English ✓ 简体中文 繁體中文 日本語 한국어

Trigger Alertmanager Manually

2023-09-01
Ellie Huxtable

I was setting up Alertmanager and needed to manually trigger an alert to make sure it works

Something like this will do it, depending on your port:

curl -H 'Content-Type: application/json' -d '[{"labels":{"alertname":"test-alert"}}]' http://alertmanager:9093/api/v1/alerts

-> {"status": "success"}

Previous article Next article
Blog 6 1 3 4 2 5 Dice

Random blog

Comments

    Sign in to join the conversation