Ian Fijolek
deec04bf0d
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.
13 lines
234 B
YAML
13 lines
234 B
YAML
---
|
|
check_interval: 1
|
|
default_alert_down: ["log_command"]
|
|
default_alert_after: 1
|
|
|
|
monitors:
|
|
- name: Command
|
|
command: ["echo", "$PATH"]
|
|
|
|
alerts:
|
|
log_command:
|
|
command: ["echo", "regular", '"command!!!"', "{{.MonitorName}}"]
|