|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.util.Enumeration |
enumeratePackage()
|
java.lang.String |
getCriticalService()
This method returns the configured critical service name. |
Package |
getFirstPackageMatch(java.lang.String ipaddr)
Returns the first package that the ip belongs to, null if none. |
java.lang.String |
getNextOutageIdSql()
|
Package |
getPackage(java.lang.String pkgName)
|
java.util.List |
getRRAList(Package pkg)
Retrieves configured list of RoundRobin Archive statements. |
ServiceMonitor |
getServiceMonitor(java.lang.String svcName)
|
java.util.Map |
getServiceMonitors()
|
int |
getStep(Package pkg)
Retrieves configured RRD step size. |
int |
getThreads()
|
boolean |
getXmlrpc()
This method returns the boolean flag xmlrpc to indicate if notification to external xmlrpc server is needed. |
boolean |
interfaceInPackage(java.lang.String iface,
Package pkg)
This method is used to determine if the named interface is included in the passed package definition. |
boolean |
isPolled(java.lang.String ipaddr)
Returns true if the ip is part of atleast one package. |
boolean |
isPolled(java.lang.String svcName,
Package pkg)
Returns true if this package has the service enabled and if there is a monitor for this service. |
boolean |
isPolled(java.lang.String ipaddr,
java.lang.String svcName)
Returns true if the ip is part of atleast one package and if this package has the service enabled and if there is a monitor for this service. |
boolean |
nodeOutageProcessingEnabled()
Returns true if node outage processing is enabled. |
boolean |
pollAllIfNoCriticalServiceDefined()
This method returns the configured value of the 'pollAllIfNoCriticalServiceDefined' flag. |
void |
rebuildPackageIpListMap()
This method is used to rebuild the package agaist iplist mapping when needed. |
boolean |
serviceInPackageAndEnabled(java.lang.String svcName,
Package pkg)
Returns true if the service is part of the package and the status of the service is set to "on". |
boolean |
serviceMonitored(java.lang.String svcName)
Returns true if the service has a monitor configured, false otherwise. |
boolean |
serviceUnresponsiveEnabled()
Returns true if serviceUnresponsive behavior is enabled. |
void |
update()
|
Method Detail |
public boolean getXmlrpc()
public java.lang.String getCriticalService()
public boolean pollAllIfNoCriticalServiceDefined()
public boolean nodeOutageProcessingEnabled()
public boolean serviceUnresponsiveEnabled()
public void rebuildPackageIpListMap()
public boolean interfaceInPackage(java.lang.String iface, Package pkg)
iface
- The interface to test against the package.pkg
- The package to check for the inclusion of the interface.
public boolean serviceInPackageAndEnabled(java.lang.String svcName, Package pkg)
svcName
- The service name to lookup.pkg
- The package to lookup up service.public boolean serviceMonitored(java.lang.String svcName)
svcName
- The service name to lookup.public Package getFirstPackageMatch(java.lang.String ipaddr)
ipaddr
- the interface to check
public boolean isPolled(java.lang.String ipaddr)
ipaddr
- the interface to check
public boolean isPolled(java.lang.String svcName, Package pkg)
svcName
- the service to checkpkg
- the package to check
public boolean isPolled(java.lang.String ipaddr, java.lang.String svcName)
ipaddr
- the interface to checksvcName
- the service to check
public int getStep(Package pkg)
pkg
- Name of the data collection
public java.util.List getRRAList(Package pkg)
pkg
- Name of the data collection
public java.lang.String getNextOutageIdSql()
public java.util.Enumeration enumeratePackage()
public Package getPackage(java.lang.String pkgName)
public int getThreads()
public java.util.Map getServiceMonitors()
public ServiceMonitor getServiceMonitor(java.lang.String svcName)
public void update() throws java.lang.Exception
java.lang.Exception
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |