zabbix-openstack
zabbix-openstack copied to clipboard
Failed to import openstack python modules
My openstack system cannot monitor by zabbix. My environment as below:
- Zabbix 3.0 , OS:CentOS 6.7
- Openstack (Liberty) When the externalscripts runs on the zabbix server, it is shows the error: Failed to import openstack python modules.( the command is externalscripts]# ./openstack-discovery "http://xx.xx.xx.xx:5000/v2.0" "admin" "admin" "password" )
And the zabbix web console said "Value should be a JSON object."
Does anyone have idea to fix the issue? Thank you in advance.
I'm just starting to play with this, but you need to install python-novaclient as well as python-keystoneclient. The docs seem to overlook this.
Hi emccormickva
Thanks for your advice. I have already installed the two plugins. The issue as the same "Value should be a JSON object."..
Regards with thanks.
Hello have you been able to fix? i'm facing the same issue :( regards Fabio
me too same issue ? any fix ?
no it was long time ago by the way i left the project sorry. Il lunedì 24 agosto 2020, 17:53:32 CEST, appooja [email protected] ha scritto:
me too same issue ? any fix ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I figured out the problem. All you need to do, is install python modules for all users, because zabbix uses its own linux user for launching scripts. You can do it like here