zalando-zmon / zmon-cli

ZMON Command Line Interface
http://zmon.readthedocs.org/en/latest/developer/zmon-cli.html
Other
9 stars 9 forks source link

List and filter checks and alerts #30

Closed mohabusama closed 7 years ago

mohabusama commented 8 years ago

Use all-active-check-definitions and all-active-alert-defintions APIs, which is not optimal since it is heavy operation server side, however the API doesn't support filtering yet.

zmon check-definitions list zmon check-definitions filter owning_team team-1

zmon alert-definitions list zmon alert-definitions filter responsible_team team-2

Resolve #12

hjacobs commented 8 years ago

I would expect to have some concise table output by default, but maybe it does not make sense (?).

mohabusama commented 8 years ago

Could be done as table, however command and condition in checks and alerts could consume a lot of space makes it look messy - not so useful.

mohabusama commented 7 years ago

@hjacobs I have played around a bit with different options for table output, I pushed a commit for table o/p with limited info displayed + a deeplink to the check/alert in place.

hjacobs commented 7 years ago

:+1:

mohabusama commented 7 years ago

👍