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

Availability Miscalculated in NodeAvailabilityReport.jrxml (and others)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.11, 1.8.14, 1.9.91
    • Fix Version/s: 1.8.15, 1.9.92
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Linux, probably all

      Description

      In the SQL query in NodeAvailabilityReport.jrxml
      node_outages.avail_total is being calculated as total number of seconds in the period being included (e.g., 604800 for a 7 day period)
      outage_seconds is being calculated as the sum of individual outages, not taking into account the number of interfaces in each node.
      This causes the outage time (and outage percentage) to be effectively multiplied by the numeber of interfaces in a node with multiple interfaces monitored.

      I saw this on 1.8.11, but looked at fisheye, and the query remains the same.

        Attachments

          Activity

            People

            • Assignee:
              desloge Donald Desloge
              Reporter:
              theredia Tomás Heredia
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: