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. Method to see every dropped packet / failed poll?

Method to see every dropped packet / failed poll?

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

    Occasionally I have a need to troubleshoot devices with very rapid pings/polls (at least once a second, ideally every 100ms) and need to be able to see every dropped packet. I want to override the default behavior on that DCI so if it doesn't receive a response within a set period of time, it doesn't just ignore it and try again on the next poll. It will still log the result (simple transform script to show -1 or some other value would be fine) so it easily stands out on a line graph and in the history

    Is this possible to do?

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Not really, system was not designed for this kind of usage without external tools.

      Depending on your task, you can script around nxget/nxsnmpget/nxsnmpget.

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

        Alternatively, can a transform script be used? I'm not sure how the polling engine works but if I did an SNMP poll every second, can I use something simple like

        if ($1 == null) return -1;
        return 1;

        Will null (or any other value) be returned in the case of a failed poll? Or does NetXMS not consider it 'polled' until a response comes back and thus will not log anything in history unless it actually receives a result

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          Transformation script is launched when data collection returns some value. As far as I understand, it will not be launched if data collection returned error.

          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