Add more config validation

Validates that all alerts are actually found in the alert list
This commit is contained in:
Ian Fijolek
2019-10-07 10:48:19 -07:00
parent 1b07059825
commit 351216c3a7
4 changed files with 31 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
check_interval: 1
monitors:
- name: Command
command: ['echo', '$PATH']
alert_down: [ 'not_log']
# alert_every: -1
alert_every: 0
alerts:
log:
command: ['true']