The SNMP traps that are captured by Kiwi Syslog Server are not user friendly and just consist of several OID values. The easiest way to translate these OID values is with the device MIB files. However if I cannot add these MIB files to the MIB database without Solarwinds assistance, I need to find another way to translate the OID values into user friendly messages instead. An alternative was to use a VBscript to take the SNMP trap, look for certain OID values and change them manually: e.g.
Function Main()
' Replace OID values with readable values within the message text field
Field.VarCleanMessageText = Replace(Field.VarCleanMessageTest, "1.3.6.1.4.1.2345.1.1.0.6", "Client Address")
Field.VarCleanMessageText = Replace(Field.VarCleanMessageTest, "1.3.6.1.4.1.2345.1.1.0.10", "Client Port")
Field.VarCleanMessageText = Replace(Field.VarCleanMessageTest, "1.3.6.1.4.1.2345.1.1.0.11", "Event Source")
Field.VarCleanMessageText = Replace(Field.VarCleanMessageTest, "1.3.6.1.4.1.2345.1.1.0.21", "Event Timestamp")
' Return OK to tell syslog that the script ran correctly.
Main = "OK"
End Function
However to manually translate the OID values from the MIB files is a task in itself and to be honest I don't really understanding how to read a MIB file in the first place. I wondered if there was a tool to extract all the OID values and their readable values?