Thanks to Dave Shield for having the patience to explain this 10 years ago:
https://sourceforge.net/p/net-snmp/mailman/message/28774933/ With the explanation and hints, I could fix my MIB file definition. Now moving to the implementation. :) Regards, CI.- El dom, 11 sept 2022 a las 21:49, Cyrus (<cyru...@gmail.com>) escribió: > > 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.- -- Ciro Iriarte http://iriarte.it -- _______________________________________________ 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