Danone89 / ZabbixMonitoringXenCenter

Python script used to monitoring XenServer for zabbix server 3.x
4 stars 3 forks source link

Error in Line 499 #3

Open fmontebaur opened 3 years ago

fmontebaur commented 3 years ago

I get the this error:

{ "data":[Traceback (most recent call last): File "citrix.xenserver.py", line 499, in main(sys.argv[1:]) File "citrix.xenserver.py", line 491, in main if ( command == 'list' ): printoutKeysByRegex(filename,host,filter) File "citrix.xenserver.py", line 327, in printoutKeysByRegex sys.stdout.write (outstring) UnboundLocalError: local variable 'outstring' referenced before assignment

Zabbix Version: 5.0.4 Phyton Version is 3.7 OS: Debian 10.6