Crates.io | hootie |
lib.rs | hootie |
version | 0.5.0 |
source | src |
created_at | 2018-01-02 21:38:26.219562 |
updated_at | 2018-01-02 21:38:26.219562 |
description | Terminal viewer of Alerta alerts. |
homepage | https://github.com/anglerud/hootie |
repository | https://github.com/anglerud/hootie |
max_upload_size | |
id | 45268 |
size | 79,873 |
Terminal view of Alerta alerts.
If there are alerts:
If there's none:
You can download it from the releases, here on github, or you can install it with cargo:
$ cargo install hootie
$ cargo build
or:
$ cargo build --release
Hootie only takes one parameter - the url to get alerts from your Alerta instance. Here is an example from a deployment I use, which has selected open alerts on the 'infrastructure' service:
$ hootie --alerta-url='http://alerta.res.ahl/api/alerts?status=open&service=infrastructure'
There is a small python script in the fake_alerta
dir that can pretend to be
alerta while you're working on Hootie. It's very simple.
If you use it, then you can invoke Hootie like this:
$ hootie --alerta-url='http://localhost:8080'