add project count delta trigger
@@ -690,6 +690,15 @@ g_template_openshift_master:
applications:
- Openshift Master
+ - key: openshift.master.projects.delta
+ description: "Percent change in projects count"
+ value_type: float
+ zabbix_type: calculated
+ interval: 7200
+ params: "abschange(\"openshift.master.projects.count\") / prev(\"openshift.master.projects.count\") * 100"
+ applications:
+ - Openshift Master
+
- key: openshift.master.api.process.cpu
description: Show openshift master api process cpu usage
value_type: float
@@ -966,6 +975,16 @@ g_template_openshift_master:
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/openshift_master.asciidoc"
priority: high
+ - name: ">20% change in project count over 2 hours on {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.master.projects.delta.last()}>20"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/delta_trigger.asciidoc"
+ priority: info
+
+ - name: ">60% change in project count over 2 hours on {HOST.NAME}"
+ expression: "{Template Openshift Master:openshift.master.projects.delta.last()}>50"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/delta_trigger.asciidoc"
+ priority: info
+
- name: "Openshift Master Local API health check is failing on {HOST.NAME}"
expression: "{Template Openshift Master:openshift.master.local.api.healthz.max(#3)}<1"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/openshift_master.asciidoc"
