Package org.opennms.netmgt.config
Interface SnmpInterfacePollerConfig
-
- All Known Implementing Classes:
SnmpInterfacePollerConfigFactory
,SnmpInterfacePollerConfigManager
public interface SnmpInterfacePollerConfig
SnmpInterfacePollerConfig interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAllPackageMatches(java.lang.String ipaddr)
getAllPackageMatchesjava.util.Optional<java.lang.String>
getCriteria(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getCriteriajava.lang.String[]
getCriticalServiceIds()
getCriticalServiceIdsjava.lang.String
getDownValues()
getDownValuesjava.lang.String
getDownValues(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getDownValuesjava.util.Set<java.lang.String>
getInterfaceOnPackage(java.lang.String pkgName)
getInterfaceOnPackagelong
getInterval()
long
getInterval(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getIntervaljava.lang.Integer
getMaxVarsPerPdu(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getMaxVarsPerPdujava.lang.String
getPackageName(java.lang.String ipaddr)
getPackageNamejava.util.Optional<java.lang.Integer>
getPort(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getPortjava.util.Optional<java.lang.Integer>
getRetries(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getRetriesjava.lang.String
getService()
getServiceboolean
getStatus(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getStatusint
getThreads()
getThreadsjava.util.Optional<java.lang.Integer>
getTimeout(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getTimeoutjava.lang.String
getUpValues()
getUpValuesjava.lang.String
getUpValues(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getUpValuesboolean
hasMaxVarsPerPdu(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasMaxVarsPerPduboolean
hasPort(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasPortboolean
hasRetries(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasRetriesboolean
hasTimeout(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasTimeoutvoid
rebuildPackageIpListMap()
rebuildPackageIpListMapvoid
update()
updateboolean
useCriteriaFilters()
useCriteriaFilters
-
-
-
Method Detail
-
getInterval
long getInterval()
- Returns:
- the Default interval
-
getThreads
int getThreads()
getThreads
- Returns:
- a int.
-
useCriteriaFilters
boolean useCriteriaFilters()
useCriteriaFilters
- Returns:
- a boolean.
-
getUpValues
java.lang.String getUpValues()
getUpValues
- Returns:
- a String
-
getDownValues
java.lang.String getDownValues()
getDownValues
- Returns:
- a String
-
getService
java.lang.String getService()
getService
- Returns:
- a
String
object.
-
getCriticalServiceIds
java.lang.String[] getCriticalServiceIds()
getCriticalServiceIds
- Returns:
- an array of
String
objects.
-
getAllPackageMatches
java.util.List<java.lang.String> getAllPackageMatches(java.lang.String ipaddr)
getAllPackageMatches
- Parameters:
ipaddr
- aString
object.- Returns:
- a
List
object.
-
getPackageName
java.lang.String getPackageName(java.lang.String ipaddr)
getPackageName
- Parameters:
ipaddr
- aString
object.- Returns:
- a
String
object.
-
getInterfaceOnPackage
java.util.Set<java.lang.String> getInterfaceOnPackage(java.lang.String pkgName)
getInterfaceOnPackage
- Parameters:
pkgName
- aString
object.- Returns:
- a
Set
object.
-
getStatus
boolean getStatus(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getStatus
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a boolean.
-
getInterval
long getInterval(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getInterval
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a long.
-
getCriteria
java.util.Optional<java.lang.String> getCriteria(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getCriteria
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a
String
object.
-
hasPort
boolean hasPort(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasPort
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a boolean.
-
getPort
java.util.Optional<java.lang.Integer> getPort(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getPort
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a int.
-
hasTimeout
boolean hasTimeout(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasTimeout
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a boolean.
-
getTimeout
java.util.Optional<java.lang.Integer> getTimeout(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getTimeout
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a int.
-
hasRetries
boolean hasRetries(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasRetries
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a boolean.
-
getRetries
java.util.Optional<java.lang.Integer> getRetries(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getRetries
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a int.
-
hasMaxVarsPerPdu
boolean hasMaxVarsPerPdu(java.lang.String pkgName, java.lang.String pkgInterfaceName)
hasMaxVarsPerPdu
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a boolean.
-
getMaxVarsPerPdu
java.lang.Integer getMaxVarsPerPdu(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getMaxVarsPerPdu
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a int.
-
getUpValues
java.lang.String getUpValues(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getUpValues
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a String.
-
getDownValues
java.lang.String getDownValues(java.lang.String pkgName, java.lang.String pkgInterfaceName)
getDownValues
- Parameters:
pkgName
- aString
object.pkgInterfaceName
- aString
object.- Returns:
- a String.
-
rebuildPackageIpListMap
void rebuildPackageIpListMap()
rebuildPackageIpListMap
-
update
void update() throws java.io.IOException
update
- Throws:
java.io.IOException
- if any.
-
-