-
Notifications
You must be signed in to change notification settings - Fork 25
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
UnboundLocalError: local variable 'hostname' referenced before assignment #6
Comments
my be this could help? |
Thank you Dan. Can you send an example please ? |
Not sure. Didn't use this script for long time. Yet you should provide hostname = zabbix agent's hostname somewhere in configs. |
@Lelik13a 我也出现这样的提示,zabbix agent的配置文件的hostname也改成pyora-items-list.py指定时的名称了,还是会出现这样的提示 |
pyora-active.py: change ` Data = []
` ` Data = []
` |
Hello all,
I have an error like this. Could you help please to solve that ?
Thank you.
./pyora-active.py --address 10.0.0.5 --database ORCL
{"failed": 0, "chunk": 0, "total": 0, "processed": 0, "time": "0"}
Traceback (most recent call last):
File "./pyora-active.py", line 709, in
main()
File "./pyora-active.py", line 697, in call
ZabbixMetric(hostname, "failedchecks", result.failed))
UnboundLocalError: local variable 'hostname' referenced before assignment
The text was updated successfully, but these errors were encountered: