1
0
mirror of https://github.com/prometheus/alertmanager.git synced 2026-02-05 15:45:34 +01:00
Files
alertmanager/artifacts
Kellen Fox 3aab66ec3a Amtool implementation (#636)
* Implement alertmanager cli tool 'amtool'

The primary goal of an alertmanager tool is to provide a cli interface
for the prometheus alertmanager.

My vision for this tool has two parts:
  - Silence management (query, add, delete)

  - Alert management (query, maybe more in future?)

Resolves: #567
2017-04-20 11:04:17 +02:00
..
2017-04-20 11:04:17 +02:00

Generating amtool artifacts

Amtool comes with the option to create a number of eaze-of-use artifacts that can be created.

go run generate_amtool_artifacts.go

Bash completion

The bash completion file can be added to /etc/bash_completion.d/.

Man pages

Man pages can be added to the man directory of your choice

cp artifacts/*.1 /usr/local/share/man/man1/
sudo mandb

Then you should be able to view the man pages as expected.