2020-01-07 18:28:14 +00:00
|
|
|
---
|
|
|
|
check_interval: 1
|
|
|
|
|
|
|
|
monitors:
|
|
|
|
- name: Shell
|
2020-02-16 21:25:11 +00:00
|
|
|
command: >
|
2020-01-07 18:28:14 +00:00
|
|
|
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:
|
2020-02-16 21:25:11 +00:00
|
|
|
command: |
|
2020-01-07 18:28:14 +00:00
|
|
|
echo 'Some string with stuff'
|
|
|
|
echo '<angle brackets>'
|