summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-11-02 11:59:21 -0500
committerMatt Woodson <mwoodson@redhat.com>2015-11-02 12:03:22 -0500
commit4eb8cd34bef062b3b9e0f86d221f85d9c69bfcd3 (patch)
tree502e8ab05f14c6d18a2d644777cb5760d37975e6 /roles/os_zabbix
parentda13416756f4f898a556e44fa54f4fdd7c379f17 (diff)
downloadopenshift-4eb8cd34bef062b3b9e0f86d221f85d9c69bfcd3.tar.gz
openshift-4eb8cd34bef062b3b9e0f86d221f85d9c69bfcd3.tar.bz2
openshift-4eb8cd34bef062b3b9e0f86d221f85d9c69bfcd3.tar.xz
openshift-4eb8cd34bef062b3b9e0f86d221f85d9c69bfcd3.zip
changed the cpu alert to only alert if cpu idle more than 5x. Change alert to warning
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 69432273f..aeeec4b8d 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -246,15 +246,15 @@ g_template_os_linux:
# 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'
+ expression: '{Template OS Linux:kernel.all.cpu.idle.max(#5)}<5'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc'
- priority: high
+ priority: average
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'
+ expression: '{Template OS Linux:kernel.all.cpu.idle.max(#5)}<10'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc'
- priority: warn
+ priority: average
description: 'CPU is less than 10% idle'
dependencies:
- 'CPU idle less than 5% on {HOST.NAME}'