Re: [bwm-tools-tech] Configuration
Brought to you by:
nkukard
From: Ravi P. <ra...@sw...> - 2006-07-31 12:55:17
|
Hi Nigel, I am still facing the following issues: (a) Though bwmd is running and updating the respective .dat files in /var/bwm_tools, the rrds created from these .dat files are not having any entries beyond midnight of 30 jul 2006. Any particular reason? (b) The graphs created by using size_bit counter do not go over 1Mbit. Where do I change this code so that the rrd files generated can record this properly. (c) No scripts available in the link below. Please advise. Regards Ravi -----Original Message----- From: bwm...@li... [mailto:bwm...@li...] On Behalf Of Nigel Kukard Sent: Wednesday, July 26, 2006 9:34 PM To: Bandwidth Management Tools General & Technical Discussions Subject: Re: [bwm-tools-tech] Configuration Hi Ravi, > Now, almost 24 hours after the IPQ_BUFSIZE change, all is well. This is FYI. > Great, I'll work on bringing out a fix in the next snapshot. > In the mailing list I see that bwmd can log direct to rrd files, how? > Also I had compiled bwm_tools as under: > > ./configure --with-rrdtool2 --disable-rrdcgi > > As in the mailing list you are saying that live stats can be got using > rrdcgi. > > Is there some documentation on this please and examples. Check out the doc directory, you can make pdf or make html to generate documentation. You're looking for the report-format option, setting this to rrd can generate rrd data. You will need to create the rrd file first though, and specify it using report-filename. Bwmd will log 4 values to the rrd every report-timeout, bytes, packets, bursted, dropped respectively. Check this script out .... http://www.linuxrulz.org/nkukard/scripts/stats.cgi .... thats a starting point to write your own cgi script which generates funky rrdtool graphs :) Let me know if you come right, I'll work on better documenting the reporting directly to rrd the first chance I get. This should serve as information for anyone who takes the time to look through the mailing list archives ;) Regards Nigel |