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

Event-Analysis Report shows incorrect numbers for big values in Top25 Events

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - June 20th 2018

      Description

      see also NMS-5161, this bug still exists, the column for "tally" is too small in the “Top 25 events by UEI and event source”, and the numbers should contain 1,000 separators. See patch.
      The patch also adresses that the list and graph for "enterprise default traps" is not sorted by tally.

      diff --git a/etc/report-templates/EventAnalysis.jrxml b/etc/report-templates/EventAnalysis.jrxml
      index 0860f59..68e232d 100644
      — a/etc/report-templates/EventAnalysis.jrxml
      +++ b/etc/report-templates/EventAnalysis.jrxml
      @@ -411 +411,3 @@ ON

      • (node.nodeid = unknown_traps.nodeid)]]>
        + (node.nodeid = unknown_traps.nodeid)
        +ORDER BY
        + tally DESC]]>
        @@ -883 +885 @@ ON
      • <jr:column width="312" uuid="df014bda-002b-43b3-946a-d750a4db1a66">
        + <jr:column width="305" uuid="df014bda-002b-43b3-946a-d750a4db1a66">
        @@ -886 +888 @@ ON
      • <reportElement style="Table-Header" x="0" y="0" width="312" height="20" uuid="706c12c8-2bcd-43ca-9002-9eba7d3c83eb"/>
        + <reportElement style="Table-Header" x="0" y="0" width="305" height="20" uuid="706c12c8-2bcd-43ca-9002-9eba7d3c83eb"/>
        @@ -893 +895 @@ ON
      • <reportElement style="Eventdisplay Link Style" x="0" y="0" width="312" height="18" uuid="eb014d6d-4c59-4240-94ed-ec5dc750162f"/>
        + <reportElement style="Eventdisplay Link Style" x="0" y="0" width="305" height="18" uuid="eb014d6d-4c59-4240-94ed-ec5dc750162f"/>
        @@ -899 +901 @@ ON
      • <jr:column width="199" uuid="ba8fbe5b-1ae6-4390-b413-da25b22c87b0">
        + <jr:column width="192" uuid="ba8fbe5b-1ae6-4390-b413-da25b22c87b0">
        @@ -902 +904 @@ ON
      • <reportElement style="Table-Header" x="0" y="0" width="199" height="20" uuid="ade7a29f-66fa-4cfc-b334-65005a403588"/>
        + <reportElement style="Table-Header" x="0" y="0" width="192" height="20" uuid="ade7a29f-66fa-4cfc-b334-65005a403588"/>
        @@ -909 +911 @@ ON
      • <reportElement style="Table-Body" x="0" y="1" width="197" height="15" uuid="1f09e386-f984-4b9e-a564-8859498a25b1"/>
        + <reportElement style="Table-Body" x="0" y="1" width="190" height="15" uuid="1f09e386-f984-4b9e-a564-8859498a25b1"/>
        @@ -924 +926 @@ ON
      • <textField>
        + <textField pattern="#,##0;-#,##0">
        @@ -992 +994 @@ ON
      • <textField>
        + <textField pattern="#,##0;-#,##0">
        @@ -1286 +1288 @@ ON
      • <textField>
        + <textField pattern="#,##0;-#,##0">
        @@ -1308 +1310 @@ ON
      • <categoryExpression><![CDATA[$F {ipaddr}

        ]]></categoryExpression>
        + <categoryExpression><![CDATA[$F

        {tally}

        ]]></categoryExpression>

        Attachments

        1. Screen Shot 2018-06-11 at 13.59.08.png
          Screen Shot 2018-06-11 at 13.59.08.png
          72 kB
        2. Screen Shot 2018-06-11 at 13.59.23.png
          Screen Shot 2018-06-11 at 13.59.23.png
          115 kB
        3. report.pdf
          200 kB
        4. report-2.pdf
          638 kB
        5. report-3.pdf
          183 kB

          Activity

            People

            Assignee:
            patrick.schweizer Patrick Schweizer
            Reporter:
            Julius Michael Seibold
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration