reduce trigger severity for immediate node not schedulable to info, send a high alert when node not schedulable is current state and has been for over a week
@@ -1030,6 +1030,13 @@ g_template_openshift_master:
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/openshift_node_not_schedulable.asciidoc"
dependencies:
- "Openshift Master process not running on {HOST.NAME}"
+ priority: info
+
+ - name: "Hosts not schedulable for more than one week according to {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.master.nodesnotschedulable.count.min(#2)}>0 and {Template Openshift Master:openshift.master.nodesnotschedulable.count.sum(7d)}>0 "
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/openshift_node_not_schedulable.asciidoc"
+ dependencies:
+ - "Openshift Master process not running on {HOST.NAME}"
priority: high
- name: "Hosts not ready according to {HOST.NAME}"
