added router2 key
MODIFY
ansible/roles/os_zabbix/vars/template_openshift_master.yml
ansible/roles/os_zabbix/vars/template_openshift_master.yml
@@ -909,12 +909,17 @@ g_template_openshift_master:
description: The application create loop has failed 4 or more times in the last hour
priority: high
- - name: "openshift router pods are in the same infra node on {HOST.NAME}"
+ - name: "openshift router pods are on the same infra node on {HOST.NAME}"
expression: "{Template Openshift Master:openshift.router.pod.location.last(#1)}=0"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"
priority: avg
- - name: "openshift registry pods are in the same infra node on {HOST.NAME}"
+ - name: "openshift router2 pods are on the same infra node on {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.router2.pod.location.last(#1)}=0"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"
+ priority: avg
+
+ - name: "openshift registry pods are on the same infra node on {HOST.NAME}"
expression: "{Template Openshift Master:openshift.registry.pod.location.last(#1)}=0"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"
priority: avg
@@ -924,6 +929,11 @@ g_template_openshift_master:
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"
priority: avg
+ - name: "openshift router2 pods are in bad status on {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.router2.pod.status.last(#1)}<2"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"
+ priority: avg
+
- name: "openshift registry pods are in bad status on {HOST.NAME}"
expression: "{Template Openshift Master:openshift.registry.pod.status.last(#1)}<2"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_internal_pod.asciidoc"

added router2 key