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....
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
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
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...
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?