public interface CapsdConfig
CapsdConfig interface.
Modifier and Type | Field and Description |
---|---|
static int |
LAME_SNMP_HOST_IFINDEX
This integer value is used to represent the primary SNMP interface
ifindex in the ipinterface table for SNMP hosts that don't support
the MIB2 ipAddrTable
|
Modifier and Type | Method and Description |
---|---|
void |
addProtocolPlugin(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
addProtocolPlugin
|
boolean |
getAbortProtocolScansFlag()
Defines Capsd's behavior when, during a protocol scan, it gets a
java.net.NoRouteToHostException exception.
|
org.opennms.netmgt.config.capsd.CapsdConfiguration |
getConfiguration()
Return the Capsd configuration object.
|
List<String> |
getConfiguredProtocols()
getConfiguredProtocols
|
boolean |
getDeletePropagationEnabled()
getDeletePropagationEnabled
|
long |
getInitialSleepTime()
getInitialSleepTime
|
int |
getMaxRescanThreadPoolSize()
getMaxRescanThreadPoolSize
|
int |
getMaxSuspectThreadPoolSize()
getMaxSuspectThreadPoolSize
|
List<org.opennms.netmgt.config.capsd.Property> |
getPluginProperties(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
getPluginProperties
|
List<org.opennms.netmgt.config.capsd.Property> |
getProtocolConfigurationProperties(org.opennms.netmgt.config.capsd.ProtocolConfiguration pluginConf)
getProtocolConfigurationProperties
|
List<org.opennms.netmgt.config.capsd.ProtocolConfiguration> |
getProtocolConfigurations(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
getProtocolConfigurations
|
org.opennms.netmgt.config.capsd.ProtocolPlugin |
getProtocolPlugin(String svcName)
getProtocolPlugin
|
List<org.opennms.netmgt.config.capsd.ProtocolPlugin> |
getProtocolPlugins()
getProtocolPlugins
|
List<org.opennms.netmgt.config.capsd.Range> |
getRanges(org.opennms.netmgt.config.capsd.ProtocolConfiguration pluginConf)
getRanges
|
long |
getRescanFrequency()
getRescanFrequency
|
org.opennms.netmgt.config.capsd.SmbAuth |
getSmbAuth(String target)
Finds the SMB authentication object using the netbios name.
|
List<String> |
getSpecifics(org.opennms.netmgt.config.capsd.ProtocolConfiguration pluginConf)
getSpecifics
|
String |
getXmlrpc()
Return the boolean xmlrpc as string to indicate if notification to
external xmlrpc server is needed.
|
boolean |
isAddressUnmanaged(InetAddress target)
Checks the configuration to determine if the target is managed or
unmanaged.
|
boolean |
isXmlRpcEnabled()
isXmlRpcEnabled
|
void |
save()
Saves the current in-memory configuration to disk and reloads
|
static final int LAME_SNMP_HOST_IFINDEX
void save() throws org.exolab.castor.xml.MarshalException, IOException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
- if any.IOException
- if any.org.exolab.castor.xml.ValidationException
- if any.org.opennms.netmgt.config.capsd.CapsdConfiguration getConfiguration()
CapsdConfiguration
object.org.opennms.netmgt.config.capsd.SmbAuth getSmbAuth(String target)
target
- a String
object.SmbAuth
object.boolean isAddressUnmanaged(InetAddress target)
target
- The target to check against.long getRescanFrequency()
getRescanFrequency
long getInitialSleepTime()
getInitialSleepTime
int getMaxSuspectThreadPoolSize()
getMaxSuspectThreadPoolSize
int getMaxRescanThreadPoolSize()
getMaxRescanThreadPoolSize
boolean getAbortProtocolScansFlag()
boolean getDeletePropagationEnabled()
getDeletePropagationEnabled
String getXmlrpc()
boolean isXmlRpcEnabled()
isXmlRpcEnabled
org.opennms.netmgt.config.capsd.ProtocolPlugin getProtocolPlugin(String svcName)
getProtocolPlugin
svcName
- a String
object.ProtocolPlugin
object.void addProtocolPlugin(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
addProtocolPlugin
plugin
- a ProtocolPlugin
object.List<String> getConfiguredProtocols()
getConfiguredProtocols
List
object.List<org.opennms.netmgt.config.capsd.ProtocolPlugin> getProtocolPlugins()
getProtocolPlugins
List
object.List<org.opennms.netmgt.config.capsd.ProtocolConfiguration> getProtocolConfigurations(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
getProtocolConfigurations
plugin
- a ProtocolPlugin
object.List
object.List<String> getSpecifics(org.opennms.netmgt.config.capsd.ProtocolConfiguration pluginConf)
getSpecifics
pluginConf
- a ProtocolConfiguration
object.List
object.List<org.opennms.netmgt.config.capsd.Range> getRanges(org.opennms.netmgt.config.capsd.ProtocolConfiguration pluginConf)
getRanges
pluginConf
- a ProtocolConfiguration
object.List
object.List<org.opennms.netmgt.config.capsd.Property> getPluginProperties(org.opennms.netmgt.config.capsd.ProtocolPlugin plugin)
getPluginProperties
plugin
- a ProtocolPlugin
object.List
object.Copyright © 2015. All rights reserved.