Commit Graph
4473 Commits
Author SHA1 Message Date
Etienne Champetier 96aa76f16f Merge pull request #19125 from hirnpfirsich/master
prometheus-node-exporter-lua: add realtek-poe exporter
2022-08-08 21:19:49 -04:00
Gregor Michels 201457c17a prometheus-node-exporter-lua: add realtek-poe exporter
exposes PoE metrics obtained from realtek-poe

 # HELP realtek_poe_switch_info information about the poe controller
 # TYPE realtek_poe_switch_info gauge
 realtek_poe_switch_info{mcu="ST Micro ST32F100 Microcontroller",firmware="v22.4"} 1

 # HELP realtek_poe_switch_budget_watts overall power budget
 # TYPE realtek_poe_switch_budget_watts gauge
 realtek_poe_switch_budget_watts 77

 # HELP realtek_poe_switch_consumption_watts overall power consumption
 # TYPE realtek_poe_switch_consumption_watts gauge
 realtek_poe_switch_consumption_watts 5

 # HELP realtek_poe_port_priority poe priority of port
 # TYPE realtek_poe_port_priority gauge
 realtek_poe_port_priority{device="lan1"} 1
 realtek_poe_port_priority{device="lan2"} 1
 [...]

 # HELP realtek_poe_port_consumption_watts per port power consumption
 # TYPE realtek_poe_port_consumption_watts gauge
 realtek_poe_port_consumption_watts{device="lan1"} 0
 realtek_poe_port_consumption_watts{device="lan2"} 0
 [...]

 # HELP realtek_poe_port_state per port poe state
 # TYPE realtek_poe_port_state gauge
 realtek_poe_port_state{device="lan1",state="Disabled"} 0
 realtek_poe_port_state{device="lan1",state="Searching"} 1
 [...]
 (states: Disabled, Searching, Delivering power, Fault, Other fault, Requesting power)

 # HELP realtek_poe_port_mode per port poe mode
 # TYPE realtek_poe_port_mode gauge
 realtek_poe_port_mode{device="lan1",mode="PoE"} 0
 realtek_poe_port_mode{device="lan1",mode="PoE+"} 1
 [...]
 (modes: PoE, Legacy, pre-PoE+, PoE+)

Signed-off-by: Gregor Michels <hirnpfirsich@brainpeach.de>
2022-08-08 14:55:44 +02:00
Alexandru Ardelean 56e2f4eb89 Merge pull request #19114 from commodo/squashfs-tools-zstd
squashfs-tools: enable zstd compression by default
2022-08-08 11:36:40 +03:00
Nick Hainke 245d63426b prometheus-node-exporter-lua: fix hostapd stations
We can only utilize statistics from interfaces having ubus interface.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-07 12:22:34 -04:00
Etienne Champetier 5a782988bd Merge pull request #18834 from jpds/prometheus-selinux-collector
prometheus-node-exporter-lua: Added selinux.lua.
2022-08-07 12:13:58 -04:00
Tianling Shen 82a45b28b7 yq: Update to 4.27.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-06 10:35:27 -07:00
Alexandru Ardelean f0d45ba340 squashfs-tools: enable zstd compression by default
Requested via:
  https://github.com/openwrt/packages/issues/19111

PKG_RELEASE is set to AUTORELEASE, so no need to bump.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-05 09:48:33 +03:00
Philip Prindeville d297b142c7 Merge pull request #19083 from pprindeville/drop-parallel-support-non-x86
lcdproc: don't enable LPT support on non-x86 architectures
2022-08-04 13:01:42 -06:00
Philip Prindeville 13ed78046a lcdproc: don't enable LPT support on non-x86 architectures
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-03 18:24:28 -06:00
Clark Wang bcc877e73c sexpect: updated to 2.3.11
Signed-off-by: Clark Wang <dearvoid@gmail.com>
2022-08-02 18:10:53 -07:00
Javier Marcet 35b1a03b83 docker-compose: Update to version 2.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:45 -07:00
Hannu Nyman 0aed202180 nano: update to 6.4
Update nano editor to version 6.4.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-08-02 15:32:10 +03:00
Aleksander Jan Bajkowski 12ac68f835 coremark: bump to 2022-07-27
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-02 14:42:13 +03:00
Michal Kowalski 406adc5363 watchcat: fix broken ping invocation for no-address-family configuration
Fix for issue #19010

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
Signed-off-by: Michal Kowalski <18610805+kofec@users.noreply.github.com>
2022-08-01 20:35:15 -04:00
Alexandru Gagniuc f69a65ec37 realtek-poe: Add package to control PoE for Realtek 838x devices
The realtek-poe package is used to configure the Power-over-Ethernet
controller found on Realtex 838x based switches. On many such
switches, the PoE doesn't work without this package.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2022-07-30 21:42:54 +02:00
Philip Prindeville 0fb5505e45 Merge pull request #19055 from pprindeville/issue#18975
lcdproc: don't detect parallel port on build host
2022-07-30 13:03:20 -06:00
Philip Prindeville bba4168d49 lcdproc: don't detect parallel port on build host
Also, limit builds to x86 and x86_64.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-07-30 12:53:02 -06:00
Robert Högberg 7017211091 domoticz: fix read of "disabled" uci configuration parameter
The domoticz init script didn't properly read the "disabled"
configuration parameter and instead the service was always started.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2022-07-28 14:18:37 -07:00
Rosen Penev 9668b2886a tar: add PKG_CONFIG_DEPENDS
fixes compilation when deselecting options.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-28 14:18:00 -07:00
Guilherme Janczak d9343b1549 hfsprogs: remove unused libbsd
hfsprogs uses libbsd for strlcpy(), but the strlcpy() calls are inside
`#ifdef` and don't show up on the OpenWRT package.

Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
2022-07-28 12:17:20 -07:00
Jitao Lu 3d91826be8 kitty-terminfo: Fix license
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
2022-07-27 14:28:36 +08:00
Jonathan Pagel 281d156a35 telegraf: Update to version 1.23.3
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-07-26 00:12:31 +02:00
Gerard Ryan faa419c4a8 dockerd: Update to v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Gerard Ryan 6a5e436b8d docker: Update to v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Gerard Ryan 4c08963cf4 libnetwork: Update to f6ccccb for Docker v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Gerard Ryan 7c1223b7ac containerd: Update to v1.6.6 for Docker v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Gerard Ryan 6b246a5ec3 runc: Update to v1.1.2 for Docker v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Daniel Golle ad0ac5198d cryptsetup: fix library paths by calling autoreconf
Use PKG_FIXUP:=autoreconf when building cryptsetup to prevent
accidental linkage against host libraries.

Fixes: #19011
Reported-by: @dreirund
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-07-23 09:40:04 +01:00
Rosen Penev 89a8fb1d30 crelay: update to 0.14.1
Also add a meson.build file to avoid iconv hacks.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-21 21:44:49 -07:00
Javier Marcet de563c1ae1 docker-compose: Update to version 2.7.0
What's Changed:

 - Enhancements:

   - add support of environment secret during build step by @glours

 - Fixes:

   - networks: prevent issues due to duplicate names by @milas
   - Use appropriate dependency condition for one-shot containers when
   running compose up --wait by @laurazard
   - Fix environment variable expansion by @ulyssessouza in
   compose-spec/compose-go#276
   - Validate depended-on services exist in consistency check by
   @laurazard in compose-spec/compose-go#281
   - Fix hash usage in environment values by @ulyssessouza in
   compose-spec/compose-go#283
   - build: respect dependency order for classic builder by @milas
   - fix: panic caused by empty string argument by @nicksieger
   - (re)start should not impact one-off containers by @ndeloof
   - Fix issue with close networks name on up and down command by
   @glours
   - keep the container reference when volumes_from target a container
   and not a service by @glours
   - build.go: initialize CustomLabels map if nil by @paroque28

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-07-21 21:44:37 -07:00
Rosen Penev 59cadc7c65 irqbalance: add meson
Fixes compilation when libiconv is missing.

Also remove pthread from glibc. No longer needed.

Cleanup Makefile for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-19 16:19:05 +03:00
Rosen Penev 45d7e4f6f7 open-vm-tools: fix compilation without libiconv
Fix for recent nls.mk change.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-19 01:35:06 -07:00
Tianling Shen 4df4b8eae7 yq: Update to 4.26.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-18 07:43:40 +02:00
John Audia 736117d2d2 coreutils: update to 9.1
Removed upstreamed patch[1]:
  002-chmod-fix_exit_status_when_ignoring_sylinks.patch

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

1. https://debbugs.gnu.org/cgi/bugreport.cgi?msg=28;bug=50784

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-07-16 21:49:39 -07:00
John Kohl 5c96ee5b1b watchcat: add support to run a script
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2022-07-15 12:14:06 -07:00
John Kohl baed5531ef watchcat: add IP version selection support; fix bug with unlockbands
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2022-07-15 12:14:06 -07:00
Jonathan Pagel 591f8cad33 telegraf: Update to version 1.23.2
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-07-14 19:35:25 +02:00
Jonathan Davies 9eeb9b3894 prometheus-node-exporter-lua: Added selinux.lua.
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
2022-07-13 17:15:22 +01:00
Jonathan Pagel 9b1cdb7b52 telegraf: Update to version 1.23.1
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-07-11 10:14:36 +02:00
John Audia 3492409667 ncdu: update to 1.17 and add blue option
Upstream bump and add a patch to use a blue highlight color for the dark
color scheme (--color dark) as some users find the default bright green is
too intense.

Note that invoking ncdu without the --color switch at use uses the upstream
default bright green, so users will need to call ncdu with --color dark in
order to get the blue color.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-07-05 21:59:19 -07:00
Maxim Storchak 547cbcfd14 tmux: update to 3.3a
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2022-07-01 12:19:02 +02:00
Tianling Shen 15aff10231 yq: Update to 4.25.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-06-27 10:30:47 -07:00
Javier Marcet 5995e4d90b docker-compose: Update to version 2.6.1
Enhancements:

 - Support for setting secret from env variable by @ndeloof

Fixes:

 - Do not start unrelated dependencies on run by @laurazard
 - Fix service not found errors when using --no-deps by @nicksieger
 - Respect COMPOSE_REMOVE_ORPHANS env var on down by @nicksieger
 - Fix project level bind mounts volumes by @ulyssessouza
 - Respect deploy.limits.cpus and deploy.limits.pids by @glours

Internal:

 - Upgrade: Go v1.18.3 by @thaJeztah
 - Upgrade: compose-go v1.2.8 by @milas
 - Upgrade: buildx v0.8.2 by @dependabot
 - Upgrade: containerd v1.6.6 by @dependabot

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-27 10:30:23 -07:00
Michal Vasilek 7da7356539 lxc: export systemd cgroups after install
otherwise, a user would have to either manually run /etc/init.d/lxc-auto
boot or reboot the system to start using lxc.

originally committed in 2cde10b950
reverted in 039912dec5

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-06-24 12:16:43 +02:00
Florian Eckert 3617cb311a Merge pull request #18778 from bluebrother/collectd-dsl-fixes
collectd: Fix various issues with lantiq dsl metrics.
2022-06-24 09:29:10 +02:00
Rui Salvaterra d9447cfdc2 irqbalance: handle deepestcache option
Allow the user to specify the level at which irqbalance assumes the cache
domains are partitioned. Keep the default value of 2.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-23 12:44:17 +03:00
Rosen Penev 7dc5f0b436 fish: update to 3.5.0
Various other cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-22 16:34:36 -06:00
Dominik Riebeling eb632da5bb collectd: Fix various issues with lantiq dsl metrics.
- Handle bool values correctly. We get the values as bool, but collectd
  requires a bool value to be numeric in the range [0, 1].
- Remove profile and mode values. Those are strings, which cannot be
  represented by collectd.
- Update collectd type for some values.
- Fix latn value being present twice.

Signed-off-by: Dominik Riebeling <bluebrother@posteo.de>
2022-06-22 19:02:44 +02:00
Tom Stöveken 06626a9fdf restic: update to 0.13.1
Tested lantiq/xrx200

Maintainer: Markus Weipert suggested to hand over to me, thank you!
Compile tested: SDK for OpenWrt 21.02.3
Run tested: xRX200 rev 1.2, AVM FRITZ!Box 7360 V2, OpenWrt 21.02.3

Description:
    Updated to version 0.13.1

Signed-off-by: Tom Stöveken <tom@naaa.de>
2022-06-21 20:49:48 +03:00
Alexandros Kosiaris 033c19acd7 collectd: Support configuration of write_http plugin
write_http plugin is already built and shipped in
collectd-mod-write_http, 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_write_http() and
process_write_http_node(). First one just enables/disables the plugin.
The second one, in the spirit of the curl plugin, adds support for
populating multiple <Node> elements under <Plugin write_http> with
support for a few parameters. Those are:

* name. The name of the <Node>. Mandatory
* URL. Mandatory
* Format. Optional.
* User. Optional.
* Password. Optional.
* Timeout. Optional.
* BufferSize. Optional.

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
2022-06-21 18:30:04 +03:00