summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-12-04 10:49:49 -0500
committerMatt Woodson <mwoodson@gmail.com>2015-12-04 10:49:49 -0500
commit256ad3a1efa79d99ee1f7b545cb31f35dc206ce4 (patch)
treee8340bc6253d5ae38f9d02e8d42535e41681574f
parentab93a71580677feacf1e5eccebcfb060c0a66900 (diff)
parent72917fe73008df533a46948759d4b4f66b65c2fc (diff)
downloadopenshift-256ad3a1efa79d99ee1f7b545cb31f35dc206ce4.tar.gz
openshift-256ad3a1efa79d99ee1f7b545cb31f35dc206ce4.tar.bz2
openshift-256ad3a1efa79d99ee1f7b545cb31f35dc206ce4.tar.xz
openshift-256ad3a1efa79d99ee1f7b545cb31f35dc206ce4.zip
Merge pull request #1022 from mwoodson/master_checks
Zabbix: added dependency for disk check
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 04665be62..023f1670b 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -258,16 +258,19 @@ g_template_os_linux:
- Network
ztriggerprototypes:
- - name: 'Filesystem: {#OSO_FILESYS} has less than 15% free disk space on {HOST.NAME}'
- expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>85'
- url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
- priority: warn
-
- name: 'Filesystem: {#OSO_FILESYS} has less than 10% free disk space on {HOST.NAME}'
expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>90'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
priority: high
+ # This has a dependency on the previous trigger
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 15% free disk space on {HOST.NAME}'
+ expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>85'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
+ priority: warn
+ 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'