summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-08 15:18:05 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-08 15:19:32 -0400
commite5f0b4944a434a51ae9b460d60a0e00a626158e6 (patch)
tree015c079d7e44413e5da73e24b8c4f2548030e5ec /roles/lib_zabbix
parentdf3e90a557af6d3221116f30c677af69aaefcfc5 (diff)
downloadopenshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.gz
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.bz2
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.xz
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.zip
Adding zabbix agent template
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: