May 2019
Intermediate to advanced
442 pages
11h 36m
English
With this sub-command, we can manage silences. First, we can try to query the available silences in the cluster by using the following instruction:
vagrant@alertmanager02:~$ amtool silence --alertmanager.url http://alertmanager02:9093ID Matchers Ends At Created By Comment
As we can see, no silence is currently being enforced. Let's create a new one for the previous generated alert by matching its label, example="amtool", and checking the silences again:
vagrant@alertmanager02:~$ amtool silence add 'example="amtool"' --comment "ups" --alertmanager.url http://alertmanager02:9093 ...
Read now
Unlock full access