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

The DataCollectionConfigDao returns all resource types, even if they are not used in any data collection package.

    Details

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

      Description

      Calling DataCollectionConfigDao#getConfiguredResourceTypes() returns all of the available resource types, even if they are not associated with any data collection package.

      This mean that in order to remove "active" resource types, you have to remove their definitions completely from etc/datacollection/.

      The DefaultResourceDao uses these definitions when searching for resources, and every definitions requires additional IO operations when loading resources for a node. It should be possible for an administrator to disable those that not being used by removing references to them in datacollection-config.xml.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                j-white Jesse White
                Reporter:
                j-white Jesse White
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: