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

The resourcecli tool shows metrics as graph (sounds confusing)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 17.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Command-Line Tools
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Dec 14th

      Description

      I found that when listing the information of a particular resource, the metrics are shown under Graphs.

      The metrics are the source of graphs but they are not graphs, they are metrics or data sources (which is a more formal term).

      [root@onms17srv bin]# ./resourcecli show nodeSource[Cisco%3AHQ].interfaceSnmp[Fa1_1-ca01070b001d]
      ID:         nodeSource[Cisco%3AHQ].interfaceSnmp[Fa1_1-ca01070b001d]
      Name:       Fa1_1-ca01070b001d
      Label:      Fa1/1 (Do not use it, 192.168.4.1, 100 Mbps)
      Type:       SNMP Interface Data
      Link:       element/interface.jsp?ipinterfaceid=141
      Parent ID:  nodeSource[Cisco%3AHQ]
      Children:
      Attributes:
        External:
          ifSpeed = '100000000'
          ifSpeedFriendly = '100 Mbps'
        Graphs:
          locIfInPktsSec = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:cisco-router-interface'
          ifHCOutUcastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifInUcastpkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifInDiscards = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifOutUcastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          locIfOutQueueDrops = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:cisco-router-interface'
          ifHCInOctets = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces'
          ifInErrors = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifHCInMulticastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifHCOutBroadcastPkt = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifOutDiscards = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          locIfOutPktsSec = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:cisco-router-interface'
          ifInNUcastpkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifOutOctets = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          locIfInQueueDrops = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:cisco-router-interface'
          ifHCInBroadcastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifHCOutMulticastPkt = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifOutErrors = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifInOctets = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
          ifHCOutOctets = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces'
          ifHCInUcastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-X-interfaces-pkts'
          ifOutNUcastPkts = 'snmp:fs:Cisco:HQ:Fa1_1-ca01070b001d:mib2-interfaces'
        Strings:
          ifHighSpeed = '100'
          ifName = 'Fa1/1'
          ifSpeed = '100000000'
          ifDescr = 'FastEthernet1/1'
      [root@onms17srv bin]#
      

      I think it ls less confusing if we use the word "Metrics" or "Data Sources" instead of "Graphs".

        Attachments

          Activity

            People

            • Assignee:
              cpape Christian Pape
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: