summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-10-12 16:01:45 -0400
committerMatt Woodson <mwoodson@redhat.com>2015-10-12 16:01:45 -0400
commitbdda05ca0d4f62ffbc4f8e3691081d38266ca38b (patch)
tree6b53d3c96e349d37e498c53e5d6ba323aba2397b /roles/os_zabbix/vars
parent8e776b09cb38c6f02aa4b3c75c9343e73fb96691 (diff)
downloadopenshift-bdda05ca0d4f62ffbc4f8e3691081d38266ca38b.tar.gz
openshift-bdda05ca0d4f62ffbc4f8e3691081d38266ca38b.tar.bz2
openshift-bdda05ca0d4f62ffbc4f8e3691081d38266ca38b.tar.xz
openshift-bdda05ca0d4f62ffbc4f8e3691081d38266ca38b.zip
added the dynamic items to track free inodes
Diffstat (limited to 'roles/os_zabbix/vars')
-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'