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 Receiver not working properly

SNMP TRAP Receiver not working properly

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

    Hi,
    It seems SNMP trap receiver truncates some values

    7-Sep-2011 16:13:50] Received SNMP trap .1.3.6.1.4.1.21067.1.3.4 from 10.152.163.39
    [07-Sep-2011 16:13:50] EVENT 500 (F:0x0001 S:0) FROM CHN-AAA-4: SNMP trap received: .1.3.6.1.4.1.21067.1.3.4 (Parameters: .1.3.6.1.2.1.1.3.0 == '0'; .1.3.6.1.6.3.1.1.4.1.0 == '.1.3.6.1.4.1.21067.1.3.4'; .1.3.6.1.4.1.21067.1.3.4 == '30 37 2D 53 65 70 2D 32 30 31 31 20 31 36 3A 31 33 3A 35 30 3A 20 5B 53 45 52 56 45 52 55 50 5D 20 3A 53 65 72 76 65 72 20 53 74 61 72 74 65 64 20 53 75 63 63 65 73 73 66 75 6C 6C 79 20 57 69 74 68 20 53 65 72 76 69 63 65 73 3A 20 0A 53 4E 4D 50 20 53 65 72 76 69 63 65 20 53 74 61 72 74 65 64 20 53 75 63 63 65 73 73 66 75 6C 6C 79 2E 0A 52 41 44 5F 41 55 54 48 20 53 65 72 76 69 63 65 20 53 74 61 72 74 65 64 20 53 75 63 63 65 73 73 66 75 6C 6C 79 2E 0A 52 41 44 5F 41 43 43 54 20 53 65 72 76 69 63 65 20 53 7')

    Above is log from netxms. Below i am attaching snap from trapviewer software. Which shows correct values .
    I can see the hex values are cut/discarded in netxms


    Trap_Receiver_AAA.JPG

    NETXMS_SNMPTRAP_RECEIVED.png

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

      It's not the trap receiver, but event processing. Currently event's message size limited to 255 characters. Because default event just put everything into message it gets truncated. Usually you will create separate events for traps of interest, and you can carry trap arguments as event parameters, and then use them in actions, for example, without length limitations.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • D
        D
        darshakamodi
        wrote on last edited by
        #3

        To receive Traps, i hadnt configure any event .
         Does it automatically calls Default Event?

        Can you give an example for argument passing ?

        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