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

liebert.sitenet.bypass43* reports reference column names over rrd datasource name limit

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.3
    • Fix Version/s: 1.11.93
    • Component/s: Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The reports liebert.sitenet.bypass43current and liebert.sitenet.bypass43voltage both reference a datasource names that are over the 19 character limit for a rrd datasource name. Adjust the reports to match the alias specified in datacollection/liebert.xml.

      Unable to find source-code formatter for language: patch. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      diff --git a/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties b/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties
      index 103e43e..01bd7a9 100644
      --- a/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties
      +++ b/opennms-base-assembly/src/main/filtered/etc/snmp-graph.properties
      @@ -5357,20 +5357,20 @@ report.liebert.sitenet.bypass2current.command=--title="Liebert Bypass Current" \
        GPRINT:bypass2current:MAX:"Max  \\: %3.2lf %s\\n"
      
       report.liebert.sitenet.bypass43voltage.name=Liebert Bypass Voltage
      -report.liebert.sitenet.bypass43voltage.columns=ls43cUpsBypassVoltage
      +report.liebert.sitenet.bypass43voltage.columns=ls43cUpsBypassVolt
       report.liebert.sitenet.bypass43voltage.type=ls43cUpsBypassLine
       report.liebert.sitenet.bypass43voltage.command=--title="Liebert Bypass Voltage" \
      - DEF:bypass43voltage={rrd1}:ls43cUpsBypassVoltage:AVERAGE \
      + DEF:bypass43voltage={rrd1}:ls43cUpsBypassVolt:AVERAGE \
        LINE2:bypass43voltage#AA0000:"Volts " \
        GPRINT:bypass43voltage:AVERAGE:"Avg  \\: %3.2lf %s" \
        GPRINT:bypass43voltage:MIN:"Min  \\: %3.2lf %s" \
        GPRINT:bypass43voltage:MAX:"Max  \\: %3.2lf %s\\n"
      
       report.liebert.sitenet.bypass43current.name=Liebert Bypass Current
      -report.liebert.sitenet.bypass43current.columns=ls43cUpsBypassCurrent
      +report.liebert.sitenet.bypass43current.columns=ls43cUpsBypassCurr
       report.liebert.sitenet.bypass43current.type=ls43cUpsBypassLine
       report.liebert.sitenet.bypass43current.command=--title="Liebert Bypass Current" \
      - DEF:bypass43current={rrd1}:ls43cUpsBypassCurrent:AVERAGE \
      + DEF:bypass43current={rrd1}:ls43cUpsBypassCurr:AVERAGE \
        LINE2:bypass43current#0000AA:"Amps " \
        GPRINT:bypass43current:AVERAGE:"Avg  \\: %3.2lf %s" \
        GPRINT:bypass43current:MIN:"Min  \\: %3.2lf %s" \
      

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ronald.roskens@biworldwide.com Ron Roskens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: