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. It is a question about receiving snmptrap.

It is a question about receiving snmptrap.

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 53.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.
  • M
    M
    Med
    wrote on last edited by
    #1

    Hello!

    There is a device that can send traps of version v1 or v2c or Inform of snmp in the monitoring target and it is set to trap in the trap of the current v1, so it can receive without problems and an event has occurred.
    If you trap this setting with v2c trap or Infom, you can receive but it will be SNMP_UNMATCH_TRAP.
    Do I need to change the setting of NetXMS?

    OS Version: Windows2012 (64bit)
    NetXMS Version: 2.2.6

    Thank you.

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

      Hi,

      it should not be version dependent. Could you take screenshot or export your SNMP trap configuration and provide example of actual trap received and incorrectly matched?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        Med
        wrote on last edited by
        #3

        Hi,

        Thank you for the immediate reply.
        Attach the setting and the log when actually generating the trap.

        DiChangeValue.xml: Corresponding Event and SnmpTrap Configuration.
        EventLog.csv: Event log when tasting in execution.
        SnmpTrapLog.csv: Event log when tasting in execution.

        I tested in the following order.
        V1Trap -> DiChangeValue1 * OK *
        V1Trap -> DiChangeValue 0 * OK *
        V2Trap -> DiChangeValue1 * NG *
        V2Trap -> DiChangeValue 0 * NG *
        Inform -> DiChangeValue 1 * NG *
        Inform -> DiChangeValue 0 * NG *

        Thank you.


        DiChangeValue.xml

        EventLog.csv

        SnmpTrapLog.csv

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

          Hi,

          it seems that trap OID is different for version 1 and versions 2-3. For version 1 it is .1.3.6.1.4.1.2589.1.2.0.8 and version 2 it is .1.3.6.1.4.1.2589.1.2.8
           (no .0 before last element). I'm not sure if it is NetXMS bug in parsing trap PDUs or device bug - will check that further. Anyway you just need to create second mapping with v2/3 OID and it will work.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • M
            M
            Med
            wrote on last edited by
            #5

            Hi,

            When notifying with V2c and Inform, we confirmed with the manufacturer that it is notified with OID different from V1.

            Sorry.
            Thank you very much for pointing out.

            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