summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-20 17:05:10 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-20 17:05:10 -0400
commit0b89d53ad9c0c83c42db3ee1642c005474c3cc58 (patch)
tree54a649dfa81d9d9b9f9eba89ced401ec75d38b95 /roles/lib_zabbix/tasks
parentabb8c470ce4452373c44e224add5eb4a5ec21578 (diff)
parentba80a2c5b19614c87d2ce0568ed8830c62d40f95 (diff)
downloadopenshift-0b89d53ad9c0c83c42db3ee1642c005474c3cc58.tar.gz
openshift-0b89d53ad9c0c83c42db3ee1642c005474c3cc58.tar.bz2
openshift-0b89d53ad9c0c83c42db3ee1642c005474c3cc58.tar.xz
openshift-0b89d53ad9c0c83c42db3ee1642c005474c3cc58.zip
Merge pull request #714 from kwoodson/zabb
Adding zabbix agent bits zabbix-server
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 41381e76c..df7888a95 100644
--- a/roles/lib_zabbix/tasks/create_template.yml
+++ b/roles/lib_zabbix/tasks/create_template.yml
@@ -38,6 +38,8 @@
units: "{{ item.units | default('', True) }}"
template_name: "{{ template.name }}"
applications: "{{ item.applications }}"
+ zabbix_type: "{{ item.zabbix_type | default(2, True) }}"
+ interval: "{{ item.interval | default(60, True) }}"
with_items: template.zitems
register: created_items
when: template.zitems is defined