1 unstable release

Uses old Rust 2015

0.5.0 Jan 2, 2018

#8 in #alerting

GPL-3.0 license

56KB
74 lines

Hootie

Terminal view of Alerta alerts.

If there are alerts:

screenshot

If there's none:

screenshot all ok

Installation

You can download it from the releases, here on github, or you can install it with cargo:

$ cargo install hootie

Building

$ cargo build

or:

$ cargo build --release

Usage

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'

Fake Alerta

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'

Dependencies

~17–27MB
~473K SLoC