@Component @Scope(value="prototype") public class DiskUsageDetector extends SnmpDetector
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)
isServiceDetected
|
void |
setDisk(String disk)
setDisk
|
void |
setHrStorageDescr(String hrStorageDescr)
Setter for the field
hrStorageDescr . |
void |
setMatchType(String matchType)
setMatchType
|
afterPropertiesSet, configureAgentPTR, configureAgentVersion, dispose, getAgentConfigFactory, getForceVersion, getOid, getValue, getVbvalue, onInit, setAgentConfigFactory, setForceVersion, setOid, setVbvalue
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)
isServiceDetected
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.isServiceDetected
in interface SyncServiceDetector
isServiceDetected
in class SnmpDetector
address
- a InetAddress
object.public void setMatchType(String matchType)
setMatchType
matchType
- a String
object.public void setHrStorageDescr(String hrStorageDescr)
Setter for the field hrStorageDescr
.
hrStorageDescr
- a String
object.Copyright © 2016. All rights reserved.