aad9eaa32f
Update exported status metric to properly reflect alerting status of a monitor
...
continuous-integration/drone/push Build is failing
It was using the result of the individual check and not the monitor as a whole
2020-07-14 17:09:56 -07:00
25c5179d3d
Switch to a single key for command and command shell
...
continuous-integration/drone/push Build is passing
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.
This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
2020-02-19 17:38:06 -08:00
0269ad3512
Add new test for multi-line YAML strings
2020-01-07 10:28:14 -08:00
1b07059825
Make AlertDown required for a Monitor
2019-10-04 16:23:48 -07:00
ac8ab9ef43
Add debug flag to adjust log verbosity a bit
...
Not as good as a proper logging system, but still provids a bit of
control over log verbosity
2019-10-04 16:05:25 -07:00
6aaeeb32d4
Refactor a bit more for testing, update tests
2019-10-04 14:47:38 -07:00
1280fbb7bd
Update to fix issues with AlertAfter. Disallow 0
2019-10-02 20:52:57 -07:00
061b0c980a
WIP: Building tests, figuring out what I want AlertAfter to do
2019-10-02 18:01:55 -07:00
7b746ed62a
Commands all running
2019-10-02 09:37:29 -07:00
dd0b8e3f38
Added ability to run commands in a shell
...
Diverges a small amount from the Python version for this.
2019-10-01 08:26:07 -07:00
342b12432e
WIP
2019-09-21 15:03:26 -07:00