f3f7c215a7
Breaking: Remove python compat flag
2023-04-19 15:27:33 -07:00
5f250f17a8
Add more liniting and update to pass
2021-05-10 21:53:26 -07:00
fda9e1bfc3
Replace log with slog
2021-05-10 21:53:26 -07:00
a1b906b94a
Update for go 1.15
2020-11-16 15:56:31 -08:00
cffbbd734a
Make default log alert conditional
...
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
continuous-integration/drone/push Build is passing
2020-02-19 17:38:07 -08:00
9c21880efa
Add a default log alert
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
...
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
3b963f420f
Remove underscore var name
2020-02-19 17:37:52 -08: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
71574dd8a9
Add alert tests
2019-10-03 16:30:49 -07:00
061b0c980a
WIP: Building tests, figuring out what I want AlertAfter to do
2019-10-02 18:01:55 -07:00
ba33071070
Clean up code and update docs
2019-10-02 16:09:11 -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