NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
176 stars 95 forks source link

Stack trace logged from xml parsing in nrdp.py #1105

Open sawolf opened 4 months ago

sawolf commented 4 months ago

From the community support forum

I think these logs are from NCPA v2, but the functions appear to be mostly the same:

2024-02-08 08:27:47,888:ERROR:nrdp:mismatched tag: line 20, column 2
Traceback (most recent call last):
File "C:\ncpa\agent\passive\nrdp.py", line 199, in submit_to_nagios
File "C:\ncpa\agent\passive\nrdp.py", line 145, in log_result
File "C:\Python27\lib\xml\dom\minidom.py", line 1928, in parseString
File "C:\Python27\lib\xml\dom\expatbuilder.py", line 940, in parseString
File "C:\Python27\lib\xml\dom\expatbuilder.py", line 223, in parseString
ExpatError: mismatched tag: line 20, column 2
2024-02-08 08:32:48,030:ERROR:nrdp:mismatched tag: line 20, column 2
Traceback (most recent call last):
File "C:\ncpa\agent\passive\nrdp.py", line 199, in submit_to_nagios
File "C:\ncpa\agent\passive\nrdp.py", line 145, in log_result
File "C:\Python27\lib\xml\dom\minidom.py", line 1928, in parseString
File "C:\Python27\lib\xml\dom\expatbuilder.py", line 940, in parseString
File "C:\Python27\lib\xml\dom\expatbuilder.py", line 223, in parseString
ExpatError: mismatched tag: line 20, column 2