Test routing tree without firing

shows which receiver a label set hits; validate routes before pushing 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'

    scoped time-boxed silence by matchers; expire early with amtool silence expire <id>

all 2 alertmanager commands