XmlCollector data collection failures

Description

Since upgrading to 1.10.4, and enabling the XmlCollector for data collection, I am getting frequent data collection failures for the XmlCollector.

The failures are frequent, yet sporadic across 16 nodes. I see 2-3 failures per node through out the day, never at the same time for each node.

A tcpdump ran on the opennms server showed that the file was not fully retrieved, but the connection was successfully closed.

Acceptance / Success Criteria

None

Attachments

1
  • 12 Sep 2012, 03:12 PM

Lucidchart Diagrams

Activity

Show:

Alejandro Galue February 6, 2013 at 9:56 AM

I've added the gzip compression support on revision 6ac04a3b4e17072178d89119837715071637afce for 1.10.

If the problem persist, please reopen this issue.

Ron Roskens September 13, 2012 at 12:15 PM

After running this over night, I have yet to receive any data collection failures notifications. Looks like the gzip compression is helping to get around this problem. (The content length of the xml data when gzipped is around ~56KB.)

Alejandro Galue September 12, 2012 at 3:12 PM

Ron,

I've made some minor changes on the code. I'm not sure if that could help, but I'll appreciate if you can give it a try. The attached patch is based on the 1.10 branch. You just need to recompile the XML Collector project and then replace the JAR of your running OpenNMS.

Here are the changes:

I want to give it a try first to see if that helps before commit the changes.

If not, I'll continue my investigation locally.

Seth Leger August 13, 2012 at 2:34 PM

Can you attach the tcpdump contexts? Preferably with -s0 -X options so that we can read the contents.

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

PagerDuty

Created July 30, 2012 at 11:22 AM
Updated January 27, 2017 at 4:21 PM
Resolved February 6, 2013 at 9:56 AM