minitor-go/test/valid-verify-multi-line.yml
Ian Fijolek 3226be69e7
All checks were successful
continuous-integration/drone/push Build is passing
Fix issue with shell commands containing "<>" and unecessary (and poor) escaping
2020-01-07 10:37:53 -08:00

19 lines
328 B
YAML

---
check_interval: 1
monitors:
- name: Shell
command_shell: >
echo 'Some string with stuff';
echo "<angle brackets>";
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>'