org.opennms.netmgt.snmpinterfacepoller
Class SnmpPollInterfaceMonitor
java.lang.Object
org.opennms.netmgt.snmpinterfacepoller.SnmpPollInterfaceMonitor
@Distributable(value=DAEMON)
public class SnmpPollInterfaceMonitor
- extends Object
This class is designed to be used by the service poller framework to test the
availability of the SNMP service on remote interfaces. The class implements
the ServiceMonitor interface that allows it to be used along with other
plug-ins by the service poller framework.
- Author:
- Tarus Balog , Mike Davidson , OpenNMS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpPollInterfaceMonitor
public SnmpPollInterfaceMonitor()
poll
public List<PollableSnmpInterface.SnmpMinimalPollInterface> poll(org.opennms.netmgt.snmp.SnmpAgentConfig agentConfig,
List<PollableSnmpInterface.SnmpMinimalPollInterface> mifaces)
The poll() method is responsible for polling the specified address for
SNMP service availability.
- Parameters:
parameters - The package parameters (timeout, retry, etc...) to be used for
this poll.iface - The network interface to test the service on.
- Returns:
- The availability of the interface and if a transition event
should be supressed.
- Throws:
RuntimeException - Thrown for any uncrecoverable errors.
log
protected Category log()
Copyright © 2009. All Rights Reserved.