Kiril Vladimirov
84dd6ab8d7
cli/format: Use Matchers.String for extended formatting
...
Signed-off-by: Kiril Vladimirov <kiril@vladimiroff.org>
2021-02-18 23:43:15 +02:00
Kiril Vladimirov
133b5bab42
cli: Unify matcher formatting
...
Signed-off-by: Kiril Vladimirov <kiril@vladimiroff.org>
2021-02-16 14:22:59 +02:00
treydock
e6824a3110
Fix extended printing of regex sign ( #2445 )
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-01-27 11:06:47 +01:00
Fahri YARDIMCI
41cd012c61
Add alert status for extended and simple output ( #2324 )
...
Signed-off-by: Fahri Yardımcı <f.yardimci06@gmail.com>
2020-07-24 15:02:58 +02:00
Fahri YARDIMCI
12db463c7f
Add cluster command to show cluster and peer statuses. ( #2256 )
...
Signed-off-by: Fahri Yardımcı <f.yardimci06@gmail.com>
Signed-off-by: Fahri Yardımcı <f.yardimci06@gmail.com>
2020-05-18 15:25:15 +02:00
Paul Gier
ab4784b112
cli: style improvement and fix filter handling
...
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-03-29 09:11:09 -05:00
Paul Gier
74fa2236f7
cli: update amtool to use apiv2
...
Includes godoc improvements
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-03-29 09:11:09 -05:00
Julius Volz
6d0edbe630
Fix a bunch of unhandled errors ( #1501 )
...
...as discovered by "gosec" (many other ones reported, but not all make
a lot of sense to fix).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-08-05 15:38:25 +02:00
Simon Pasquier
0ebaeccd4b
*: add missing license headers
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-05-14 17:37:13 +02:00
Simon Pasquier
c92ed69ce8
Split cli package ( #1314 )
...
* cli: move commands to cli/cmd
* cli: use StatusAPI interface for config command
* cli: use SilenceAPI interface for silence commands
* cli: use AlertAPI for alert command
* cli: move back commands to cli package
And move API client code to its own package.
* cli: remove unused structs
2018-04-11 11:17:41 +02:00
Frederic Branczyk
c4c0875ba3
fix config JSON marshaling
2017-06-08 13:37:57 +02:00
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