Hello!,

I'm trying to integrate LibreNMS with a northbound manager through
SNMP traps using snmptrap@net-snmp.

The way notifications work in that tool is that you can have a
notification event, which has several faults (event interface errors
that applies to 4 ports out of the 48 a device may have).
Notifications are not per port, but per alarm rule on a device.

I'm writing a MIB file to implement that trap, but I see traps don't
allow tables since validation fails with:

Error (level 3), line 284: [notification-object-type] object
`daFaultTable' of notification `daEvent' must be a scalar or column

Events may have N faults, with N starting in 0 (CLEAR events) or any
other number depending on affected entities within a node.

What would be the best approach to send that multientry object table
(faults) in a trap with a parent entity (event)?

For reference, current version of the MIB file:  https://pastebin.com/CZE0FYEU

Regards,
CI.-


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to