Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import openstack python modules #5

Open
frankwangzc opened this issue Oct 28, 2016 · 6 comments
Open

Failed to import openstack python modules #5

frankwangzc opened this issue Oct 28, 2016 · 6 comments

Comments

@frankwangzc
Copy link

My openstack system cannot monitor by zabbix.
My environment as below:

  1. Zabbix 3.0 , OS:CentOS 6.7
  2. 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.

@emccormickva
Copy link

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.

@frankwangzc
Copy link
Author

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.

@fgastald
Copy link

Hello have you been able to fix? i'm facing the same issue :(
regards
Fabio

@appooja
Copy link

appooja commented Aug 24, 2020

me too same issue ? any fix ?

@fgastald
Copy link

fgastald commented Aug 24, 2020 via email

@Ameta1
Copy link

Ameta1 commented Apr 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants