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

JRobin VDEFs sometimes do not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 1.9.3
    • Fix Version/s: 1.8.8, 1.9.4
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Any system using the JRobin RRD strategy

      Description

      The JRobinRrdStrategy was enhanced in version 1.8.5 to support the use of VDEFs (for e.g. calculating 95th percentile) in resource graphs on systems where JRobin is used to store RRD data. ML_cms reports via the IRC channel that the resource graph described at the following URL does not work for him in OpenNMS 1.8.7:

      http://www.opennms.org/wiki/Graph_Gallery#Bits_In.2FOut_integrating_Bandwidth_Utilization

      Investigation showed that the data sources (DEFs and CDEFs) needed to calculate a VDEF's value were not always being evaluated in the right order. This problem was due to the use of a HashMap in an operation sensitive to ordering. I've updated an existing unit test to illustrate the problem and have a fix ready to check in.

        Attachments

          Activity

            People

            • Assignee:
              jeffg Jeff Gehlbach
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: