summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-09-08 15:55:45 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-09-08 15:55:45 -0400
commit4824691f00c04936da74ddfbbeb6e521ddb86d98 (patch)
treef8feafe7c85cf2054d9959d0b62e429413037174 /roles/lib_zabbix/tasks
parent63ad6b61144cf610a813f2022bcbab5ddacf729a (diff)
downloadopenshift-4824691f00c04936da74ddfbbeb6e521ddb86d98.tar.gz
openshift-4824691f00c04936da74ddfbbeb6e521ddb86d98.tar.bz2
openshift-4824691f00c04936da74ddfbbeb6e521ddb86d98.tar.xz
openshift-4824691f00c04936da74ddfbbeb6e521ddb86d98.zip
Adding desc, multiplier, and units to zabbix item
Diffstat (limited to 'roles/lib_zabbix/tasks')
-rw-r--r--roles/lib_zabbix/tasks/create_template.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml
index bc9aff997..6307bf57a 100644
--- a/roles/lib_zabbix/tasks/create_template.yml
+++ b/roles/lib_zabbix/tasks/create_template.yml
@@ -30,6 +30,9 @@
key: "{{ item.key }}"
name: "{{ item.name | default(item.key, true) }}"
value_type: "{{ item.value_type | default('int') }}"
+ description: "{{ item.description | default('', True) }}"
+ multiplier: "{{ item.multiplier | default('', True) }}"
+ units: "{{ item.units | default('', True) }}"
template_name: "{{ template.name }}"
applications: "{{ item.applications }}"
with_items: template.zitems