aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd
Commit message (Collapse)AuthorAge
* 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>
* collectd: add uci config supportFlorian Eckert2019-04-25
| | | | | | Add uci config support. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* collectd: update forgotten PKG_RELEASE number after last changeFlorian Eckert2019-04-25
| | | | | | Update PKG_RELEASE mumber. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* Merge pull request #8138 from TDT-AG/pr/20190206-collectdFlorian Eckert2019-04-25
|\ | | | | collectd: enable lua support
| * collectd: fix lua callback registrationFlorian Eckert2019-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * collectd: enable lua supportFlorian Eckert2019-04-25
| | | | | | | | | | | | | | This will enable the lua support for collectd. The new package name is collectd-mod-lua Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | collectd: backport modbus improvementsDaniel Golle2019-04-14
|/ | | | | | | | * 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>
* collectd: remove lm-sensors version upper limitHannu Nyman2019-01-12
| | | | | | | | 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>
* collectd: Introduce collectd-mod-ethstatPetko Bordjukov2018-11-28
| | | | | | | | | | | The ethstat plugin for collectd provides a convenient way to track a large list of variables associated with network interfaces such as channel busy time and many others. A list of the available variables for a given interface may be acquired by running ethtool -S <interface> Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
* collectd: update to 5.8.1Hannu Nyman2018-10-26
| | | | | | Update collectd to version 5.8.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* treewide: remove obsolete references to avr32Yousong Zhou2018-09-28
| | | | | | | This is a long overdue followup commit to openwrt/openwrt@5d9eeab ("build: remove obsolete references to cris and avr32") Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* Merge pull request #6424 from micmac1/collectd-uclibc-iconvHannu Nyman2018-07-15
|\ | | | | collectd: fix uclibc build issue
| * collectd: include nls.mk for mysql pluginSebastian Kemper2018-07-13
| | | | | | | | | | | | libmariadb 10.2 needs to be linked in together with iconv. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* | utils/collectd: run with low priorityMarc Benoit2018-07-08
|/ | | | | | | | | | | | | | | Even on a powerful platform a collectd process' activities are sometimes affecting throoughput and latency. This is a backgroud process, that should not be running with default priority. Even if it is a little deplayed, that is not a worry in this case. The routing should be the main priority, stats collection can wait a bit. Tested on Netgear R7800 Signed-off-by: Marc Benoit <marcb62185@gmail.com> Make niceness more moderate, bump version. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: enable mysql pluginSebastian Kemper2018-04-29
| | | | Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* collectd: modbus: backport support for little-endian valuesDaniel Golle2018-02-28
| | | | | | | | | 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>
* collectd: enable MQTT pluginHannu Nyman2018-02-15
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* utils/collectd: Re-add option to enable encrypted network outputJonathan McDowell2018-01-17
| | | | | | | | | The collectd network plugin has the ability to sign and/or encrypt its traffic, allowing secure interaction with other collectd instances. This had been disabled due to issues with the collectd build system. Fix up the configure parameters to work correctly and re-add the option. Signed-off-by: Jonathan McDowell <noodles@earth.li>
* collectd: upgrade package collectd to version 5.8.0Thomas Huehn2017-12-06
| | | | | | | | | | | | | | | | | | | | | 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>
* collectd: uptime plugin: apply fix from upstreamHannu Nyman2017-09-15
| | | | | | | | | | | | | | | 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/2034 Fixes #4819 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: update to 5.7.2Hannu Nyman2017-06-10
| | | | | | | | * update collectd to 5.7.2 * drop backported upstream patch that is now in release * refresh patches Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: build cpufreq also for armvirt targetHannu Nyman2017-04-28
| | | | | | | | | | | Enable collectd-mod-cpufreq also for armvirt to make it available for ipq806x devices in LEDE buildbot snapshots. LEDE phase2 buildbot for arm_cortex-a15_neon-vfpv4 that is the package arch for ipq806x, uses armvirt SDK instead of ipq806x SDK. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* collectd: upstream fix for vulnerability in network pluginHannu Nyman2017-04-20
| | | | | | | | | Import an upstream fix for a DDoS vulnerability in the network plugin: CVE-2017-7401 Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>