aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd
Commit message (Collapse)AuthorAge
* 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: optimise parent searchKevin Darbyshire-Bryant2021-10-06
| | | | | | | There can be only 1 parent process ID, so as soon as we find it, print it and exit - there's no point searching any of the following lines Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* 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: add percent calculation of bad block to ubi pluginFlorian Eckert2021-03-23
| | | | | | This patche adds the percent evaluation for the bad blocks. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: prepare ubi plugin for percent calculationFlorian Eckert2021-03-23
| | | | | | | This patche change prepares the ubi plugin to add the bad block evaluation in percent. 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: fix smart disk detectionFlorian Eckert2021-03-16
| | | | | | | | | | | | | | | | | | On my system the attribute DEVTYPE was not set. The plugin could not read any data and the function call blocked forever on this function and did not returned. By removing it, all block devices under `/sys/class/block` were checked. Block devices that do not support SMART were not evaluated. The collected displays the following message. smart plugin: checking SMART status of /dev/loop4. smart plugin: unable to open /dev/loop4. If you do not like this message, you could only enable device in the uci that does support SMART. 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>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* 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: snmp6 further improvementsNick Hainke2021-01-26
| | | | | | | Return with "-1" if parsing fails in read function. Reduce buffersize of splitstring function. 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: expose more global parameters to uciMaxim Storchak2021-01-10
| | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* collectd: remove extra newlines from the generated configMaxim Storchak2021-01-10
| | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* collectd: fix the wrong var nameMaxim 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: 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>