2014-07-31 07:26:59 +02:00
|
|
|
config BR2_PACKAGE_BANDWIDTHD
|
|
|
|
bool "bandwidthd"
|
|
|
|
depends on BR2_USE_MMU # fork()
|
|
|
|
select BR2_PACKAGE_LIBPNG
|
|
|
|
select BR2_PACKAGE_LIBPCAP
|
|
|
|
select BR2_PACKAGE_GD
|
|
|
|
help
|
|
|
|
BandwidthD - Bandwidth monitoring
|
|
|
|
|
|
|
|
Provides a method to measure the bandwidth that travels
|
|
|
|
through the machine, grouped by subnet and IP. This
|
|
|
|
information can be stored locally in /var/lib/bandwidthd and
|
|
|
|
can be configured to generate static HTML pages which can be
|
|
|
|
hosted by a web server.
|
|
|
|
|
|
|
|
It is highly recommended that the target has some way of
|
|
|
|
retaining the time between reboots. (e.g. NTP on boot or an
|
|
|
|
RTC)
|
|
|
|
|
|
|
|
It is suggested to use sqlite for logfile storage but works
|
|
|
|
fine without, and can be completely ignored if the
|
|
|
|
postgresql portion is used.
|
|
|
|
|
|
|
|
As upstream is no longer actively maintained, a fork is
|
|
|
|
available on github that works on making BandwidthD's build
|
|
|
|
process more compatible with buildroot's.
|
|
|
|
|
2018-09-20 15:24:53 +02:00
|
|
|
Upstream:
|
|
|
|
http://bandwidthd.sourceforge.net/
|
|
|
|
Github fork:
|
|
|
|
http://github.com/nroach44/bandwidthd
|
2014-07-31 07:26:59 +02:00
|
|
|
|
|
|
|
if BR2_PACKAGE_BANDWIDTHD
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
|
|
|
|
bool "enable postgresql log target support"
|
2015-05-16 16:12:44 +02:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2018-10-23 18:09:31 +02:00
|
|
|
depends on BR2_USE_WCHAR # postgresql
|
2022-04-19 21:32:15 +02:00
|
|
|
depends on !BR2_OPTIMIZE_FAST # postgresql
|
2017-04-22 19:17:49 +02:00
|
|
|
select BR2_PACKAGE_POSTGRESQL
|
2014-07-31 07:26:59 +02:00
|
|
|
help
|
|
|
|
Enable support for logging the bandwidthd data to a remote
|
|
|
|
(or local) postgresql server. This data can then be viewed
|
|
|
|
through a php site. See README in the source code
|
|
|
|
(github.com/nroach44/bandwidthd) for more information.
|
|
|
|
|
2018-10-23 18:09:31 +02:00
|
|
|
comment "postgresql support needs a toolchain w/ dynamic library, wchar"
|
|
|
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
2015-05-16 16:12:44 +02:00
|
|
|
|
2022-04-19 21:32:15 +02:00
|
|
|
comment "postgresql support can't be built with Optimize for fast"
|
2022-05-14 17:42:33 +02:00
|
|
|
depends on BR2_OPTIMIZE_FAST
|
2022-04-19 21:32:15 +02:00
|
|
|
|
2014-07-31 07:26:59 +02:00
|
|
|
config BR2_PACKAGE_BANDWIDTHD_SQLITE3
|
|
|
|
bool "enable sqlite3 log storage"
|
|
|
|
select BR2_PACKAGE_SQLITE
|
|
|
|
help
|
|
|
|
Enable support for storing the aggregated data in an sqlite
|
|
|
|
db instead of a plain text file.
|
|
|
|
|
|
|
|
endif
|