Exception in SnmpAttributeType.create disables all datacollection for that node

Description

If the String returned by mibObj.getType causes SnmpAttributeType.create to throw an exception, SNMP collection for that node halts. No other objects are collected.

This can happen, for example, if a mibObj has the type IpAddress, which is a defined type from SNMPv2-SMI but is not recognized by any of the attribute types checked in SnmpAttributeType.create.

We've encountered this issue with Checkpoint firewalls and Citrix netscalers.

Expected Behavior:
An exception in creating a single attribute should be handled, and should not cause collection for the rest of the objects on that node to fail indefinitely.
The IpAddress object type should also be supported.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Will Keaney May 13, 2020 at 6:45 PM

Perhaps the create failure can generate an event, to increase visibility of the problem.

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created May 13, 2020 at 6:38 PM
Updated August 4, 2023 at 1:30 AM