Update collectd to version 5.9.0
* remove backported upstream patches (sensors, modbus)
* remove lua patch that has been been implemented upstream
(See collectd PR 3144)
* refresh patches and accommodate into upstream path changes
* place the 'stations' datatype for iwinfo in alpbetically
correct place in types.db
* add libmnl dependency to 'processes' plugin required for the
new Linux process Delay Accounting capability.
(Alternatively the capability & requirement might be patched away
in Makefile.am, HAVE_LIBTASKSTATS from collectd_4ea7a572)
* new plugins (disabled): ampq1, gpu_nvidia, pcie_errors,
write_stackdriver, write_syslog
compile-tested: ar71xx/WNDR3700 (all plugins)
run-tested: ar71xx/WNDR3700 (selected plugins)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
If you want to register more than one lua plugin, you cannot start the
collectd.
You get always the error message:
"The read function "lua/(null)" is already registered. Check for
duplicates in your configuration!"
This is not what I expect and what the documenation says.
With this change it is now possible to registrate more then one lua
Script.
See https://github.com/collectd/collectd/pull/2379
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* 938897a2 Add scale and shift to modbus plugin
* 60280b80 correcting all the wrongs
* a00ab529 Add support for RS485 to modbus plugin
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Backport an upstream patch to remove the upper limit of
lm-sensors version check, so that using lm-sensors 3.5.0
will work.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Support for little-endian word-order of 32-bit fields was added
upstream recently. Import the corresponding PR
https://github.com/collectd/collectd/pull/2660
into a local patch and bump package release.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This patch upgrades the collectd package from 5.7.2 to 5.8.2.
All openwrt patches got either updated or deleted in case they
are already included into upstream collectd.
The new collectd 5.8.0 package compiles and got tested on current
lede trunk with latest luci on an PCengines APU. All default plugins
(enabled via Openwrt Makefile) - so also iwinfo - are running fine
with the new version.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Amended with the following changes:
* preserve git file history by avoiding unnecessary patch renames
* mark new plugins introduced with 5.8 branch as disabled
Compile tested all plugins with ipq806x
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Uptime plugin fails to adjust for system time changes after boot.
As Openwrt/LEDE routers usually do not have a RTC, the system time
gets adjusted with NTP possibly after collectd has already started.
But collectd continues to use the initial time set by 'sysfixtime',
which can lead to incorrect uptime calculations.
Apply a proposed fix from upstream that uses /proc/uptime
Reference to https://github.com/collectd/collectd/pull/2034Fixes#4819
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Buildbot revealed that Collectd 5.7.1 uses libcap to evaluate system
capabilities and display advice on some plugins (dns, iptables, exec,
ping, ceph, turbostat).
Disable the check in configure.ac in order to avoid a dependency
for libcap. (It is not that big, only 6 kB .ipk, but still avoid that.)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Update collectd to version 5.7.1
* replace 003-remove-werror.patch with configure option
* remove 200-fix-git-describe-error.patch that is now unnecessary
* reformat other patches due to whitespace changes
* add new plugins to the list as disabled
* correct download & homepage links
* add myself as the second maintainer
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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>
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>
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>