XML Collectd: XML collectd threads still trying after node deletion

Description

Nodes are prvionsion within a requisition to collect XML data.
Afrer removing the nodes from the requisition (nodes no more available from the GUI), we can see exception in collectd.log saying "Can't collect XML data because null" on a node IP address previously removed

Here is the exact log:

Maybe linked to bug NMS-7516 I have also opened ??

Environment

Java JDK 1.7.0_72, RHEL 6.5

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue May 6, 2015 at 3:59 PM

The handling of the deletion of nodes and/or interfaces is performed by Collectd, not the collector implementations. It is Collectd the responsible for managing the collection scheduler (not the implementations). Now, when you remove a node or an interface related with data collection, Collectd will remove the IP from its cache, and it won't schedule data collection anymore for that IP. But, if there is already a collection request on the scheduler's queue, that will be executed, and the consequence is what you're seeing on the logs. Of course the exception thrown will be different on each collector implementation. In theory, this kind of exception should not appear more than once after removing the node/interface. With this in mind, have you checked if this is the case ?

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created March 27, 2015 at 5:48 AM
Updated September 21, 2021 at 6:23 PM