aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd
Commit message (Collapse)AuthorAge
* collectd: add dhcpleases pluginNick Hainke2020-12-12
| | | | | | | | Count the current dhcpleases. Currently, we use a bash script that does the same job (Freifunk Berlin). We want to use native collectd plugin for that. Signed-off-by: Nick Hainke <vincent@systemli.org>
* collectd: update to 5.12.0Hannu Nyman2020-09-07
| | | | | | | | | | | Update collectd to version 5.12.0. * Refresh patches * Remove upstreamed patch 920-fix-ubi-data-source-type.patch * Backport a patch from upstream to fix a missing define (920-backport-netlink-reg-noerror.patch) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update PKG_RELEASEFlorian Eckert2020-06-24
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: remove quotation on interval this is an numberFlorian Eckert2020-06-24
| | | | | | The value is a number and not a string. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: move include lineFlorian Eckert2020-06-24
| | | | | | | | | | Currently the init script generates a config file from uci, that has the include line before the interval line. This means, that anything happening in the include directory does not yet see the changed Interval. Moving the include line before the uci generation process fix this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: update PKG_RELEASEFlorian Eckert2020-06-24
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: fix ubi data source typeFlorian Eckert2020-06-24
| | | | | | | | | Currently the values are stored in the ubi plugin as data source type `counter`. But this makes no sense, because the values change very slowly and I don't want to know the rate of change. It is better to store the value as data source type `gauge`. Then I can see the current value. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add ubi uci and plugin infoFlorian Eckert2020-06-24
| | | | | | Add uci binding for ubi plugin. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: enable ubi pluginFlorian Eckert2020-06-24
| | | | | | Enable ubi plugin. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: sqm_collect: tidy interval string handlingKevin Darbyshire-Bryant2020-05-25
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collectd: improve error handlingKevin Darbyshire-Bryant2020-05-25
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: Improve sqm_collectd error reportingKevin Darbyshire-Bryant2020-05-17
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collectd improve interface name filterKevin Darbyshire-Bryant2020-05-07
| | | | | | | | | | | | Increase the range of characters that get substituted by '_' so the shell doesn't complain about illegal variable names. Primarily done to catch '.' and '-' but who knows what funnies will appear in i/f names. It's a shame that busybox ash doesn't understand :alnum: Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: bump PKG_RELEASEHannu Nyman2020-05-05
| | | | | | Bump PKG_RELEASE on behalf of 38235de9c Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: SQM collect data from some qdiscsKevin Darbyshire-Bryant2020-05-05
| | | | | | | | | Add a script that can collect data from mq (multi queue) and cake qdiscs. Script is reliant on collectd's 'exec' module. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: add syslog json pluginFlorian Eckert2020-05-04
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* Revert "collectd: disable nut plugin temporarily"Hannu Nyman2020-04-05
| | | | | | | | | | This reverts commit 97dbc515e59b09c069d34e9a5dea7e5efec4f077. libgd has been been fixed to provide correct pkgconfig info, so that nut again compiles in buildbot. Thus the nut plugin can be re-enabled in collectd. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: disable nut plugin temporarilyHannu Nyman2020-04-04
| | | | | | | | Disable nut plugin for now, as nut is currently failing to build in buildbot (maybe due to libgd), and the nut plugin prevents compiling collectd itself. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: disable onewire plugin, BROKEN since 2009Hannu Nyman2020-03-26
| | | | | | | | Mark the onewire plugin as disabled, as the plugin has been marked BROKEN since it was introduced in 2009 by https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=commitdiff;h=0de38b88d6ba8c52b8386d3059baba7dca22961f Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: disable dpdk_telemetry moduleHannu Nyman2020-03-23
| | | | | | | | Explicitly disable the new dpdk_telemetry module to fix compilation in buildbot. (other dpdk modules are aleady disabled) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update to 5.11.0Hannu Nyman2020-03-22
| | | | | | | | | | * Update collectd to version 5.11.0 * Refresh patches Release notes: https://github.com/collectd/collectd/releases/tag/collectd-5.11.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: adjust dependecies for iptables bumpKevin Darbyshire-Bryant2020-03-15
| | | | | | | | iptables 1.8.4 drops support for a combined libiptc, providing split libip4tc & libip6tc instead. Adjust collectd dependencies in advance of iptables bump from 1.8.3 to 1.8.4 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: apply brcm2708 target rename to bcm27xx to dependenciesAdrian Schmutzler2020-02-11
| | | | | | | Since the brcm2708 target has been renamed to bcm27xx in openwrt repo, update the dependency to the target in this package. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* collectd: add vmem uci configMarcin Jurkowski2019-12-11
| | | | Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
* collectd: enable cpufreq module for ipq40xx and brcm2708_bcm2709Hannu Nyman2019-11-23
| | | | | | | | As some ipq40xx CPUs support frequency scaling, enable building collectd-mod-cpufreq for ipq40xx (for private builds) and its package architecture brcm2708_bcm2709 (for buildbot) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update to 5.10.0Hannu Nyman2019-11-16
| | | | | | | | Update collectd to 5.10.0 * leave new plugins as disabled for now (procevent, sysevent) * refresh patches. Remove unenecessary version fix Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: adjust reaction to ntp time at boot timeHannu Nyman2019-11-03
| | | | | | | | | | | | | | | | | | | Adjust the reaction to a polling interval timestamp that references to a past time. Past timestamps can happen when ntpd adjusts router's time after network connectivity is obtained after boot. Collectd shows warnings for each plugin as it tries to enter new values with the same timestamp as the previous one. This patch adjusts the next polling time to be now+2 seconds for the main loop and for the plugin-specific read loops. That avoids the warnings, but does not overreact in case there are shorter polling intervals or the time gets adjusted for other reasons. Additionally some debug statements are aded, but they are visible only when --enable-debug configure option is used in Makefile. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: fix upstream bug in 5.9.2 version stringHannu Nyman2019-10-13
| | | | | | | Fix the missing version bump in the upstream source code to display the correct version 5.9.2 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update to 5.9.2Hannu Nyman2019-10-09
| | | | | | | | | Update collectd to 5.9.2 Mainly bug fixes: https://github.com/collectd/collectd/blob/dfb9dd09fe3a6864c8cf85eb92e826c289e6d6d2/ChangeLog Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: bump PKG_PACKAGE versionFlorian Eckert2019-09-20
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add reload and service triggerFlorian Eckert2019-09-20
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add logfile plugin definitionsFlorian Eckert2019-09-20
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* Merge pull request #10018 from ja-pa/treewide-cpe-idRosen Penev2019-09-17
|\ | | | | treewide: add PKG_CPE_ID for better cvescanner coverage
| * treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | collectd: bump PKG_PACKAGE versionFlorian Eckert2019-09-17
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | collectd: add iptables uci configFlorian Eckert2019-09-17
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | collectd: add network uci configFlorian Eckert2019-09-17
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | collectd: add curl uci configFlorian Eckert2019-09-17
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | collectd: add apcups uci configFlorian Eckert2019-09-17
|/ | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: bump PKG_RELEASE numberFlorian Eckert2019-09-13
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add new memory config valuesFlorian Eckert2019-09-13
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add new cpu config valuesFlorian Eckert2019-09-13
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: bump PKG_RELEASE to 4Yousong Zhou2019-08-10
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* collectd: remove the patch scaling ping_droprate from 0-1 to 0-100Yousong Zhou2019-08-10
| | | | | | | | | | | | Upstream project's behaviour of reporting this data source in range 0-1 is used by at least CentOS 7 collectd 5.8.1, very likely the same behaviour is also in widely use by other distributions. The change is important for providing consistent experience across collectd deployments on different environments Ref: https://github.com/collectd/collectd/pull/3244 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* collectd: use uname to get default HostnameYousong Zhou2019-08-10
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* collectd: log stderr outputYousong Zhou2019-08-10
| | | | | | Collectd without log type plugin loaded will write log lines to stderr. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* collectd: enable threshold pluginFlorian Eckert2019-07-30
| | | | | | | | The only action the Threshold plugin takes itself is to generate and dispatch a notification. Other plugins can register to receive notifications and perform appropriate further actions. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: build RouterOS modulesSven Roederer2019-07-15
| | | | | | This allows collectd to get data of Mikrotik devices in a improved way than via SNMP. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* collectd: move jshn.sh include to remove warningFlorian Eckert2019-07-04
| | | | | | | | | | | | | | Redmine-patch-id: 3680 If I build an image with the imagebuilder I get the following output during image building: ../root-x86/etc/init.d/collectd: line 4: /usr/share/libubox/jshn.sh: No such file or directory To remove this messsage move include to the needed postion, so that the message does not occur during image building on the host system anymore. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: update to 5.9.0Hannu Nyman2019-06-16
| | | | | | | | | | | | | | | | | | | | | | | 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>