check network gives wrong upload/download values

Issue #369 closed
Former user created an issue

When using the network check to monitor my netwok device it gives me wrong values for Upload and Download

Download    8.8 kB/s [128 packets/s] [0 errors] (0.0% link saturation)
Upload  368.2 kB/s [250 packets/s] [0 errors] (0.3% link saturation)

but with nload I get this:

Curr: 2.87 MBit/s                                                    
Avg: 2.88 MBit/s  

The data collected attribute however is changing every cycle (60sec):

Data collected  Wed, 18 May 2016 08:18:01

I use the following config:

check network LAN with interface p4p1                                                                                                                                                                              
        start program "/sbin/ifup p4p1"                                                                                                                                                                            
        stop program "/sbin/ifdown p4p1"                                                                                                                                                                           
        if failed link then restart 
$ monit -V                                                                                                                                                                                           
This is Monit version 5.17.1                                                                                                                                                                                       
Built with ssl, with pam and with large files                                                                                                                                                                      
Copyright (C) 2001-2016 Tildeslash Ltd. All Rights Reserved.  

How can I debug this further? Which files do you need? Is there a way to enable to see the total value on the webinterface?

Thank you for this great tool!

Comments (1)

  1. Tildeslash repo owner

    Please notice that 2.88 MBit/s is ~ 368.2 kB/s. That is, Monit reports in bytes/second while nload, apparently, in bits/second. Closing this issue as it looks like just a confusion of bytes versus bits. Please reopen if not.

  2. Log in to comment