Test routing without firing alerts

Shows which receiver gets a set of labels. Check routes before you push the config

amtool config routes test --config.file=alertmanager.yml severity=critical team=db

tool
alertmanager2 commands
tags
alertmanagercigitopstroubleshooting

More alertmanager commands

  • amtool silence add alertname=HighLatency cluster=prod --duration 2h --comment 'deploy in progress'

    Silence alerts by matchers for a limited time. End it early with amtool silence expire <id>

all 2 alertmanager commands