aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd/patches
Commit message (Collapse)AuthorAge
* collectd: Update to 5.5.1Hannu Nyman2016-02-03
| | | | | | | | | | | 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>
* collectd: Delay first data read cycle by 1sHannu Nyman2015-10-07
| | | | | | | | | | | | | | | | 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>
* collectd: backport parallel build fix from upstreamHannu Nyman2015-10-02
| | | | | | | | | | Backport a fix for parallel build from upstream, where it has been commited to both trunk and 5.5 branch. https://github.com/collectd/collectd/issues/1146 https://github.com/collectd/collectd/commit/780e6a76021a240e95007a04b723d827120afa95 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: interface plugin: revert to Linux defaults from BSD-like operationsHannu Nyman2015-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the interface plugin to operate with collectd's default way for Linux instead of trying to use BSD functionality with patches. Openwrt's collectd Makefile has set "enable-getifaddrs" option since r7980 (in 2007, no explanations given for the reasons to add that config option), causing the addition of 110-net-device-stats.patch in 2010 to fix things, and then later (with 5.4.1 upgrade in 2014) 150-fix-interface-af-link to undo BSD-specific changes in collectd code meant for only BSD systems (as AF_LINK does not exist in Linux). Revert to collectd's intended way in Linux by removing the config option and deleting the two corresponding patches. The same data fieds should be provided, so there is no visbile change to users. References: =========== Collectd changes introducing/explaining the option and later breaking things: http://git.verplant.org/?p=collectd.git;a=commit;h=a05e34a0d4fdb2c15db8226689268a27f6f7163d http://git.verplant.org/?p=collectd.git;a=commit;h=14740db4b415655abc58307352e406442f9933a0 http://git.verplant.org/?p=collectd.git;a=commitdiff;h=645dadb3fcc466e8880fda4eb23b21ad433631fc Openwrt: intro at r7980: https://dev.openwrt.org/changeset/7980 fix1 due to kernel 2.6.36 at r23467: https://dev.openwrt.org/changeset/23467 fix2 due to collectd 5.4.1: https://github.com/openwrt/packages/pull/298 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update to 5.5.0Hannu Nyman2015-07-16
| | | | | | | | | | | | | | 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>
* collectd: update to 5.4.2Hannu Nyman2015-03-02
| | | | | | | | | 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>
* collectd: Update to 5.4.1Hannu Nyman2014-09-09
| | | | | | | | | | | -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>
* collectd: import from packages, add myself as maintainerJo-Philipp Wich2014-06-11
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>