8f93997b80
Update config to add a default log alert
continuous-integration/drone/push Build is passing
2020-02-19 09:57:42 -08:00
d4e2cb7b9f
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-16 13:25:11 -08:00
3226be69e7
Fix issue with shell commands containing "<>" and unecessary (and poor) escaping
continuous-integration/drone/push Build is passing
2020-01-07 10:37:53 -08:00
0269ad3512
Add new test for multi-line YAML strings
2020-01-07 10:28:14 -08:00
9b9f803231
Add pre-commit to the repo
...
continuous-integration/drone/push Build is passing
This adds pre-commit which can be used to enforce consistent style
and common errors (like committing large files)
2019-11-21 15:32:57 -08:00
351216c3a7
Add more config validation
...
Validates that all alerts are actually found in the alert list
2019-10-07 10:48:19 -07:00
5c5388d683
Add some config tests
...
Still some more to add
2019-10-03 18:16:03 -07:00