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 configuration

snmp configuration

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 11.2k 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.
  • L
    L
    lindeamon
    wrote on last edited by
    #1

    hi,

    i need a clarification on this subject:

    1. what are parameters in "snmp trap mapping" ? are those varbinds ? if so,i have added 1 param. and i have told him to take it by position of 1 but the param number is 2, does that mean that it will take varbind 1 from the trap and tag it is netxms parameter num.1 ?
    2. following th example i have given in the above section i have created an event with %1 in the message field and i have created a corresponding event in the event processing and i got an alarm without the message and only when i changed %1 to %2 as corresponded to the 1st section i got the alarm, should there be a correlation between the parameter number in the snmp trap template and the %# in the event template ?
    3. if all the above is true, what does the %1 from the snmp trap contains and why can not i start the parameters in the varbinds from 1 to match the parameter's number to the varbind number ?

    Thanks,
    Lindeamon

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      There are two entities: event parameters and snmp trap varbinds. Each received trap converted to NetXMS event. This event always gets SNMP trap object ID (OID) as first parameter, so %1 in event template will always be expanded to trap OID. You can map varbinds to event parameters. First mapping will be for parameter number 2, because number 1 already taken. You can identify varbinds within trap in two ways - by position (starting from 1) or by varbind OID. You are not needed to map all varbinds or map them to parameters in same order - you can map varbind #5 to parameter #2 and varbind #1 to parameter #3, for example.

      Hope this makes things more clear!

      Best regards,
      Victor

      1 Reply Last reply
      0
      • L
        L
        lindeamon
        wrote on last edited by
        #3

        hi victor,

        10x a lot.now i understand.

        Best Regards,
        Lindeamon

        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