Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2213 Does not work anymore

1.220
open
Jamie Cameron
5
2005-08-15
2005-08-15
Anonymous
No

Bandwidth monitoring does not work anymore in all of
my servers (redhat enterprise 3) after upgrading to
webmin 1.222....

All the interfaces that have been monitored lost the
configuration, and if i try to configure again nothing
happens when i try to generate the report, it stays
processing and nothing is displayed....

Discussion

  • Jamie Cameron
    Jamie Cameron
    2005-08-16

    Logged In: YES
    user_id=129364

    That sounds like a bug ..
    Which firewall are you using there? IPtables, Shorewall,
    IPFW or IPfilter?

     
  • Logged In: NO

    Shorewall 2.1.11

     
  • Jamie Cameron
    Jamie Cameron
    2005-08-19

    Logged In: YES
    user_id=129364

    I just tried webmin 1.222 with shorewall, and I was able to
    setup bandwidth monitoring with no problems..
    Does your /etc/shorewall/start file have the lines needed to
    add the bandwidth monitoring rules, like :
    run_iptables -I INPUT -i eth0 -j LOG --log-prefix
    BANDWIDTH_IN: --log-level debug
    run_iptables -I FORWARD -i eth0 -j LOG --log-prefix
    BANDWIDTH_IN: --log-level debug
    run_iptables -I FORWARD -o eth0 -j LOG --log-prefix
    BANDWIDTH_OUT: --log-level debug
    run_iptables -I OUTPUT -o eth0 -j LOG --log-prefix
    BANDWIDTH_OUT: --log-level debug

    And is traffic being logged to /var/log/bandwidth ?

     
  • Logged In: NO

    Does your /etc/shorewall/start file have the lines needed to
    add the bandwidth monitoring rules ?

    YES !

    And is traffic being logged to /var/log/bandwidth ?

    YES !

    When i select GENERATE REPORT, nothing happens and
    the process fullfill almost the entire cpu:

    6656 root 74.0 % /usr/libexec/webmin/bandwidth/index.cgi

     
  • Jamie Cameron
    Jamie Cameron
    2005-08-21

    Logged In: YES
    user_id=129364

    How large is the file /var/log/bandwidth on your system? If
    it is really huge, it could take quite some time and CPU for
    Webmin to process..

     
  • Logged In: NO

    In this case, it was only 1.5 Megabytes...

     
  • Jamie Cameron
    Jamie Cameron
    2005-08-23

    Logged In: YES
    user_id=129364

    Does it run any faster if you select a date range to report
    on, such as just the last couple of days?