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 Traps configuration

SNMP Traps configuration

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 16.1k 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
    limsh
    wrote on last edited by
    #1

    Hi,

    I'm trying to setup traps for BGP-sessions, and I've managed to get netxms to set alarm when they go up/down.
    My problem is that I want the neighbor that went down to be in the alarm.

    I can see the following in my SNMP traps log :

    Trap OID: .1.3.6.1.2.1.15.7.2
    Varbinds:
    ...;.1.3.6.1.2.1.15.3.1.14.8.8.8.8

    The peer in this case 8.8.8.8 seems to be included in the Varbind/OID,
    is there some way to extract this in netxms?

    If extract is not possible, can varbinds be output unprocessed?

    Regards

    1 Reply Last reply
    0
    • L
      L
      limsh
      wrote on last edited by
      #2

      Please, help me  😢

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

        Hi,

        You can get the values of the varbinds, but I don't think you can get the varbinds themselves.
        I don't think you can query the SNMP Trap Log via NXSL either, but I guess you could trigger an action that calls a script on the server which pulls the information from the database or via nxshell (i.e. trigger an action on the event via event processing policies, with the action pulling the information out of the logs).

        Alternatively you could:

        • setup DCIs to actively monitor the status of your BGP peers via BGP SNMP table, but that won't be as "instant" as an SNMP trap.
        • use Syslog, where you can grab the relevant information from the message

        Some example syslog from a Cisco:

        %BGP-3-NOTIFICATION: sent to neighbor 192.168.255.5 4/0 (hold time expired) 0 bytes
        %BGP-5-NBR_RESET: Neighbor 192.168.255.5 reset (BGP Notification sent)
        %BGP-5-ADJCHANGE: neighbor 192.168.255.5 Down BGP Notification sent
        %BGP-5-ADJCHANGE: neighbor 192.168.255.5 Up
        

        Someone else may have an easier solution?

        Cheers

        1 Reply Last reply
        0
        • L
          L
          limsh
          wrote on last edited by
          #4

          Hi,

          Thank you very much for your reply.
          But, I want to real-time output it.

          Regards

          1 Reply Last reply
          0
          • L
            L
            limsh
            wrote on last edited by
            #5

            Please help me  😢 😢

            1 Reply Last reply
            0
            • L
              L
              limsh
              wrote on last edited by
              #6

              Please help me..  😢  😢  😢

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

                Hi,

                unfortunately you cannot access actual varbinds from NXSL. I can change it in next release (change is really simple, information is there, just not exposed to NXSL). Then you'll be able to use simple script to extract necessary information.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • L
                  L
                  limsh
                  wrote on last edited by
                  #8

                  Hi Kirhenshtein,

                  Thank you very much for your assistance.
                  I'll wait until the next releases.

                  Best Reguard

                  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