summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-08 15:20:22 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-08 15:20:22 -0400
commit1c68cdd2a5429f944f69d0fa4ed95df32fee57d3 (patch)
tree3886efd73c089302c6a30e8e9ffe0a8ce45a39fc /roles/lib_zabbix
parent3ffde7a596721b65ec82628b36fb53a69715a031 (diff)
parente5f0b4944a434a51ae9b460d60a0e00a626158e6 (diff)
downloadopenshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.gz
openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.bz2
openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.xz
openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.zip
Merge pull request #674 from kwoodson/zabagent
Adding zabbix agent template to config management
Diffstat (limited to 'roles/lib_zabbix')
-rw-r--r--roles/lib_zabbix/library/zbx_item.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lib_zabbix/library/zbx_item.py b/roles/lib_zabbix/library/zbx_item.py
index 2ccc21292..6faa82dfc 100644
--- a/roles/lib_zabbix/library/zbx_item.py
+++ b/roles/lib_zabbix/library/zbx_item.py
@@ -53,6 +53,8 @@ def get_value_type(value_type):
vtype = 0
if 'int' in value_type:
vtype = 3
+ elif 'log' in value_type:
+ vtype = 2
elif 'char' in value_type:
vtype = 1
elif 'str' in value_type: