Hi,
I monitored 3 Environment (Development, Staging and Production).
But I don’t want to get Service Notification (Mail, SMS etc) from the Development. This Env should only be displayed on the Webpage and should sent Notification when a Host is not available.
My template looks like this but is not working I expect
Someone an idea?
template Service “generic-service” {
max_check_attempts = 5
check_interval = 1m
retry_interval = 15s
if (vars.stage == “development”) {
enable_notifications = false
} else {
enable_notifications = true
}