May 2019
Intermediate to advanced
442 pages
11h 36m
English
Similar to promtool, amtool is an easy-to-use command-line tool backed by the Alertmanager HTTP API. Besides being useful for validating the correctness of the Alertmanager configuration file, it also allows you to query the server for currently triggering alerts, and to execute actions such as silencing alerts or creating new ones. The amtool sub-commands are split into four groups – alert, silence, check-config, and config – and we'll provide an overview of each one using the test environment.
To follow the examples in this section, make sure that you connect to one of the Alertmanager instances. Since they are clustered, any one of them will do, for example:
vagrant ssh alertmanager02
After logging in, you ...
Read now
Unlock full access