mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 10:58:12 +00:00
Add source HOST to graph_title
This commit is contained in:
parent
39976312f7
commit
dc129c541b
1 changed files with 3 additions and 5 deletions
|
@ -73,8 +73,7 @@ END {
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
|
echo "graph_title Traceroute `mtr -nrc 1 localhost | grep -E '^HOST' | awk '{print $2}'` to "$totrace
|
||||||
echo 'graph_title Traceroute (%) to '$totrace
|
|
||||||
echo 'graph_args --base 1000 -l 0 -u 100 -r'
|
echo 'graph_args --base 1000 -l 0 -u 100 -r'
|
||||||
echo 'graph_vlabel ms (percentage)'
|
echo 'graph_vlabel ms (percentage)'
|
||||||
echo 'graph_category network'
|
echo 'graph_category network'
|
||||||
|
@ -86,4 +85,3 @@ if [ "$1" = "config" ]; then
|
||||||
else
|
else
|
||||||
dotrace;
|
dotrace;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue