summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-09-28 13:07:58 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-09-28 13:07:58 -0400
commit39a7b2379f558037ad9840f7f08a397c9a9d9f70 (patch)
tree5feaad3225aadc8032567c6555bf07eac0d9ff4f /roles/os_zabbix
parentd865b2a9034130ec85a14638e0350b115401c94c (diff)
parent3a15b711e8d47e7365e361534533c28e234e87d3 (diff)
downloadopenshift-39a7b2379f558037ad9840f7f08a397c9a9d9f70.tar.gz
openshift-39a7b2379f558037ad9840f7f08a397c9a9d9f70.tar.bz2
openshift-39a7b2379f558037ad9840f7f08a397c9a9d9f70.tar.xz
openshift-39a7b2379f558037ad9840f7f08a397c9a9d9f70.zip
Merge pull request #625 from kwoodson/triggerproto
Adding 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'