Open safpsr opened 6 years ago
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.
[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
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?
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](https://user-images.githubusercontent.com/35803849/35390937-5e6b4d7a-01dd-11e8-9e34-01ab055f1417.png)
[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