summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-10-12 16:39:24 -0400
committerMatt Woodson <mwoodson@gmail.com>2015-10-12 16:39:24 -0400
commit060ed13a880bd776578e6726c49e2224403ca0f3 (patch)
treecee1a93e6eb98abeb49cad611fbd6ed853012485 /roles
parent35476982e1d0dc1851c102ab3b6aec0b9b6a1637 (diff)
parentbdda05ca0d4f62ffbc4f8e3691081d38266ca38b (diff)
downloadopenshift-060ed13a880bd776578e6726c49e2224403ca0f3.tar.gz
openshift-060ed13a880bd776578e6726c49e2224403ca0f3.tar.bz2
openshift-060ed13a880bd776578e6726c49e2224403ca0f3.tar.xz
openshift-060ed13a880bd776578e6726c49e2224403ca0f3.zip
Merge pull request #687 from mwoodson/zabbiz
added the dynamic items to track free inodes
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index cd9649773..69432273f 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -203,17 +203,35 @@ g_template_os_linux:
applications:
- Disk
+ - discoveryrule_key: disc.filesys
+ name: "Percentage of used inodes on {#OSO_FILESYS}"
+ key: "disc.filesys.inodes.pused[{#OSO_FILESYS}]"
+ value_type: float
+ description: "PCP derived value of percentage of used inodes on a filesystem."
+ applications:
+ - Disk
+
ztriggerprototypes:
- - name: 'Filesystem: {#OSO_FILESYS} has less than 15% free on {HOST.NAME}'
+ - 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 on {HOST.NAME}'
+ - 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
+ - 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
+
ztriggers:
- name: 'Too many TOTAL processes on {HOST.NAME}'
expression: '{Template OS Linux:proc.nprocs.last()}>5000'