Update readme and update some test files to be better examples

This commit is contained in:
Ian Fijolek
2024-11-15 12:05:17 -08:00
parent e0af17a599
commit 7cac6c94d7
7 changed files with 125 additions and 180 deletions
+6 -6
View File
@@ -1,10 +1,10 @@
check_interval = "1s"
monitor "Shell" {
shell_command = <<EOF
echo 'Some string with stuff';
echo "<angle brackets>";
exit 1
shell_command = <<-EOF
echo 'Some string with stuff'
echo "<angle brackets>"
exit 1
EOF
alert_down = ["log_shell"]
alert_after = 1
@@ -13,7 +13,7 @@ exit 1
alert "log_shell" {
shell_command = <<EOF
echo 'Some string with stuff'
echo '<angle brackets>'
echo 'Some string with stuff'
echo '<angle brackets>'
EOF
}