Commit f045ccc5 authored by Ryan Lee's avatar Ryan Lee

set status to check

parent ad400fce
...@@ -43,7 +43,7 @@ object NotificationCommand "statuspage-notifications-command" { ...@@ -43,7 +43,7 @@ object NotificationCommand "statuspage-notifications-command" {
log(LogDebug, "statuspage-notifications", "Sending notification...generating component state") log(LogDebug, "statuspage-notifications", "Sending notification...generating component state")
var component_status = "operational" var component_status = "operational"
if(service_state != '') { if(service_state != "OK") {
component_status = "major_outage" component_status = "major_outage"
} }
var component_id = component_map[service_component_name] 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