This is a simple way to customize the selection of network interfaces. If INTERFACE_NAMES_OVERRIDE is set in muninlite.conf, that list is used instead of auto-detection. As muninlite.conf
itself is also a script, it is even possible to write a custom command.
This feature is helpful in environments with virtual machines or containers, like docker or lxc where there are lots of br-*, veth*, lxcbr* etc interfaces where monitoring doesn't make much
sense. I didn't find a way to reliably filter physical interfaces.
Previously multiple "server" lines were consumed, but the output of the
awk filter lacked the line ending. Thus the last numeric value of the
previous "server" line was concatenated with the first numeric value of
the following "server" line. Thus multiple dots occurred in a single
numeric value and parsing just failed.
Thanks, glyndon!
Closes: #16
Previously an input token with a leading hyphen (e.g. "-n") could be
inadvertently interpreted by "echo" instead of being taken literally.
No further damage was possible, but this would have been unexpected.
Previously only the first line of the configuration file (without a
comment) was applied during build.
Thus `DF_IGNORE_FILESYSTEM_REGEX` was previously ignored.
Reported and fixed by Tobias Meyer, thanks!
Raspberry Pi has line "FIQ: usb_fiq" in /proc/interrupts.
"VALUE=$((VALUE + VAL))" results "Illegal number" in dash (Raspberry Pi)
"VALUE=$((VALUE + $VAL))" works in dash, bash and busybox (OpenWrt).
It's executed as shell script. For example, you can remove unwanted
plugin by adding following line to /etc/munin/muninlite.conf:
PLUGINS=${PLUGINS/ swap/}
It could also be used to add more plugins (with runtime on/off detection!),
although pluginsdir is the preferred way to do it.
It can also be used to override other hardcoded settings, like NTP_PEER or
DF_IGNORE_FILESYSTEM_REGEX.
Two fixes:
1) Use same regexp to skip df partitions in "config" and "fetch".
2) Use same function (was two different sed) to cleanup partition name.
This fixes bug #5.
Nowadays network interfaces have names like docker0, team0, ip_vti0, eno,
wlp61s0 and so on. Including word "Interface" in beginning of
graph_title groups these graphs together in web interface, not randomly
before/after other network-graphs (ipconntrack, firewall, ...).
See commit 70711831c44 in munin repository for similar change.
The "lrrd" service seems to be some historical cruft, that is no longer
in use. It is still an alias for the "munin" service (port 4949) in
/etc/services, but probably not in use anymore.
Packagers (e.g. for OpenWrt) usually pick a different path (e.g.
/usr/bin/muninlite or /usr/sbin/muninlite), but a native installation
from source should point to /usr/local/... by default.
The change affects only examples, thus it should do no harm.