summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-12-04 10:51:30 -0500
committerMatt Woodson <mwoodson@redhat.com>2015-12-04 10:51:30 -0500
commit92ce3c5fb25745beea179ace7814b7d4e9019c1b (patch)
tree1c6db1f2220e7d2d6aac1625c62532f2a3b53b1a
parent72917fe73008df533a46948759d4b4f66b65c2fc (diff)
downloadopenshift-92ce3c5fb25745beea179ace7814b7d4e9019c1b.tar.gz
openshift-92ce3c5fb25745beea179ace7814b7d4e9019c1b.tar.bz2
openshift-92ce3c5fb25745beea179ace7814b7d4e9019c1b.tar.xz
openshift-92ce3c5fb25745beea179ace7814b7d4e9019c1b.zip
Zabbix: added dependency for inode disk check
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 023f1670b..778e4341d 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -271,16 +271,18 @@ g_template_os_linux:
dependencies:
- 'Filesystem: {#OSO_FILESYS} has less than 10% free disk space on {HOST.NAME}'
- - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free inodes on {HOST.NAME}'
- expression: '{Template OS Linux:disc.filesys.inodes.pused[{#OSO_FILESYS}].last()}>90'
- url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
- priority: warn
-
- name: 'Filesystem: {#OSO_FILESYS} has less than 5% free inodes on {HOST.NAME}'
expression: '{Template OS Linux:disc.filesys.inodes.pused[{#OSO_FILESYS}].last()}>95'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
priority: high
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free inodes on {HOST.NAME}'
+ expression: '{Template OS Linux:disc.filesys.inodes.pused[{#OSO_FILESYS}].last()}>90'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
+ priority: warn
+ dependencies:
+ - 'Filesystem: {#OSO_FILESYS} has less than 5% free inodes on {HOST.NAME}'
+
ztriggers:
- name: 'Too many TOTAL processes on {HOST.NAME}'
expression: '{Template OS Linux:proc.nprocs.last()}>5000'