summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/tasks
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-09-10 10:41:43 -0400
committerMatt Woodson <mwoodson@gmail.com>2015-09-10 10:41:43 -0400
commit6dfeaccd2a6966e5b4e43cc315f88018e268e084 (patch)
tree2d27dd0de8d497dbc4941e5229d241c06ae7b375 /roles/lib_zabbix/tasks
parent5ea59791dd5fd30664f076a3a768c34a99ff6af8 (diff)
parent4824691f00c04936da74ddfbbeb6e521ddb86d98 (diff)
downloadopenshift-6dfeaccd2a6966e5b4e43cc315f88018e268e084.tar.gz
openshift-6dfeaccd2a6966e5b4e43cc315f88018e268e084.tar.bz2
openshift-6dfeaccd2a6966e5b4e43cc315f88018e268e084.tar.xz
openshift-6dfeaccd2a6966e5b4e43cc315f88018e268e084.zip
Merge pull request #566 from kwoodson/item_fix
Adding desc, units, and multiplier functionality to zabbix items.
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