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

jmx collector does direct db lookup of nodeid

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.90
    • Fix Version/s: 1.9.91
    • Component/s: Data Collection - JMX
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      org.opennms.netmgt.collectd.JMXCollector.initialize(agent, parameters) makes use of a DB query to determine the nodeid for the collection. Instead of making this database query, the code could be reduced to:

      int nodeID = agent.getNodeId();

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              ronald.roskens@biworldwide.com Ron Roskens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: