summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-09-28 12:03:43 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-09-28 12:03:43 -0400
commit3a15b711e8d47e7365e361534533c28e234e87d3 (patch)
tree9ae8380f1bdf20627ebca997739c68d21b33cac9 /roles/os_zabbix
parent30f055111898dc1743f73bd0f8a018a40e58cf6d (diff)
downloadopenshift-3a15b711e8d47e7365e361534533c28e234e87d3.tar.gz
openshift-3a15b711e8d47e7365e361534533c28e234e87d3.tar.bz2
openshift-3a15b711e8d47e7365e361534533c28e234e87d3.tar.xz
openshift-3a15b711e8d47e7365e361534533c28e234e87d3.zip
Trigger prototype support
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 84a7740b0..3c29c5d16 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -209,6 +209,17 @@ g_template_os_linux:
applications:
- Disk
+ ztriggerprototypes:
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free 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: warn
+
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 5% free on {HOST.NAME}'
+ expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>95'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
+ priority: high
+
ztriggers:
- name: 'Filesystem: / has less than 10% free on {HOST.NAME}'
expression: '{Template OS Linux:filesys.full.xvda2.last()}>90'