Initial step of hcl migration
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
check_interval = "1s"
|
||||
|
||||
monitor "Shell" {
|
||||
shell_command = <<EOF
|
||||
echo 'Some string with stuff';
|
||||
echo "<angle brackets>";
|
||||
exit 1
|
||||
EOF
|
||||
alert_down = ["log_shell"]
|
||||
alert_after = 1
|
||||
alert_every = 0
|
||||
}
|
||||
|
||||
alert "log_shell" {
|
||||
shell_command = <<EOF
|
||||
echo 'Some string with stuff'
|
||||
echo '<angle brackets>'
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user