Interface CollectionAgentFactory

    • Method Detail

      • createCollectionAgentAndOverrideLocation

        CollectionAgent createCollectionAgentAndOverrideLocation​(String nodeCriteria,
                                                                 InetAddress ipAddr,
                                                                 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