Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. SNMP Trap parsing from MIB file.

SNMP Trap parsing from MIB file.

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 32.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    tamal_g
    wrote on last edited by
    #1

    Hi,

    I have a SNMP based sensor device which send traps to SNMP server. I have created a node object named as 'AKSPSersorProbe' and have put its MIB file in the location \NetXMS\var\mibs. The MIB file is already compiled and I can open it from NetXMS MIB explorer. The device sends a SNMP trap with 6 varbinds when any critical vibration is detected. I have created an event with those 6 varbinds and i have created a rule to display this alarm. It was tested working fine.

    My question is when I receive this trap it shows the OID in raw format (I want it to be translated from the MIB file automatically by the server). for example if it shows .1.3.6.1.4.1.3854.1.0.301 then actually I should get it like SPAGENT-MIB::spSwitch1Status (where 'SPAGENT-MIB' is the module name and 'spSwitch1Status' is the enterprise specific trap name).

    Another thing which I noticed is that the varbind integer value is getting parsed from the mib file. In this case the 1st variable is .1.3.6.1.4.1.3854.1.7.1.0 == '4' whose value is '4'. Instead of showing this integer value I should get as its textual convention which is already defined in the MIB file as 'HighCritical'.
    Please help me to configure this. I have attached the SNMP trap log and the MIB file for your reference.

    Thanks and best Regards,
     


    sp.mib

    NetXMS_Trap.txt

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups