diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-11-17 11:26:21 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-11-17 11:26:21 -0500 |
commit | 4729ff527762cc0b48c6a49eede59484cd143297 (patch) | |
tree | 97d010306723cf9455f1bf17101389813b173f19 /roles/lib_zabbix/tasks | |
parent | 6b9e41faa8bfa9da3df18f390c42ff9c740c9a09 (diff) | |
parent | 0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff (diff) | |
download | openshift-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.yml | 2 |
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) }}" |