summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-11-03 14:37:10 -0500
committerMatt Woodson <mwoodson@gmail.com>2015-11-03 14:37:10 -0500
commiteb2fd0ccaf69297b89c23e5d7b255db6883f1118 (patch)
treec749d36e3eb1c50cac16cd54341b863c245ae204 /roles
parent3a6ff3121f3afa40c5d22aa75c1696ead9b3424d (diff)
parent97dda64d5458dc7bd3edad720eb2a1e821b8b947 (diff)
downloadopenshift-eb2fd0ccaf69297b89c23e5d7b255db6883f1118.tar.gz
openshift-eb2fd0ccaf69297b89c23e5d7b255db6883f1118.tar.bz2
openshift-eb2fd0ccaf69297b89c23e5d7b255db6883f1118.tar.xz
openshift-eb2fd0ccaf69297b89c23e5d7b255db6883f1118.zip
Merge pull request #803 from mwoodson/disk_checks
added disk tps check to zabbix
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index aeeec4b8d..68de2dde5 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -194,6 +194,11 @@ g_template_os_linux:
lifetime: 1
description: "Dynamically register the filesystems"
+ - name: disc.disk
+ key: disc.disk
+ lifetime: 1
+ description: "Dynamically register disks on a node"
+
zitemprototypes:
- discoveryrule_key: disc.filesys
name: "disc.filesys.full.{#OSO_FILESYS}"
@@ -211,6 +216,14 @@ g_template_os_linux:
applications:
- Disk
+ - discoveryrule_key: disc.disk
+ name: "TPS (IOPS) for disk {#OSO_DISK}"
+ key: "disc.disk.tps[{#OSO_FILESYS}]"
+ value_type: int
+ description: "PCP disk.dev.totals metric measured over a period of time. This shows how many disk transactions per second the disk is using"
+ applications:
+ - Disk
+
ztriggerprototypes:
- 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'