Enhance the Snmp Poller to poll all the "Snmp" Object into database

Description

The snmpPoller poll "SnmpInterface" that are represented by OnmsSnmpInterface. With the same strategy it is possible to "Poll" all the "Snmp" discovered objects into the database.
Actually the service that does this discovery is the linkd that also provides OnmsATInterface (corresponding to atinterface table), OnmsIpRouteTable (that corresponds to iprouteinterface table) and other genral table like STP table and Stp interface table. Each instance can be polled at least to verify if it is defined.

Environment

all OS

Acceptance / Success Criteria

None

blocks

Lucidchart Diagrams

Activity

Show:

Antonio Russo September 5, 2012 at 9:01 AM

David, where you see ip monitor in this issue?

David Hustace September 5, 2012 at 7:31 AM

Antonio, service monitors are really designed for polling IP based services. I'm a little uncomfortable trying to refit that model to detect faults on ports/links.

Antonio Russo May 17, 2011 at 1:03 AM

More you should be able to create a Monitor for every discoved object that is persisted into opennms.
For example this should be the default way of Polling "DataLinkInterface" object. That are object that connects OnmsEntity.

Antonio Russo May 15, 2011 at 4:40 AM

At the same time you can then directly monitor all the snmp stored object into the database.

Antonio Russo May 15, 2011 at 4:38 AM

Try a configuration to monitor the atinterface....

<snmp-interface-poller-configuration threads="30" service="SNMP">
<node-outage>
<critical-service name="ICMP" />
<critical-service name="SNMP" />
</node-outage>
<package name="example1">
<filter>IPADDR != '0.0.0.0'</filter>
<include-range begin="1.1.1.1" end="1.1.1.1" />
<interface name="HSRP" criteria="atphysaddr like '000099%'" interval="300000" user-defined="false" status="on"/>
</package>

<monitor interface="HSRP" class-name="org.opennms.netmgt.snmpinterfacepoller.monitors.OnmsAtInterfaceMonitor"/>
</snmp-interface-poller-configuration>

Won't Fix

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created April 30, 2011 at 9:15 AM
Updated May 11, 2015 at 2:50 PM
Resolved October 1, 2014 at 11:36 AM