mirror of
https://github.com/openwrt/packages.git
synced 2025-08-25 09:42:26 +00:00
As muninlite doesn't appear to have had a release in a few years and activity on the git repo appears to have stalled, we add some patches on our end for now. Patches: - 001->004 are upstream fixes from master. - 100 is a submitted PR: https://github.com/munin-monitoring/muninlite/pull/19 to fix https://github.com/munin-monitoring/muninlite/issues/14. - 200->204 is a submitted PR to allow customizing the monitored network interfaces: https://github.com/munin-monitoring/muninlite/pull/18. Despite the large number of patches it is actually a trivial change. Signed-off-by: Rany Hany <rany_hany@riseup.net>
19 lines
721 B
Diff
19 lines
721 B
Diff
From 71cc9a81106dc2199e5686a54fcff7c0aff6ef5e Mon Sep 17 00:00:00 2001
|
|
From: Daniel Alder <daald@users.noreply.github.com>
|
|
Date: Wed, 13 Dec 2023 17:35:57 +0100
|
|
Subject: [PATCH 201/204] Add examples for config with INTERFACE_NAMES_OVERRIDE
|
|
|
|
---
|
|
muninlite.conf | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/muninlite.conf
|
|
+++ b/muninlite.conf
|
|
@@ -1,3 +1,6 @@
|
|
# the following variables are added to the top of the assembled muninlite script
|
|
NTP_PEER="pool.ntp.org"
|
|
DF_IGNORE_FILESYSTEM_REGEX="(none|unknown|rootfs|iso9660|squashfs|udf|romfs|ramfs|debugfs|cgroup_root|devtmpfs)"
|
|
+
|
|
+#INTERFACE_NAMES_OVERRIDE="eth0"
|
|
+#INTERFACE_NAMES_OVERRIDE="$(sed 's/^ *//; s/:.*$//; / /d' /proc/net/dev | grep -P '^(eth|wlan|en)')"
|