aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd/Makefile
Commit message (Collapse)AuthorAge
* collectd: re-enable nut pluginHannu Nyman2022-09-18
| | | | | | | | | | Re-enable the nut plugin (remove BROKEN mark). Nut itself has been patched to provide better compatible time_t. I have not not run-tested the plugin, so it is still possible that the fixes from upstream collectd PR 4043 are still needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* Merge pull request #19362 from dhewg/dslHannu Nyman2022-09-18
|\ | | | | prometheus/collectd: adapt dependencies for the dsl collector
| * collectd: adapt dependencies for the dsl collectorAndre Heider2022-09-14
| | | | | | | | | | | | | | All lantiq/intel/maxlinear compatible dsl daemons now provide a common package name, switch over. Signed-off-by: Andre Heider <a.heider@gmail.com>
* | collectd: disable nut pluginHannu Nyman2022-09-16
|/ | | | | | | | | | | | | | | | | | | Temporarily disable nut plugin by marking it BROKEN. Apparently the upstream collectd plugin is not yet compatible with nut 2.8.0. I tried the upstream PR 4043, but it does not help, as it apparently requires at least one specific UPS type to be defined/compiled. nut . . . . . . . . . no (required data types for NUT API were not detected) (dependency error) If there is a requirement to specify some UPS data type when compiling nut, it might be problematic for the generic OpenWrt buildbot context. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: remove libip4tc dependencyTiago Gaspar2022-01-26
| | | | | | | | | | | | | | | Base collectd doesn't require libip4tc as stated in the collectd git: * libiptc (optional) For querying iptables counters <http://netfilter.org/> And libip4tc is already added as a dependency in the iptables plugin because it needs it, so remove this dependency from the default collectd to make it compatible with the new nftables firewall4 (by not selecting any iptables components). Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* collectd: Add lua and exec collectors for lantiq dsl metricsJeroen Peelaerts2021-10-22
| | | | Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
* collectd: sqm_collect: handle being orphanedKevin Darbyshire-Bryant2021-10-02
| | | | | | | | | | If the master collectd instance gets shut down in an uncontrolled manner (crashes!) then sqm_collect scripts will be left orphaned and will run forever. Modify script to check if it still has a parent and if not, exit. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sensors plugin - depend on lm-sensorsHannu Nyman2021-09-04
| | | | | | | | | | | | Change the sensors plugin's dependency from libsensors to lm-sensors, so that also the /usr/sbin/sensors executable gets installed if the plugin is selected. Although that is not needed for collectd itself, the LuCI statistics app expects to find the sensors executable if the plugin has been installed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd-mod-cpufreq: enable for ipq807xMatthew Hagan2021-08-15
| | | | | | Tested on AX3600 Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
* collectd-mod-ping: add support for MaxMissedJohn Kohl2021-08-15
| | | | Signed-off-by: John Kohl <jtk.git@bostonpog.org>
* collectd: enable cpufreq plugin for mediatekFritz D. Ansel2021-08-12
| | | | | | tested on e8450 ubi+non-ubi Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
* collectd: enable cpufreq for rockchip targetTomas Lara2021-04-13
| | | | | Enable collectd-mod-cpufreq for rockchip Signed-off-by: Tomas Lara <tl849670@gmail.com>
* collectd: update PKG_RELEASEFlorian Eckert2021-03-23
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: upate PKG_RELEASE numberFlorian Eckert2021-03-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: make compile time debug option configurableFlorian Eckert2021-03-16
| | | | | | | | | | Enables the compiler option that collectd is compiled with debugging support. This is used at development stages to get more messages from the collectd during development. This option is default disabled. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: fix COLLECTD_PLUGINS_SELECTED end of lineFlorian Eckert2021-03-16
| | | | | | This removes the trailing back slash. This is not needed. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: enable collectd-mod-smartFlorian Eckert2021-03-16
| | | | | | Switching on compilation for collectd smart plugin. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: add plugin to compare ipv4,ipv6 statsNick Hainke2021-02-04
| | | | | | | Add "ipstatistics"-plugin. This plugin parses "/proc/net/netstat" and "/proc/net/snmp6" to get the overall ipv4 and ipv6 usage. Signed-off-by: Nick Hainke <vincent@systemli.org>
* collectd: fix snmp6 not showing all interfacesNick Hainke2021-01-25
| | | | | | | | Getifaddrs() is not working all the time (e.g. wireguard interfaces). Instead we use if_nameindex() syscall as suggested in: https://stackoverflow.com/a/45796495/8474618 Signed-off-by: Nick Hainke <vincent@systemli.org>
* collectd: fix snmp6 collectorNick Hainke2021-01-11
| | | | | | We scraped multiple times the same interface in one run. Signed-off-by: Nick Hainke <vincent@systemli.org>
* collectd: bump PKG_RELEASEMaxim Storchak2021-01-10
| | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* collectd: enable swap pluginMaxim Storchak2021-01-10
| | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* collectd: add snmp6 interfaceNick Hainke2021-01-09
| | | | | | Add collectd plugin allowing to collect IPv6 interface statistics. Signed-off-by: Nick Hainke <vincent@systemli.org>
* 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: update PKG_RELEASEFlorian Eckert2020-06-24
| | | | 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: 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>
* 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>