Class XmpDetector

  • All Implemented Interfaces:
    ServiceDetector, SyncServiceDetector

    public class XmpDetector
    extends Object
    implements SyncServiceDetector
    OpenNMS XMP Detector allows for discovery of service/protocols via provisiond. Our detector is pretty simple right now. All it does is attempt to establish an XmpSession with a system and if it succeeds, it queries a few core MIB variables and returns success. Future enhancements could include more capability information like supported MIBs, modules/plugins, and various dependencies to determine if something is a server for some service (noted by an inbound dependency relationship).
    Version:
    $Id: $
    Author:
    rdk
    • Constructor Detail

      • XmpDetector

        public XmpDetector​(String serviceName,
                           int port)
        Parameters:
        serviceName - a String object
        port - an int specifying tcp port number
      • XmpDetector

        public XmpDetector()