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. agent traps

agent traps

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 14.8k 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,

    can anyone tell me what kind of traps does the agent send ?
    when i create a parser file to check something in the eventlog and this rule is triggered,does the agent send a trap ? or it waits for the server to pull this ?

    lindeamon

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

      Hi!

      Agent can send events to server. When you define matching rule in parser file, you can specify what event to send using <event> tag. You should specify NetXMS event code. For example, if you create new event, and it was assigned code 100003, you must add <event>100003</event> to your matching rule to send this event to server when matching line found. On server side, those events can be processed as usual in event processing policy.

      Best regards,
      Victor

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

        hi victor,

        so what you are telling me is that a trap gets sent everytime a rule is checked and matched and has an event tag ?
        the reason i am asking is that i understood this before but for some reason i have checked an agent and i expected to a large number of traps but instead i saw only 2 traps,why is that ?
        if i reset the agent,does it reset the data ? also when i define perfmon counters where does it stores the data ? does it sent it to the server every check ? in case of loosing communication to the server,does it stores the data and send upon comm. restored ?

        best regards,
        lindeamon

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

          Hi!

          Sorry, I don't fully understand question part about perfmon counters and they data. To clarify things: there are two types of communication between server and agent - polls and traps. For data (i.e. DCI defined on the node) server uses polling. For async events - like new event log record - agent generates traps. So, performance data is lost when there are no connection between server and agent (which is not very good, and I'm thinking of adding something similar to HP Operations policies to enable agents to collect data without connection with server - but for now it is as it is). Traps, however, are kept in memory until communication with the server is restored - so, if agent was not restarted, it will send all pending traps as soon as server reconnects.

          Best regards,
          Victor

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

            thank you victor,

            i understand it now.

            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