Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3878

Ping reliability

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • Community Edition
    • Poller
    • Linux (Debian 11)
      Observium CE 20.9.10731

    Description

      I was surprised to see a reduction in ping times in the poller Ping Response graph after upgrading some Linux operating systems a few weeks ago.  I thought that was pretty awesome.  I also noticed that there was no reduction of random spikes that are about an order of magnitude higher than regular pings.  I wondered if the spikes might be caused by first-ping conditions.  I understand that there are other lower-layer protocols that happen behind the scenes that might increase the response time of the first ping, like ARP discovery.

      I have attached a graph of the Observium Ping times of a certain machine that could easily represent all of the other Linux machines I have.  It is easy to see that all pings subsequent to September 1st drop off considerably.  That was the operating system upgrade.

      I thought that maybe the spikes might be reduced by averaging the ping time of several pings within the same amount of poller time, so I patched `includes/functions.inc.php` to provide the arguments to `fping` that makes it send out 5 pings 1 millisecond apart, and then wait for the Observium `$timeout` for all of the responses (500 ms by default).  I have attached a patch that illustrates my simple fping argument changes.  (Additionally, modern `fping` implementations have the arguments `-ipv4` and `-ipv6` instead of the separate executables, `fping` and `fping6`, so I also modified that too.)

      I discovered a wonderful result that is also clearly visible in the same attached graph after the 14th of September.  The spikes dissipated entirely.  All of my Ping graphs since then have very decent ping trends, with no spikes.  I believe that this is closer to reality.

      Please consider my idea for inclusion in Observium, or at least allow the configuration for the number of pings to send during polling so that the "Ping Response" graph can be recorded more accurately.  Thanks for listening.

      Attachments

        Activity

          People

            landy Mike Stupalov
            troy Troy Bowman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: