@Component @Scope(value="prototype") public class HostResourceSWRunDetector extends SnmpDetector
DEFAULT_SERVICE_NAME
Constructor and Description |
---|
HostResourceSWRunDetector()
Constructor for HostResourceSWRunDetector.
|
Modifier and Type | Method and Description |
---|---|
String |
getServiceNameOid()
getServiceNameOid
|
String |
getServiceToDetect()
getServiceToDetect
|
boolean |
isServiceDetected(InetAddress address)
isServiceDetected
|
void |
setServiceNameOid(String serviceNameOid)
setServiceNameOid
|
void |
setServiceToDetect(String hostService)
setServiceToDetect
|
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 HostResourceSWRunDetector()
Constructor for HostResourceSWRunDetector.
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 setServiceNameOid(String serviceNameOid)
setServiceNameOid
serviceNameOid
- a String
object.public void setServiceToDetect(String hostService)
setServiceToDetect
hostService
- a String
object.Copyright © 2016. All rights reserved.