Giter Site home page Giter Site logo

Packet loss about pingbeat HOT 3 CLOSED

joshuar avatar joshuar commented on July 30, 2024
Packet loss

from pingbeat.

Comments (3)

joshuar avatar joshuar commented on July 30, 2024

This will require some thought to implement. Right now each event recorded in ES represents a measurement of RTT. I'm not sure I'm comfortable recording zero or nil, or a negative value or some huge value to indicate loss that might interfere with any aggregations done on the data. It might be better to record a "loss" in a different event.

from pingbeat.

joshuar avatar joshuar commented on July 30, 2024

I believe tracking packet loss is addressed in faster-main-loop branch. In that branch, the period config option becomes the max RTT you'd expect, and any ICMP requests not responded to in that period are considered lost. Then, in the Elasticsearch event, I write this as a loss: true bool field instead of the rtt: somevalue field. You can then do you aggregations on how many events have loss: true to calculate your packet loss.

I'll probably merge that branch into master in the next few days.

from pingbeat.

Noebas avatar Noebas commented on July 30, 2024

I have the new version running and this solution is perfect. Have RTT in one chart and the LOSS in another.
Ping to 150 hosts and a interval of 2 sec seems te be ok.

from pingbeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.