Commit Graph

7 Commits

Author SHA1 Message Date
5f250f17a8 Add more liniting and update to pass 2021-05-10 21:53:26 -07:00
f0e179851f Update linting and a test case
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 18:31:22 -05:00
cffbbd734a Make default log alert conditional
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Allow using the default `log` alert for both up and down alerts using
Go's templating conditionals. Following this example can do away with
the need for an up and down version of every alert.
2020-06-19 09:51:42 -07:00
00029a6327 Make Python compatability a flag
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-19 17:38:07 -08:00
8b0d3b65cf Try to allow parsing of Minitor-py templates
This will make transition easier for an interim period. Will remove at
version 1.0
2020-02-19 17:38:07 -08:00
25c5179d3d Switch to a single key for command and command shell
All checks were successful
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
71574dd8a9 Add alert tests 2019-10-03 16:30:49 -07:00