can you please add exceptions handling?
from CLI script works.
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "Traceback (most recent call last):
File "/usr/lib/zabbix/externalscripts/ise.py", line 43, in
resp = json.loads(json.dumps(xmltodict.parse(resp.text)))
File "/usr/lib/python3.6/site-packages/xmltodict.py", line 327, in parse
parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0"
can you please add exceptions handling? from CLI script works.
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "Traceback (most recent call last): File "/usr/lib/zabbix/externalscripts/ise.py", line 43, in
resp = json.loads(json.dumps(xmltodict.parse(resp.text)))
File "/usr/lib/python3.6/site-packages/xmltodict.py", line 327, in parse
parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0"