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

Strange behaviour with Zabbix 3.4.5 #8

Open
safpsr opened this issue Jan 25, 2018 · 1 comment
Open

Strange behaviour with Zabbix 3.4.5 #8

safpsr opened this issue Jan 25, 2018 · 1 comment

Comments

@safpsr
Copy link

safpsr commented Jan 25, 2018

Hi,
I have a problem with a fresh installation of Zabbix and Zabbix Gnomes:

Here is a screen copy of Host groups. SYS_Linux & Zabbix_servers Linux have the same hosts.
image

[zabbix@SLT00795 zabbix-gnomes]$ /home/zabbix/zabbix-gnomes/zversion.py
3.4.5
[zabbix@SLT00795 zabbix-gnomes]$ /home/zabbix/zabbix-gnomes/zghostfinder.py "Zabbix_servers Linux"
slt00795
slt00797
slt00762
slt00761
slt00798
slt00801
slt00760
[zabbix@SLT00795 zabbix-gnomes]$ /home/zabbix/zabbix-gnomes/zghostfinder.py "SYS_Linux"
Error: Could not find hostgroup "SYS_Linux"
[zabbix@SLT00795 zabbix-gnomes]$ cat /home/zabbix/adminscripts/ListeGroupesHosts.input
z hostgroup.get(output="extend")
exit
[zabbix@SLT00795 zabbix-gnomes]$ /home/zabbix/zabbix-gnomes/zapi.py < /home/zabbix/adminscripts/ListeGroupesHosts.input | grep "'name'"
zapi: [{u'flags': u'0', u'groupid': u'1', u'internal': u'0', u'name': u'Templates'},
u'name': u'Discovered hosts'},
u'name': u'Virtual machines'},
u'name': u'Hypervisors'},
u'name': u'TEM_Templates_de_base'},
u'name': u'Zabbix_servers Linux'}]

zghostfinder find one group but no the other ! Very strange ...

Do you have an idea ?
Thanks a lot

CentOS 7.3
Zabbix 3.4.5
PostgreSQL 9.6
Python 2.7
pyzabbix 0.74
Last version of Zabbix Gnomes

@q1x
Copy link
Owner

q1x commented Jun 27, 2019

Hi, sorry for the late response.
Did you manage to find the issue?

If not, are you using the same user in frontend and API?

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

2 participants