You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the next basic test command: python3 /usr/lib/zabbix/frontendscripts/update_all_items.py 'Zabbix server'
and I receive the next error:
Traceback (most recent call last):
File "/usr/lib/zabbix/frontendscripts/update_all_items.py", line 93, in <module>
main()
File "/usr/lib/zabbix/frontendscripts/update_all_items.py", line 27, in main
hostid = hostid_get(token)
File "/usr/lib/zabbix/frontendscripts/update_all_items.py", line 47, in hostid_get
hostid = data["result"][0]["hostid"]
IndexError: list index out of range
I printer the json response content to verify that it's not an issue with the API token and the result is:
I am running the next basic test command:
python3 /usr/lib/zabbix/frontendscripts/update_all_items.py 'Zabbix server'
and I receive the next error:
I printer the json response content to verify that it's not an issue with the API token and the result is:
I got to the repo from the Youtube videos:
https://www.youtube.com/watch?v=tg2-lqkCDv0
https://www.youtube.com/watch?v=7c9g9GivZOE
The text was updated successfully, but these errors were encountered: