summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-01 12:14:23 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-01 12:14:23 -0400
commit2c37e6282bcd260119b654b23acdad3e6ca4340c (patch)
treeb0875b6f80506ce772c6e4b4585815ef023d9433 /roles/os_zabbix
parent6f5fff8a542d544916427ce625fe46ec31fa76d3 (diff)
downloadopenshift-2c37e6282bcd260119b654b23acdad3e6ca4340c.tar.gz
openshift-2c37e6282bcd260119b654b23acdad3e6ca4340c.tar.bz2
openshift-2c37e6282bcd260119b654b23acdad3e6ca4340c.tar.xz
openshift-2c37e6282bcd260119b654b23acdad3e6ca4340c.zip
Adding trggers for cpu idle
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 36c890da9..c81f39c58 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -259,3 +259,18 @@ g_template_os_linux:
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_memory.asciidoc'
priority: warn
description: 'Alert on less than 30MegaBytes. This is 30 Million Bytes. 30000 KB x 1024'
+
+ # CPU Utilization #
+ - name: 'CPU idle less than 5% on {HOST.NAME}'
+ expression: '{Template OS Linux:kernel.all.cpu.idle.last()}<5 and {Template OS Linux:kernel.all.cpu.idle.last(#2)}<5'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc'
+ priority: high
+ description: 'CPU is less than 5% idle'
+
+ - name: 'CPU idle less than 10% on {HOST.NAME}'
+ expression: '{Template OS Linux:kernel.all.cpu.idle.last()}<10 and {Template OS Linux:kernel.all.cpu.idle.last(#2)}<10'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc'
+ priority: warn
+ description: 'CPU is less than 10% idle'
+ dependencies:
+ - 'CPU idle less than 5% on {HOST.NAME}'