diff options
author | Matt Woodson <mwoodson@redhat.com> | 2015-11-24 16:23:19 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2015-11-24 16:23:19 -0500 |
commit | f2c27c2e8cf1dfd1d0e0f73f0a30a79435f33ecb (patch) | |
tree | b3d5215246e580a1c26440a855dd1b5ed1262ae7 /roles/lib_zabbix | |
parent | 89c20890323f2693fdc3174c4cd3d19e7addc817 (diff) | |
download | openshift-f2c27c2e8cf1dfd1d0e0f73f0a30a79435f33ecb.tar.gz openshift-f2c27c2e8cf1dfd1d0e0f73f0a30a79435f33ecb.tar.bz2 openshift-f2c27c2e8cf1dfd1d0e0f73f0a30a79435f33ecb.tar.xz openshift-f2c27c2e8cf1dfd1d0e0f73f0a30a79435f33ecb.zip |
added graphs
Diffstat (limited to 'roles/lib_zabbix')
-rw-r--r-- | roles/lib_zabbix/tasks/create_template.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml index 2992505bf..47749389e 100644 --- a/roles/lib_zabbix/tasks/create_template.yml +++ b/roles/lib_zabbix/tasks/create_template.yml @@ -105,3 +105,27 @@ description: "{{ item.description | default('', True) }}" with_items: template.ztriggerprototypes when: template.ztriggerprototypes is defined + +- name: Create Graphs + zbx_graph: + zbx_server: "{{ server }}" + zbx_user: "{{ user }}" + zbx_password: "{{ password }}" + name: "{{ item.name }}" + height: "{{ item.height }}" + width: "{{ item.width }}" + graph_items: "{{ item.graph_items }}" + with_items: template.zgraphs + when: template.zgraphs is defined + +- name: Create Graph Prototypes + zbx_graphprototype: + zbx_server: "{{ server }}" + zbx_user: "{{ user }}" + zbx_password: "{{ password }}" + name: "{{ item.name }}" + height: "{{ item.height }}" + width: "{{ item.width }}" + graph_items: "{{ item.graph_items }}" + with_items: template.zgraphprototypes + when: template.zgraphprototypes is defined |