NetXMS Support Forum

English Support => Feature Requests => Topic started by: opcenter1218 on November 18, 2014, 08:23:56 PM

Title: Right Click tool - generate a SNMP trap OID/Event mapping from MIB Explorer
Post by: opcenter1218 on November 18, 2014, 08:23:56 PM
I'd like to be able to generate a SNMP trap OID/Event mapping with description from MIB explorer view. Right click tool should prompt which Event the SNMP Trap OID should map to and pull the description from the imported MIB.

For example, I have RedBox MIB loaded but there is no convenient(that I'm aware of) to create all these SNMP Trap OID mappings...

Is my only option to create these mappings manually from the SNMP Trap Configuration view?

Attached is what I'm looking to import into NetXMS somehow...

1=.1.3.6.1.4.1.9854.2.0.1
2=.1.3.6.1.4.1.9854.2.0.2
etc...etc...

Thanks!
Title: Re: Right Click tool - generate a SNMP trap OID/Event mapping from MIB Explorer
Post by: Victor Kirhenshtein on November 19, 2014, 12:56:09 AM
Hi,

if you are familiar with Python you can use nxshell to create a script which will read your input file and create appropriate mappings. Alternatively, you can create script which will convert your file into exported config, and then import that config.
But I agree that having appropriate option in MIB explorer would be most convenient method.

Best regards,
Victor