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

Overwriting opennms.properties for storeByForeignSource does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 18.0.0, 18.0.1
    • 18.0.2, 19.0.0
    • Architecture
    • Security Level: Default (Default Security Scheme)
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: