|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.support.AbstractDetector
org.opennms.netmgt.provision.detector.snmp.SnmpDetector
org.opennms.netmgt.provision.detector.snmp.DiskUsageDetector
@Component @Scope(value="prototype") public class DiskUsageDetector
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.opennms.netmgt.provision.detector.snmp.SnmpDetector |
|---|
SnmpDetector.SnmpExchange |
| Field Summary |
|---|
| Fields inherited from class org.opennms.netmgt.provision.detector.snmp.SnmpDetector |
|---|
DEFAULT_SERVICE_NAME |
| Constructor Summary | |
|---|---|
DiskUsageDetector()
Constructor for DiskUsageDetector. |
|
| Method Summary | |
|---|---|
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,
DetectorMonitor detectMonitor)
isServiceDetected |
void |
setDisk(String disk)
setDisk |
void |
setHrStorageDescr(String hrStorageDescr)
Setter for the field hrStorageDescr. |
void |
setMatchType(String matchType)
setMatchType |
| Methods inherited from class org.opennms.netmgt.provision.detector.snmp.SnmpDetector |
|---|
configureAgentPTR, configureAgentVersion, dispose, getAgentConfigFactory, getForceVersion, getOid, getValue, getVbvalue, init, onInit, setAgentConfigFactory, setForceVersion, setOid, setVbvalue |
| Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector |
|---|
getPort, getRetries, getServiceName, getTimeout, log, setPort, setRetries, setServiceName, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiskUsageDetector()
Constructor for DiskUsageDetector.
| Method Detail |
|---|
public String getProtocolName()
public boolean isProtocolSupported(InetAddress address)
address - The address to check for support.
public boolean isServiceDetected(InetAddress address,
DetectorMonitor detectMonitor)
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 SyncServiceDetectorisServiceDetected in class SnmpDetectoraddress - a InetAddress object.detectMonitor - a DetectorMonitor object.
public void setMatchType(String matchType)
setMatchType
matchType - a String object.public String getMatchType()
getMatchType
String object.public void setDisk(String disk)
setDisk
disk - a String object.public String getDisk()
getDisk
String object.public void setHrStorageDescr(String hrStorageDescr)
Setter for the field hrStorageDescr.
hrStorageDescr - a String object.public String getHrStorageDescr()
Getter for the field hrStorageDescr.
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||