Server traffic (all IN and all OUT) not computed with i-MSCP version 1.4.2

  • @kennosys


    Result of service imscp_traffic status ?
    Result of perl /var/www/imscp/engine/traffic/imscp-srv-traff -v ?
    Result of netstat -plunt ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin here is results ...

  • @kennosys


    Thanks ;)


    This is a bug which will be fixed in next release. For now, you can fix it manually by editing the /var/www/imscp/engine/traffic/imscp-srv-traff script and changing line 123:

    Perl
    1. ${$all} = $bytes;

    by

    Perl
    1. ${$all} += $bytes;


    Once done, traffic will be computed as expected. Note that there is no way to get past traffic back.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • A fix has been added in our development branch. See https://github.com/i-MSCP/imsc…450fe36104b7552ebcaddb61c
    This fix will be part of next release.


    Thank you for your report.


    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206