|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional public interface PollerBackEnd
| Method Summary | |
|---|---|
void |
checkForDisconnectedMonitors()
|
void |
configurationUpdated()
|
java.util.Collection<org.opennms.netmgt.model.OnmsMonitoringLocationDefinition> |
getMonitoringLocations()
Return the set of available MonitoringLocationDefinitions |
java.lang.String |
getMonitorName(int locationMonitorId)
Get monitor name |
PollerConfiguration |
getPollerConfiguration(int locationMonitorId)
Gets the poller configuration assigned to this monitoring location |
java.util.Collection<ServiceMonitorLocator> |
getServiceMonitorLocators(DistributionContext context)
Get service monitor locators for creating serviceMonitors for the poller. |
org.opennms.netmgt.model.OnmsLocationMonitor.MonitorStatus |
pollerCheckingIn(int locationMonitorId,
java.util.Date currentConfigurationVersion)
Checkin with the backend to let it know that the poller is still alive and to find out if there are any configuration changes. |
boolean |
pollerStarting(int locationMonitorId,
java.util.Map<java.lang.String,java.lang.String> pollerDetails)
Notifies the backend that a registered poller is starting |
void |
pollerStopping(int locationMonitorId)
Notifies the backend that a registered poller is stopping |
int |
registerLocationMonitor(java.lang.String monitoringLocationId)
Register a new location monitor |
void |
reportResult(int locationMonitorID,
int serviceId,
org.opennms.netmgt.model.PollStatus status)
Report a poll result from the client to the server. |
| Method Detail |
|---|
@Transactional(readOnly=true) java.util.Collection<org.opennms.netmgt.model.OnmsMonitoringLocationDefinition> getMonitoringLocations()
int registerLocationMonitor(java.lang.String monitoringLocationId)
monitoringLocationId - the id of the monitoredLocation to associate with
this location monitor
java.lang.String getMonitorName(int locationMonitorId)
java.util.Collection<ServiceMonitorLocator> getServiceMonitorLocators(DistributionContext context)
boolean pollerStarting(int locationMonitorId,
java.util.Map<java.lang.String,java.lang.String> pollerDetails)
locationMonitorId - the id of the requesting location monitorpollerDetails - TODOvoid pollerStopping(int locationMonitorId)
locationMonitorId - the id of the requesting location monitor
org.opennms.netmgt.model.OnmsLocationMonitor.MonitorStatus pollerCheckingIn(int locationMonitorId,
java.util.Date currentConfigurationVersion)
locationMonitorId - the id of the location monitor that is checking incurrentConfigurationVersion - the version of the configuration that the location monitor is currently using
@Transactional(readOnly=true) PollerConfiguration getPollerConfiguration(int locationMonitorId)
locationMonitorId - the id of the requesting location monitor
void reportResult(int locationMonitorID,
int serviceId,
org.opennms.netmgt.model.PollStatus status)
locationMonitorID - the id of the location monitor that did the pollserviceId - the id of the service that was polledpollStatus - the result of the pollvoid configurationUpdated()
void checkForDisconnectedMonitors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||