Class DiskUsageDetector

    • Constructor Detail

      • DiskUsageDetector

        public DiskUsageDetector()

        Constructor for DiskUsageDetector.

    • Method Detail

      • getProtocolName

        public java.lang.String getProtocolName()
        Returns the name of the protocol that this plugin checks on the target system for support.
        Returns:
        The protocol name for this plugin.
      • isProtocolSupported

        public boolean isProtocolSupported​(java.net.InetAddress address)
        Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller.
        Parameters:
        address - The address to check for support.
        Returns:
        True if the protocol is supported by the address.
      • isServiceDetected

        public boolean isServiceDetected​(java.net.InetAddress address,
                                         SnmpAgentConfig agentConfig)
        Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. The qualifier map passed to the method is used by the plugin to return additional information by key-name. These key-value pairs can be added to service events if needed.
        Overrides:
        isServiceDetected in class SnmpDetector
      • setMatchType

        public void setMatchType​(java.lang.String matchType)

        setMatchType

        Overrides:
        setMatchType in class SnmpDetector
        Parameters:
        matchType - a String object.
      • getMatchType

        public java.lang.String getMatchType()

        getMatchType

        Overrides:
        getMatchType in class SnmpDetector
        Returns:
        a String object.
      • setDisk

        public void setDisk​(java.lang.String disk)

        setDisk

        Parameters:
        disk - a String object.
      • getDisk

        public java.lang.String getDisk()

        getDisk

        Returns:
        a String object.
      • setHrStorageDescr

        public void setHrStorageDescr​(java.lang.String hrStorageDescr)

        Setter for the field hrStorageDescr.

        Parameters:
        hrStorageDescr - a String object.
      • getHrStorageDescr

        public java.lang.String getHrStorageDescr()

        Getter for the field hrStorageDescr.

        Returns:
        a String object.