SNMP Interface Poller fails to send up/down events (with org.springframework.beans.NotWritablePropertyException)

Description

SNMP Interface Poller service does not function in my test environment; no events show up in the events table when an interface changes state. Logs show that the service tries to generate an event on an interface state change, but throws an exception. Relevant logs and configs attached.

Environment

OpenNMS 1.9.90-SNAPSHOT CentOS 5.6 Cisco ASR 1000 router

Acceptance / Success Criteria

None

Attachments

2

Lucidchart Diagrams

Activity

Show:

Andy Ellsworth June 21, 2011 at 5:56 PM

Duplicate of

Kirk Reeves June 21, 2011 at 5:47 PM

This is the behavior reported under

Andy Ellsworth June 21, 2011 at 11:15 AM

This is likely the crux of the issue:

2011-06-21 10:00:11,937 DEBUG [SnmpinterfacepollerScheduler-30 Pool-fiber0] DefaultPollContext: createEvent: uei = uei.opennms.org/nodes/snmp/interfaceOperUp nodeid = 2 date = Tue Jun 21 10:00:11 CDT 2011

2011-06-21 10:00:11,963 WARN [SnmpinterfacepollerScheduler-30 Pool-fiber0] EventBuilder: Could not set field on event: ifIndex
org.springframework.beans.NotWritablePropertyException: Invalid property 'ifIndex' of bean class [org.opennms.netmgt.xml.event.Event]: Bean property 'ifIndex' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Duplicate

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created June 21, 2011 at 11:14 AM
Updated May 11, 2015 at 2:50 PM
Resolved June 21, 2011 at 5:56 PM