What is `amtool` used for?

BeginnerConceptAlertmanager & Alerting
Answer

The Alertmanager CLI:

amtool check-config alertmanager.yml
amtool config routes show --config.file=alertmanager.yml
amtool config routes test --config.file=alertmanager.yml severity=page team=db
amtool alert query --alertmanager.url=http://localhost:9093
amtool silence add ...

check-config and routes test belong in CI for Alertmanager config changes.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alertmanager & Alerting