summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-08-31 13:05:07 -0400
committerMatt Woodson <mwoodson@redhat.com>2015-08-31 16:07:47 -0400
commit3f6b8e5ada944142644ab053f6505bd7aacf59db (patch)
treed39072988ae4af35e1a65ffb06c77c646cf8f4a5
parentc22864a97062724a25b0a723b5e919a9e8a073c5 (diff)
downloadopenshift-3f6b8e5ada944142644ab053f6505bd7aacf59db.tar.gz
openshift-3f6b8e5ada944142644ab053f6505bd7aacf59db.tar.bz2
openshift-3f6b8e5ada944142644ab053f6505bd7aacf59db.tar.xz
openshift-3f6b8e5ada944142644ab053f6505bd7aacf59db.zip
added triggers for disk space
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 9b56d20d4..95e15c6e8 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -156,3 +156,20 @@ g_template_os_linux:
applications:
- Disk
value_type: float
+
+ ztriggers:
+ - description: 'Filesystem: / has less than 10% free on {HOST.NAME}'
+ expression: '{Template OS Linux:filesys.full.xvda2.last()}>90'
+ priority: warn
+
+ - description: 'Filesystem: / has less than 5% free on {HOST.NAME}'
+ expression: '{Template OS Linux:filesys.full.xvda2.last()}>95'
+ priority: high
+
+ - description: 'Filesystem: /var has less than 10% free on {HOST.NAME}'
+ expression: '{Template OS Linux:filesys.full.xvda3.last()}>90'
+ priority: warn
+
+ - description: 'Filesystem: /var has less than 5% free on {HOST.NAME}'
+ expression: '{Template OS Linux:filesys.full.xvda3.last()}>95'
+ priority: high