Enterprise Alert offers the possibility to directly receive SNMP traps and generate alarms from them.
The SNMP traps contain a number of parameters that are identified by OIDs. These OIDs are quite cryptic and not very meaningful.
So-called MIB files are used to assign meaningful names to the OIDs.
OID: 188.8.131.52.4.1.39165.1.5 -> Label: DeviceID
The following describes how you can use a script to import such MIB files to display meaningful names instead of OIDs in SNMP events. You can also use these names in alert policies.
The procedure is as follows:
Convert the MIB files into XML
For this we use the MIB Importer of the company Paessler: https://www.de.paessler.com/tools/mibimporter
This tool parses one or more MIB files (File -> Import MIB file). If these were successfully recognized, you can create a so-called OIDLIB (File -> Save OIDlib as …). This is an XML file to which you should add the extension .xml afterwards. This tool automatically adds standard OIDs and their names.
Import into Enterprise Alert
Done. Now the parameter names in the SNMP event should contain meaningful names.