Commit Graph

17 Commits

Author SHA1 Message Date
41a1dbeceb Add date format functions 2023-08-10 16:22:30 -04:00
deec04bf0d Allow setting of global defaults for some values
This helps with reducing redundant config.

Note: There is no default for `alert_every` because the zero value has a
meaning and cannot be interpreted as an omission.
2022-12-19 15:49:32 -08:00
49e3635819 Add backwards compatility explanation in Readme
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-12 16:37:59 -07:00
bdf7355fa7 Add duration parsing for intervals 2021-05-11 10:41:39 -07:00
fda9e1bfc3 Replace log with slog 2021-05-10 21:53:26 -07: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
ad6f3be6ec Update README with more detailed running instructions from prior project
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-02-19 22:13:30 -08:00
9dcd8ebf12 Update README to correct differences between py and go versions
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-19 21:56:01 -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
d6b979f06e Update README to correct typo and checklist
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-17 15:53:37 -08:00
b808df7365 Update README to indicate where to get alert template info
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-20 17:21:48 -08:00
b2d9882c91 Update readme with accurate To do status
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-15 17:17:46 -08:00
6aaeeb32d4 Refactor a bit more for testing, update tests 2019-10-04 14:47:38 -07:00
88b718cb59 Update readme syntax 2019-10-03 09:22:43 -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
IamTheFij
0aa0fef19d Initial commit 2019-09-21 22:01:12 +00:00