Comments (3)
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.
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.
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)
- Index template no longer needed? HOT 1
- Can't update HOT 3
- Cannot find package 'libbeat' HOT 1
- Why is the username/password to elasticsearch deprecated? HOT 2
- Upgrade libbeat to beats HOT 2
- Don't require glide for make; vendor dependencies HOT 1
- Beats Heartbeat collaboration HOT 1
- Stuck on fetching updates for github.com/oschwald/geoip2-golang HOT 1
- target_name.raw is not getting data anymore HOT 1
- Missing 'loss' field in pingbeat output HOT 8
- I want to get timeout in pingbeat output
- Problem with make install
- Problem with make
- Cannot publish events to es2x because of '.' character in field name
- README.md is outdated rendering installation extremely arduous HOT 3
- run error: "Exiting: privileged specified but not running with privileges" in windows
- Getting error: No outputs are defined. Please define one under the output section. HOT 1
- ppingbeat panics with stack trace
- Missing target.description
- Rejecting mapping update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingbeat.