aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd/Makefile
Commit message (Collapse)AuthorAge
* collectd: enable statsd pluginEdmunt Pienkowsky2024-04-05
| | | | Signed-off-by: Edmunt Pienkowsky <roed@onet.eu>
* collectd: add license informationsFlorian Eckert2024-03-13
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: remove target dependency from cpufreq pluginHannu Nyman2023-09-18
| | | | | | | | | | | | We currently have more package architectures supporting CPU frequency scaling than earlier, and the package architecture vs. CPU target SDK matching does not fully reflect that. (E.g. aarch64_cortex-a53 is currently using bcm27xx/bcm2710) Simplify things by removing the target dependency and let the plugin be built for all architectures. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd-mod-ipstatistics: fix handling of long `/proc` linesAlex Shumsky2023-09-01
| | | | | | | `/proc/net/netstat` `TcpExt:` line is 2064 chars long on linux 6.1 Signed-off-by: Alex Shumsky <alexthreed@gmail.com> [PKG_RELEASE bump added]
* collectd: fix implicit dependence for collect-mod-disk to libudevFlorian Eckert2023-08-11
| | | | | | | | | | | | | | Fix missing dependencies for 'collectd-mod-disk' to 'libudev' if collectd-mod-smart is not enabled. Package collectd-mod-disk is missing dependencies for the following libraries: libudev.so.1 The package 'collect-mod-disk' is now build always with 'libudev' support, independent of the enable/disable build state of 'collectd-mod-smart'. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: unify configure args handling for collectd-mod-smartFlorian Eckert2023-08-05
| | | | | | | | | If 'collectd-mod-smart' is not enabled, the use of lubudev does not need to be explicitly disabled. This library could be a dependency for other modules in the future. If this is explicitly disabled, then the other module cannot be built. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: fix ampq1 vs. amqp1 typoFlorian Eckert2023-08-05
| | | | | | The name 'ampq1' does not exist. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: Support config of mqtt pluginAlexandros Kosiaris2023-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mqtt plugin is already built and shipped in collectd-mod-mqtt, however it is not possible to configure it via uci currently, instead having to rely on populating the config file manually. Add support by adding 2 functions, process_mqtt() and process_mqtt_block(). First one just enables/disables the plugin. The second one, in the spirit of the curl plugin, adds support for populating multiple <Publish> and <Subscribe> blocks under <Plugin mqtt> with support for some parameters. Those are: * blocktype. Publish or Subscribe. Mandatory * name. The name of the block. Mandatory * Host. Mandatory * Port. Optional * User. Optional * Password. Optional * ClientId. Optional * QoS. Optional * Prefix. Optional * Retain. Optional * StoreRates. Optional * CleanSession. Optional * Topic. Optional Bump PKG_RELEASE per comments in PR Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
* collectd: handle renaming ipq807x as qualcommaxHannu Nyman2023-06-17
| | | | | | | The 'ipq807x' target was renamed to be 'qualcommax' (and ipq807x was set as subtarget). Adjust plugin target dependencies to this renaming. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: change references from armvirt to armsrTianling Shen2023-06-16
| | | | | | | | | armvirt target has been renamed to armsr (Arm SystemReady) [1], so the dependency need to be changed as well. 1. https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* collectd: enable AllPortsSummary for tcpconns pluginMaxim Storchak2023-05-29
| | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-04-08
| | | | | | | See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* collectd: Fix ltq-dsl compilation errorsAlexandros Kosiaris2023-03-23
| | | | | | | | | | | Per https://github.com/openwrt/packages/pull/19396#issuecomment-1480780893 prefix ltq-dsl-app with a @ character to fix the compilation issues witnessed in PR #19396 and #20662 Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
* treewide: bump PKG_RELEASE for libiwinfo dependant packagesChristian Marangi2023-01-23
| | | | | | Bump PKG_RELEASE for libiwinfo dependant packages. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* 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>