Interface CollectionAgentFactory

    • Method Detail

      • createCollectionAgent

        CollectionAgent createCollectionAgent​(java.lang.String nodeCriteria,
                                              java.net.InetAddress ipAddr)
      • createCollectionAgentAndOverrideLocation

        CollectionAgent createCollectionAgentAndOverrideLocation​(java.lang.String nodeCriteria,
                                                                 java.net.InetAddress ipAddr,
                                                                 java.lang.String location)
        Create a collection agent for the given IP interface, and optionally override the node's location. Overriding the node's location is strictly used for testing (i.e. via the opennms:collect) command in the Karaf console and is not used in normal operations.
        Parameters:
        nodeCriteria - node id or fs:fid
        ipAddr - ip address associated with the node
        location - null if the nodes existing location should be used
        Returns:
        the CollectionAgent