mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
245 stars 94 forks source link

check_network average bps values inaccurate #381

Open ghost opened 7 years ago

ghost commented 7 years ago

Using last pre-release 0.5.1.19

check_network returns average bps values that seem quite inaccurate.

While it used to return a fixed increasing value with precedent release, it is now showing changing values more in coherence with a fluctuating network activity, but these values are not coherent to the real load.

mickem commented 7 years ago

The averages are gathered every 10 seconds and averages over the past 10 seconds, so fluctuations are expected and they will not be accurate as it is not an average over time...

I will investigate this a bit more and see if I can come up with more accurate values, problem is I have to make some sort of tes tbed to be able to compare the values to something...

box293 commented 7 years ago

I'm not getting any sent or received values with 0.5.2.20

./check_nrpe -H 10.25.14.2 -c check_network -a 'detail-syntax=Name: %(name), Sent: %(sent), Received: %(received)'

: Name: Intel(R) PRO/1000 MT Network Connection, Sent: 0, Received: 0|'Intel(R) PRO/1000 MT Network Connection_total'=0;10000;100000