org.opennms.netmgt.config
Interface CapsdConfig

All Known Implementing Classes:
CapsdConfigManager, DefaultCapsdConfigManager

public interface CapsdConfig


Field Summary
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
 
Method Summary
 void addProtocolPlugin(ProtocolPlugin plugin)
           
 InetAddress determinePrimarySnmpInterface(List<InetAddress> addressList, boolean strict)
           
 boolean getAbortProtocolScansFlag()
          Defines Capsd's behavior when, during a protocol scan, it gets a java.net.NoRouteToHostException exception.
 CapsdConfiguration getConfiguration()
          Return the Capsd configuration object.
 List<String> getConfiguredProtocols()
           
 boolean getDeletePropagationEnabled()
           
 long getInitialSleepTime()
           
 int getMaxRescanThreadPoolSize()
           
 int getMaxSuspectThreadPoolSize()
           
 List<Property> getPluginProperties(ProtocolPlugin plugin)
           
 List<Property> getProtocolConfigurationProperties(ProtocolConfiguration pluginConf)
           
 List<ProtocolConfiguration> getProtocolConfigurations(ProtocolPlugin plugin)
           
 ProtocolPlugin getProtocolPlugin(String svcName)
           
 List<ProtocolPlugin> getProtocolPlugins()
           
 List<Range> getRanges(ProtocolConfiguration pluginConf)
           
 long getRescanFrequency()
           
 SmbAuth getSmbAuth(String target)
          Finds the SMB authentication object using the netbios name.
 List<String> getSpecifics(ProtocolConfiguration pluginConf)
           
 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()
           
 void save()
          Saves the current in-memory configuration to disk and reloads
 long toLong(InetAddress start)
           
 

Field Detail

LAME_SNMP_HOST_IFINDEX

static final 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

See Also:
Constant Field Values
Method Detail

save

void save()
          throws org.exolab.castor.xml.MarshalException,
                 IOException,
                 org.exolab.castor.xml.ValidationException
Saves the current in-memory configuration to disk and reloads

Throws:
org.exolab.castor.xml.MarshalException
IOException
org.exolab.castor.xml.ValidationException

getConfiguration

CapsdConfiguration getConfiguration()
Return the Capsd configuration object.


getSmbAuth

SmbAuth getSmbAuth(String target)
Finds the SMB authentication object using the netbios name. The target of the search.


isAddressUnmanaged

boolean isAddressUnmanaged(InetAddress target)
Checks the configuration to determine if the target is managed or unmanaged.

Parameters:
target - The target to check against.

getRescanFrequency

long getRescanFrequency()

getInitialSleepTime

long getInitialSleepTime()

getMaxSuspectThreadPoolSize

int getMaxSuspectThreadPoolSize()

getMaxRescanThreadPoolSize

int getMaxRescanThreadPoolSize()

getAbortProtocolScansFlag

boolean getAbortProtocolScansFlag()
Defines Capsd's behavior when, during a protocol scan, it gets a java.net.NoRouteToHostException exception. If abort rescan property is set to "true" then Capsd will not perform any additional protocol scans.


getDeletePropagationEnabled

boolean getDeletePropagationEnabled()

getXmlrpc

String getXmlrpc()
Return the boolean xmlrpc as string to indicate if notification to external xmlrpc server is needed.

Returns:
boolean flag as a string value

isXmlRpcEnabled

boolean isXmlRpcEnabled()

getProtocolPlugin

ProtocolPlugin getProtocolPlugin(String svcName)

addProtocolPlugin

void addProtocolPlugin(ProtocolPlugin plugin)

determinePrimarySnmpInterface

InetAddress determinePrimarySnmpInterface(List<InetAddress> addressList,
                                          boolean strict)

getConfiguredProtocols

List<String> getConfiguredProtocols()

getProtocolPlugins

List<ProtocolPlugin> getProtocolPlugins()

getProtocolConfigurations

List<ProtocolConfiguration> getProtocolConfigurations(ProtocolPlugin plugin)

getSpecifics

List<String> getSpecifics(ProtocolConfiguration pluginConf)

getRanges

List<Range> getRanges(ProtocolConfiguration pluginConf)

getPluginProperties

List<Property> getPluginProperties(ProtocolPlugin plugin)

getProtocolConfigurationProperties

List<Property> getProtocolConfigurationProperties(ProtocolConfiguration pluginConf)

toLong

long toLong(InetAddress start)


Copyright © 2009. All Rights Reserved.