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. Pinging with large packet and monitoring router internal/external address

Pinging with large packet and monitoring router internal/external address

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 33.7k 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.
  • E
    E
    Egert143
    wrote on last edited by
    #1

    Hello

    Question when i am monitoring router with local network address, is it possible to monitor external address also within same node or do i need to create seperate node ? Also how can i check if large packet ping is working ?

    Egert

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

      One way is to create a DCI on that node with Icmp.Ping(target, timeout, psize) metric. "psize" parameter defines packet size.
      In "Source node" in DCI's properties you can select a node from which the ping will be actually sent.

      Second way - you can manually add an interface with the external IP and then use ICMP statistic collection on that interface. But in this case it's not possible to set packet size.
      https://www.netxms.org/documentation/adminguide/icmp-ping.html#

      1 Reply Last reply
      0
      • E
        E
        Egert143
        wrote on last edited by
        #3

        Got that part working, any good suggestions how to implement something like that:

        example:
        packet size 1500+ pings = good
        less then 1500 pings but bigger packet not = bad
        no response = external network down

        sometimes network provider network wount pass packet size over for example 1000 and that kills vpn tunnel.

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

          There are several approaches here

          • you can create two DCIs - one for pinging with short packets, another for big packets. In a third, script, DCI you can read last collected values of these pinging DCIs
            GetDCIValue($node, FindDCIByName($node, "DCI_NAME"))
            and make decision. This script DCI can return e.g. 1 or 0 and have a trigger that creates event.

          • You can have a script DCI that poll several agent parameters at once.
            $node->readAgentParameter("Icmp.Ping(8.8.8.8, 1000, 1500)")
            It's not recommended for such script DCI to run for very long (longer then 3-5 seconds) as having many such script DCIs may occupy data collection pollers for too long and cause problems with data collection.

          For timeout Icmp.Ping returns value of 10000.

          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