Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8406

Overwriting opennms.properties for storeByForeignSource does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 18.0.0, 18.0.1
    • Fix Version/s: 18.0.2, 19.0.0
    • Component/s: Architecture
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The default setting in /etc/opennms/opennms.properties is

      org.opennms.rrd.storeByForeignSource=false
      

      if you create a custom config in /etc/opennms/opennms.properties.d/rrd.properties with content

      org.opennms.rrd.storeByForeignSource=true
      

      The data collection with collectd works as expected and persists the performance measurements in the correct RRD files. The WebUI just shows the response time data which is not affected by this setting. It seems the WebUI is picking up the property from /etc/opennms/opennms.properties instead the overwritten one in /etc/opennms/opennms.properties.d/rrd.properties.

      It is required to comment the property in opennms.properties with #org.opennms.rrd.storeByForeignSource=true.
      Which seems not be the intended behavior introduced with NMS-7965.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                j-white Jesse White
                Reporter:
                indigo Ronny Trommer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: