Upgrade 1.12.4 breaks StoreByForeignSource

Description

The upgrade from 1.12.3 to 1.12.4 breaks the storeByForeignSource feature. There are two side effects after the upgrade:

Smaller issue:
The RRD data is stored in

instead of

If you know this behavior, you can move your data before the upgrade just one directory higher.

The bigger issue which results in a loss in your RRD data collection is, the data isn't stored as foreignSource anymore, it is stored as the nodeId.

Environment

OpenNMS CentOS 6.5, install update from yum and running with RRDTool instead of JRobin

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Petr Kocvara February 18, 2014 at 3:14 PM

I have same issue in this environment: CentOS-6.5 32bit and JRobin.
This issue is fixed for me after replace the JAR file with attached one.
Many thanks.

Alejandro Galue February 18, 2014 at 10:15 AM

The attached opennms-dao-1.12.4.jar contains the fix, for those users that can't wait until 1.12.5 is released.

  • Stop OpenNMS

  • Replace the JAR with the attached one

  • Remove all the numeric directories from /var/opennms/rrd (only "fs" must exist)

  • Start OpenNMS

Alejandro Galue February 18, 2014 at 10:12 AM

Fixed on revision c4746d0142d07bbbd2533e9f6037d17d4b15dbc8 for 1.12

Alejandro Galue February 18, 2014 at 10:00 AM

I was able to reproduce the problem and I found the issue on the code. I'll commit the fix soon after verify that the solution works on my own system.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created February 18, 2014 at 9:21 AM
Updated January 27, 2017 at 4:21 PM
Resolved February 18, 2014 at 10:12 AM