2020-01-07 18:28:14 +00:00
|
|
|
---
|
|
|
|
check_interval: 1
|
|
|
|
|
|
|
|
monitors:
|
|
|
|
- name: Shell
|
|
|
|
command_shell: >
|
|
|
|
echo 'Some string with stuff';
|
2020-01-07 18:37:53 +00:00
|
|
|
echo "<angle brackets>";
|
2020-01-07 18:28:14 +00:00
|
|
|
exit 1
|
|
|
|
alert_down: ['log_shell']
|
|
|
|
alert_after: 1
|
|
|
|
alert_every: 0
|
|
|
|
|
|
|
|
alerts:
|
|
|
|
log_shell:
|
|
|
|
command_shell: |
|
|
|
|
echo 'Some string with stuff'
|
|
|
|
echo '<angle brackets>'
|