SNMP asset provisioning adapter config/db label mismatches

Description

Even though assets table column names are serialnumber, modelnumber, and operatingsystem (did not test all columns), snmp collected entries will not populate unless the config specifies serialNumber, modelNumber and operatingSystem.

These need to be made consistent.

The logs are helpful and give a "are you sure you don't want to use modelNumber?" type clue.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger November 5, 2012 at 2:02 PM

The issue here is that we use the Java bean field names when parsing configuration files and REST XML data and these field names are case-sensitive, unlike the PostgreSQL field names.

I'm going to update the wiki documentation for this feature to document the list of valid asset fields.

http://www.opennms.org/wiki/SNMP_Asset_Provisioning_Adapter#Configuration

Won't Fix

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created September 11, 2012 at 8:56 PM
Updated November 5, 2012 at 2:02 PM
Resolved November 5, 2012 at 2:02 PM