SNMP Traps Translation

Hello,

I have an issue translating traps coming from “Dialogic System”. I am uploading all the mibs and with a rule I am trying to get all the traps coming from the system. The problem is when the translation of the traps is enabled the OID Value text comes encrypted, I guess that there is a problem with the Dialogic MIBS so I have removed them but now it’s being translated by one of the base mibs SNMPv2-SMI. Can you please help me solve my issue, I can’t turn off the translation because all the other systems are working just fine. Can someone advice me please?
Please check the screenshot.

Here the translation using SNMP mibs is turned on and instead of proper text such as equipment name or whatever i get things like 0x784d53207365727665722070726f626c656d2064657465637465642e00.
When I turn off the translation using SNMP Mibs everything works fine.

Thanks in advance!

the big hex number seems to be a string ending with a NULL character (00).
it translates to " xMS server problem detected."
take the first first 2 numbers after the 0x. this is your first letter: 0x78 is the hex code for the ascii character “x”… 0x4d == “M” , 0x53 == “S” 0x20 == " " (space)., 0x73 == “s”, 0x 65 == “e” etc
See attached picture for the hex values and corresponding character.

If you are using python for instance, you can put the string behind the 0x into a variable and decode it easily:

msg=“784d53207365727665722070726f626c656d2064657465637465642e00”
print msg.decode(“hex”)
this will print out: xMS server problem detected.

Hope this helps you.

Best regards,

Hi Epco,

Thanks for the fast reply! I don’t know how to interact with the events with a script, I don’t know how to access them or how to manipulate them. Writing a Python script is not a problem with me but I don’t know how to access the database at all.

i can’t help you there, unfortunately. I am not working with traps (yet) so i haven’t investigated this part of check_mk yet.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.