Comments (4)
It's actually not a discrepancy but by design. I'll update the documentation. My apologies.
The default Smokeping code base creates it's RRD files to accept a 20 ping dataset (config/Database). The RRD (Round Robin Database) files are fixed in size, not like a MySQL, Postgres, Microsoft SQL and others, which grow in size. You define, in part, the RRD data file size in the Database config file. You can override that in the Probe or Target host definition. Since the RRD Update with a ping count greater than what's defined in Database or overridden in the Probe or Target host definition, will fail, at the time I just coded for the default. It's some code that needs some love. I had never had a scenario where a ping count over 20 was ever used, so adding that override was low on the list to get back to. I've got a number of new features in a private testing branch, but not ready to push today. There's a quick immediate solution. Download the source. Remove or comment the code that trims the @times array. I'll work on getting the module updated. So many "squirrel!'s" in a given day.
Lines 346-349
my $length = @times;
while (($length = @times) > 20) {
pop @times;
}
change to:
#my $length = @times;
#while (($length = @times) > 20) {
# pop @times;
#}
or
my $length = @times;
while (($length = @times) > 40) {
pop @times;
}
from smokeping-opensshmikrotikrouterosping.
Hello,
It looks as though you've resolved your original issue OpenSSH Error (Issue #9). I will close that.
As far as the packet loss, Two things. 1) I am not the developer of Smokeping and therefore cannot really dive into issues outside of the Probe Module I wrote. 2) Are you familiar with Smokeping? My experience with Smokeping is that the graph will show packet loss if there is no data for all or part of the graphs displayed period of time. If you are not seeing any missed data returned from the OpenSSHMikrotikRouterOSPing Probe, i.e. you are seeing a value for each ping request returned from the Mikrotik device in the debug log, then try to give it time for the graphs period displayed to fully populate with data and/or narrow the graphs time period to only the last few minutes of data.
Best
from smokeping-opensshmikrotikrouterosping.
Oh, no, I just disabled multiplexing for now. I intend to circle back on it once I make sure the rest of the system works as expected.
I am seeing discrepancies in the debugging data. 40 pings are performed successfully, but it looks like only 20 are sent upstream. I attached the debugging to the original post.
from smokeping-opensshmikrotikrouterosping.
I increased it from 20 to 40, and the graph now indicates 0% loss for the tests run since then.
I look forward to your update.
I know full well the effect of the squirrel.
from smokeping-opensshmikrotikrouterosping.
Related Issues (10)
- Im getting empty response from specific hosts HOT 4
- Typo in the readme HOT 2
- adding second optional parameter HOT 4
- Reusing ssh connections HOT 8
- 1 ms ping accuracy HOT 1
- Feature Request - Ping Results to Multiple Nodes HOT 4
- Directory '/var/run/smokeping' does not exist HOT 2
- multiplex_ssh collides HOT 2
- OpenSSH Error HOT 6
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 smokeping-opensshmikrotikrouterosping.