1config BR2_PACKAGE_BANDWIDTHD 2 bool "bandwidthd" 3 depends on BR2_USE_MMU # fork() 4 select BR2_PACKAGE_LIBPNG 5 select BR2_PACKAGE_LIBPCAP 6 select BR2_PACKAGE_GD 7 help 8 BandwidthD - Bandwidth monitoring 9 10 Provides a method to measure the bandwidth that travels 11 through the machine, grouped by subnet and IP. This 12 information can be stored locally in /var/lib/bandwidthd and 13 can be configured to generate static HTML pages which can be 14 hosted by a web server. 15 16 It is highly recommended that the target has some way of 17 retaining the time between reboots. (e.g. NTP on boot or an 18 RTC) 19 20 It is suggested to use sqlite for logfile storage but works 21 fine without, and can be completely ignored if the 22 postgresql portion is used. 23 24 As upstream is no longer actively maintained, a fork is 25 available on github that works on making BandwidthD's build 26 process more compatible with buildroot's. 27 28 Upstream: 29 http://bandwidthd.sourceforge.net/ 30 Github fork: 31 http://github.com/nroach44/bandwidthd 32 33if BR2_PACKAGE_BANDWIDTHD 34 35config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL 36 bool "enable postgresql log target support" 37 depends on !BR2_STATIC_LIBS 38 depends on BR2_USE_WCHAR # postgresql 39 select BR2_PACKAGE_POSTGRESQL 40 help 41 Enable support for logging the bandwidthd data to a remote 42 (or local) postgresql server. This data can then be viewed 43 through a php site. See README in the source code 44 (github.com/nroach44/bandwidthd) for more information. 45 46comment "postgresql support needs a toolchain w/ dynamic library, wchar" 47 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR 48 49config BR2_PACKAGE_BANDWIDTHD_SQLITE3 50 bool "enable sqlite3 log storage" 51 select BR2_PACKAGE_SQLITE 52 help 53 Enable support for storing the aggregated data in an sqlite 54 db instead of a plain text file. 55 56endif 57