Commit 95fdc35b authored by Ryan Lee's avatar Ryan Lee

only notify on critical, other states are more about monitoring than about monitored service

parent 1016ab4e
......@@ -43,7 +43,7 @@ object NotificationCommand "statuspage-notifications-command" {
log(LogDebug, "statuspage-notifications", "Sending notification...generating component state")
var component_status = "operational"
if(service_state != "OK") {
if(service_state == "Critical") {
component_status = "major_outage"
var component_id = component_map[service_component_name]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment