public class DiskUsageDetector extends SnmpDetector
DiskUsageDetector class.
SnmpDetector.MatchType
DEFAULT_SERVICE_NAME
Constructor and Description |
---|
DiskUsageDetector()
Constructor for DiskUsageDetector.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisk()
getDisk
|
String |
getHrStorageDescr()
Getter for the field
hrStorageDescr . |
String |
getMatchType()
getMatchType
|
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target
system for support.
|
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported.
|
boolean |
isServiceDetected(InetAddress address,
SnmpAgentConfig agentConfig)
Returns true if the protocol defined by this plugin is supported.
|
void |
setDisk(String disk)
setDisk
|
void |
setHrStorageDescr(String hrStorageDescr)
Setter for the field
hrStorageDescr . |
void |
setMatchType(String matchType)
setMatchType
|
configureAgentPTR, configureAgentVersion, dispose, getAgentConfig, getForceVersion, getHex, getIsTable, getOid, getValue, getVbvalue, isHex, onInit, setForceVersion, setHex, setIsTable, setOid, setVbvalue
detect
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
public String getProtocolName()
public boolean isProtocolSupported(InetAddress address)
address
- The address to check for support.public boolean isServiceDetected(InetAddress address, SnmpAgentConfig agentConfig)
isServiceDetected
in class SnmpDetector
public void setMatchType(String matchType)
setMatchType
setMatchType
in class SnmpDetector
matchType
- a String
object.public String getMatchType()
getMatchType
getMatchType
in class SnmpDetector
String
object.public void setHrStorageDescr(String hrStorageDescr)
Setter for the field hrStorageDescr
.
hrStorageDescr
- a String
object.Copyright © 2017. All rights reserved.