Package org.opennms.netmgt.config.poller
Class PollerConfiguration
- java.lang.Object
-
- org.opennms.netmgt.config.poller.PollerConfiguration
-
- All Implemented Interfaces:
Serializable
public class PollerConfiguration extends Object implements Serializable
Top-level element for the poller-configuration.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PollerConfiguration()
-
Method Summary
-
-
-
Method Detail
-
getThreads
public Integer getThreads()
The maximum number of threads used for polling.
-
setThreads
public void setThreads(Integer threads)
-
getNextOutageId
public String getNextOutageId()
SQL query for getting the next outage ID.
-
setNextOutageId
public void setNextOutageId(String nextOutageId)
-
getServiceUnresponsiveEnabled
public String getServiceUnresponsiveEnabled()
Enable/disable serviceUnresponsive behavior
-
setServiceUnresponsiveEnabled
public void setServiceUnresponsiveEnabled(String serviceUnresponsiveEnabled)
-
getPathOutageEnabled
public String getPathOutageEnabled()
Flag which indicates if the optional path outage feature is enabled
-
setPathOutageEnabled
public void setPathOutageEnabled(String pathOutageEnabled)
-
getNodeOutage
public NodeOutage getNodeOutage()
Configuration of node-outage functionality
-
setNodeOutage
public void setNodeOutage(NodeOutage nodeOutage)
-
addPackage
public void addPackage(Package pack) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removePackage
public boolean removePackage(Package pack)
-
addMonitor
public void addMonitor(Monitor monitor) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeMonitor
public boolean removeMonitor(Monitor monitor)
-
getPollerConfigurationForPackages
public PollerConfiguration getPollerConfigurationForPackages(List<String> pollingPackageNames)
-
getDefaultCriticalPathIp
public InetAddress getDefaultCriticalPathIp()
-
setDefaultCriticalPathIp
public void setDefaultCriticalPathIp(InetAddress ip)
-
getDefaultCriticalPathTimeout
public Integer getDefaultCriticalPathTimeout()
-
setDefaultCriticalPathTimeout
public void setDefaultCriticalPathTimeout(Integer timeout)
-
getDefaultCriticalPathRetries
public int getDefaultCriticalPathRetries()
-
setDefaultCriticalPathRetries
public void setDefaultCriticalPathRetries(Integer retries)
-
-