mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 05:42:13 +01:00
plugins/if: include "Interface" to graph_title for better grouping
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.
This commit is contained in:
parent
8046268893
commit
e6f5722a04
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
config_if() {
|
||||
INTERFACE=$1
|
||||
echo "graph_order down up"
|
||||
echo "graph_title $INTERFACE traffic"
|
||||
echo "graph_title Interface $INTERFACE traffic"
|
||||
echo "graph_args --base 1000"
|
||||
echo "graph_vlabel bits in (-) / out (+) per \${graph_period}"
|
||||
echo "graph_category network"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
config_if_err() {
|
||||
INTERFACE=$1
|
||||
echo "graph_order rcvd trans"
|
||||
echo "graph_title $INTERFACE errors"
|
||||
echo "graph_title Interface $INTERFACE errors"
|
||||
echo "graph_args --base 1000"
|
||||
echo "graph_vlabel packets in (-) / out (+) per \${graph_period}"
|
||||
echo "graph_category network"
|
||||
|
|
Loading…
Reference in a new issue