org.opennms.netmgt.poller.monitors
Class Win32ServiceMonitor

java.lang.Object
  extended by org.opennms.netmgt.poller.monitors.IPv4Monitor
      extended by org.opennms.netmgt.poller.monitors.SnmpMonitorStrategy
          extended by org.opennms.netmgt.poller.monitors.SnmpMonitor
              extended by org.opennms.netmgt.poller.monitors.Win32ServiceMonitor
All Implemented Interfaces:
ServiceMonitor

public class Win32ServiceMonitor
extends SnmpMonitor

Author:
Jeff Gehlbach

Field Summary
 
Fields inherited from class org.opennms.netmgt.poller.monitors.SnmpMonitorStrategy
EQUALS, GREATER_THAN, GREATER_THAN_EQUALS, LESS_THAN, LESS_THAN_EQUALS, MATCHES, NOT_EQUAL
 
Constructor Summary
Win32ServiceMonitor()
           
 
Method Summary
 PollStatus poll(MonitoredService svc, Map parameters)
           The poll() method is responsible for polling the specified address for SNMP service availability.
 
Methods inherited from class org.opennms.netmgt.poller.monitors.SnmpMonitor
initialize, initialize, serviceName
 
Methods inherited from class org.opennms.netmgt.poller.monitors.SnmpMonitorStrategy
meetsCriteria
 
Methods inherited from class org.opennms.netmgt.poller.monitors.IPv4Monitor
log, logDown, logDown, logUp, release, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Win32ServiceMonitor

public Win32ServiceMonitor()
Method Detail

poll

public PollStatus poll(MonitoredService svc,
                       Map parameters)
Description copied from class: SnmpMonitor

The poll() method is responsible for polling the specified address for SNMP service availability.

Specified by:
poll in interface ServiceMonitor
Overrides:
poll in class SnmpMonitor
Parameters:
svc - TODO
parameters - The package parameters (timeout, retry, etc...) to be used for this poll.
Returns:
The availability of the interface and if a transition event should be supressed.
See Also:
PollStatus.SERVICE_AVAILABLE, PollStatus.SERVICE_UNAVAILABLE


Copyright © 2009. All Rights Reserved.