The network plugin has the option of encrypting traffic; add a
config option to allow enabling encrypting network plugin traffic.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Conflicts:
utils/collectd/Makefile
Update collectd, the backbone of Luci statistics, to 5.5.1
Refresh patches. Main changes:
- Remove 500-upstream-parallel-build-fix.patch (implemented upstream)
- Add 600-fix-libmodbus-detection.patch to revert an upstream change
that broke libmodbus detection in collectd's configure script
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
--with-perl-bindings= is insufficient, --without-perl-bindings is required
to actually prevent perl bindings when perl has been built for the target.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
/etc/collectd/conf.d is referenced in the default config so should be installed to prevent the following in syslog every boot:
Fri Oct 9 02:09:38 2015 user.emerg : configfile: stat (/etc/collectd/conf.d) failed: No such file or directory
Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
Some collectd plugins launch third-party plugins that have variation in
initialisation time (like libpcap). Recently (since kernel bump to 4.1)
the DNS plugin has been causing collectd to crash semi-randomly at startup
on MIPS based WNDR3700.
Debugging led to realisation that the DNS plugin seems to require at least
0.1s time to start, before the first data reading attempt starts.
By default, the first data read cycle starts immediately, while apaprently
some of the plugins may still be asyncronously initialising. To make things
safe, this patch adds 1 second delay before the first data read cycle.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
if a user's env has PERL_MM_OPT defined collect will fail to build. Adding
--with-perl-bindings="" will override this env var.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
The config file shipped with collectd dates from 2010 and
leads to error messages if luci-statistics & collectd are installed,
as it references several plugins not usually installed, or such ones
that have been renamed since then.
For most users, this file is just a placeholder during collectd installation,
as /usr/bin/stat-genconfig from /etc/init.d/luci_statistics will overwrite it.
Sanitize and shorten the placeholder config file:
* Reference actively only the default plugins installed by luci statistics.
* Match the placeholder config with the genuine config from luci statistics.
If somebody uses collectd separately from luci statistics, he will need to
edit these settings anyway.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Enable the entropy plugin that monitors the available entropy in a Linux system.
Works ok and has no library dependencies. Tested on ar71xx/WNDR3700.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Update collectd, base of Luci statistics, to 5.5.0.
Patches have been refreshed.
write-graphite plugin is now enabled. (see #1351)
I have compile-tested all plugins with ar71xx,
and real-life tested the following plugins:
Conntrack, Processor (CPU), DNS, Interfaces, Wireless, System Load,
Memory, Ping, Uptime
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Update collectd, base of Luci statistics, to 5.4.2.
Patches have been refreshed.
905-fix-sigrok-upstream-patch-post-541 was removed as unnecessary.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-update collectd to the current release 5.4.1
-fix sigrok glib check (upstream patch after 5.4.1)
Note:
Changes are required also to luci-statistics in Luci source.
Patch in http://patchwork.openwrt.org/patch/5303/
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>