summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-11-17 11:26:21 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-11-17 11:26:21 -0500
commit4729ff527762cc0b48c6a49eede59484cd143297 (patch)
tree97d010306723cf9455f1bf17101389813b173f19 /roles/lib_zabbix/tasks
parent6b9e41faa8bfa9da3df18f390c42ff9c740c9a09 (diff)
parent0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff (diff)
downloadopenshift-4729ff527762cc0b48c6a49eede59484cd143297.tar.gz
openshift-4729ff527762cc0b48c6a49eede59484cd143297.tar.bz2
openshift-4729ff527762cc0b48c6a49eede59484cd143297.tar.xz
openshift-4729ff527762cc0b48c6a49eede59484cd143297.zip
Merge pull request #919 from kwoodson/datatype
Adding data_type to zbx_items
Diffstat (limited to 'roles/lib_zabbix/tasks')
-rw-r--r--roles/lib_zabbix/tasks/create_template.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml
index 44c4e6766..2992505bf 100644
--- a/roles/lib_zabbix/tasks/create_template.yml
+++ b/roles/lib_zabbix/tasks/create_template.yml
@@ -33,6 +33,7 @@
key: "{{ item.key }}"
name: "{{ item.name | default(item.key, true) }}"
value_type: "{{ item.value_type | default('int') }}"
+ data_type: "{{ item.data_type | default('decimal') }}"
description: "{{ item.description | default('', True) }}"
multiplier: "{{ item.multiplier | default('', True) }}"
units: "{{ item.units | default('', True) }}"
@@ -81,6 +82,7 @@
key: "{{ item.key }}"
discoveryrule_key: "{{ item.discoveryrule_key }}"
value_type: "{{ item.value_type }}"
+ data_type: "{{ item.data_type | default('decimal') }}"
template_name: "{{ template.name }}"
applications: "{{ item.applications }}"
description: "{{ item.description | default('', True) }}"