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. Saving Traps received to some DB or File

Saving Traps received to some DB or File

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 38.3k 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

    Dear All,

    I want to save SNMP Trap log which are traps received from other systems.
    How would i do that? And how would i do some action/even if a trap is received ?

    Please let me know how to do that.

    THanks
    Darshak

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

      hi darshak,

      to the first question i will let the big guy,victor answer since i am a common user like you.
      the answer to your 2nd question will be divided to 4 parts and all the tools you need are provided in the control panel assuming you are using the old console
      part 1: you have to create an event in the "events" tool.the info u need to enter there is very strait forward and u can use prebuilt events as an examples.
      part 2: you have to create a new trap configuration with the "snmp trap configuration" tool.again, the info you need to enter is strait forward.
      part 3: using the "actions" tool u need to create the action u want to invoke when such a trap is received.
      part 4: using the "event processing policy editor" you need to create a policy with the event created earlier and the action you want to perform.

      hope this info will be enough for you to start using this awesome piece of software.
      lindeamon

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

        Thanks !.

         let me check and comeback for this.

        1 Reply Last reply
        0
        • S
          S
          Sympology
          wrote on last edited by
          #4

          Ok two ways for SNMP, traps and polling.

          A quick guide.
          Changes (including things up / down) are usually SENT to NetXMS  from the device. These are usually configured under "Trap Destinations" or similar.
          Status, e.g. tempreture or items in use, are usally polled for i.e. NetXMS requests the info from the device.
          Here you really need to make sure that your SNMP authentication details match and your destination will accept requests from NetXMS for info.
          Then you will need to make sure you have the mibs for that device set on NetXMS.
          Then the hard work of matching and alerting sets in 🙂

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

            Thanks a lot..Yep that much configuration is done for Trap Receiver.

            Now I have single OID with different String values. How do i match in SNMP Traps -> New  Trap ID -Events..

            I want to match the string not OID is it possible ?

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

              Hi!

              No. it's not possible to match traps with same OID to different events. However, you can do additional matching in event processing policy using scripts, and process same event differently depending on trap parameter values.

              Best regards,
              Victor

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

                Actually, I am not good with details on Trap and its parameters, but would do that and test as per below guidelines.

                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