OneSourceConsult / ZabbixCeilometer-Proxy

Integration between OpenStack's Ceilometer resources and a Zabbix monitoring system
Apache License 2.0
8 stars 24 forks source link

I couldn't activate zabbix ceilometer porxy on zabbix 3.0 #7

Open goldwet opened 8 years ago

goldwet commented 8 years ago

Hello, I am soo chul.

I tried to install zabbix ceilometer proxy on zabbix 3.0 server. But, Finally I couldn't activate the zabbix ceilometer proxy. (In compare, I succeed activate the zabbix ceilometer proxy on zabbix 2.4.7) Could you please check the below error message?

Thank you.

[root@~]# python proxy.py Traceback (most recent call last): File "proxy.py", line 97, in init_zcp(threads) File "proxy.py", line 65, in init_zcp zabbix_hdl.first_run() File "/opt/ZabbixCeilometer-Proxy/zabbix_handler.py", line 39, in first_run self.template_id = self.get_template_id() File "/opt/ZabbixCeilometer-Proxy/zabbix_handler.py", line 340, in get_template_id if response['result'] is True: KeyError: 'result'

sbrenna commented 7 years ago

This proxy uses API for Zabbix 2.2 that uses API that doesn't exists anymore on Zabbix 3.0

sbrenna commented 7 years ago

To be more precise, this version of ZPC uses "template.exists" and "host.exists" api command. Both doesn't are present anymore in Zabbix 3.0 and need to be replaced with "template.get" and "host.get" and modify subsequent if cycle accordingly

hihoss commented 7 years ago

did anyone have any luck getting it running on zabbix 3.0+