IamTheFij
713abaa736
Fixed bug that was introduced after adding new alert types
...
This is why I need integration tests...
2018-04-18 21:51:39 -07:00
IamTheFij
16be263093
Add the ability to include last command output in the alert
...
Update readme to document the new templating vars
2018-04-18 17:16:26 -07:00
IamTheFij
aad28976e2
Add alerting for recovered monitors
...
Based on the idea from SeaLife, adds alerts for when a monitor comes out
of an alerting down state. Also includes a bunch of unit tests to cover
the new code.
2018-04-14 17:27:37 -07:00
IamTheFij
d005129afe
Add tracking and formatting for last success in alerts
...
Relates to #2
2018-04-13 22:02:09 -07:00
IamTheFij
0b0636b701
Add formatting for failure_count and alert_count
...
Fixes #3
2018-04-10 21:58:01 -07:00
IamTheFij
fdc13d437d
Improve logging such that a test can be written for an alert
2018-04-10 11:06:42 -07:00
IamTheFij
3ccd76dd75
Fix issue with alerting on first alert
...
An issue with the failure function caused the first alert after reaching
the minimum `alert_after` threshold to not notify unless using
exponential backoff.
New tests were added to reproduce the error and then it was fixed.
Fixes #2
2018-04-09 17:09:21 -07:00
IamTheFij
fce47ba2c7
Run pre-commit to clean files
2018-04-09 12:08:42 -07:00
IamTheFij
9bbc452ee9
Add exponential backoff
2018-02-17 20:45:37 -08:00
IamTheFij
adcd659316
Switch to python logging
2018-02-16 10:03:12 -08:00
IamTheFij
b4dfa8d835
Switch to setup.py
2018-02-16 09:48:26 -08:00
IamTheFij
202ca73e96
MVP!
2018-02-15 18:10:19 -08:00
IamTheFij
e34fa38d51
Add comment for alert every
2018-02-14 17:55:29 -08:00
IamTheFij
636ad103a3
Add run loop and interval
2018-02-14 17:54:42 -08:00
IamTheFij
2b5856ee30
initial commit poc
2018-02-14 15:37:15 -08:00