diff options
author | Matt Woodson <mwoodson@redhat.com> | 2015-09-25 12:05:03 -0400 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2015-09-25 12:05:03 -0400 |
commit | 19f91f7b7844ec3c89d8ee0e6a6c08655e897266 (patch) | |
tree | 0317414fdd391ad652413280aff86017d6a087c4 /roles/os_zabbix | |
parent | 34465b6edd45ea34b98563cd772cb28eb2265bde (diff) | |
download | openshift-19f91f7b7844ec3c89d8ee0e6a6c08655e897266.tar.gz openshift-19f91f7b7844ec3c89d8ee0e6a6c08655e897266.tar.bz2 openshift-19f91f7b7844ec3c89d8ee0e6a6c08655e897266.tar.xz openshift-19f91f7b7844ec3c89d8ee0e6a6c08655e897266.zip |
added support for dynaic keys and items. added dynamic filesystems to zabbix
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r-- | roles/os_zabbix/vars/template_os_linux.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml index 3173c79b2..84a7740b0 100644 --- a/roles/os_zabbix/vars/template_os_linux.yml +++ b/roles/os_zabbix/vars/template_os_linux.yml @@ -191,6 +191,24 @@ g_template_os_linux: - Disk value_type: float + + zdiscoveryrules: + - name: disc.filesys + key: disc.filesys + lifetime: 1 + template_name: Template OS Linux + description: "Dynamically register the filesystems" + + zitemprototypes: + - discoveryrule_key: disc.filesys + template_name: Template OS Linux + name: "disc.filesys.full.{#OSO_FILESYS}" + key: "disc.filesys.full[{#OSO_FILESYS}]" + value_type: float + description: "PCP filesys.full option. This is the percent full returned from pcp filesys.full" + applications: + - Disk + ztriggers: - name: 'Filesystem: / has less than 10% free on {HOST.NAME}' expression: '{Template OS Linux:filesys.full.xvda2.last()}>90' |