mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-06 22:23:21 +00:00
More housecleaning.
Collapse some categories; remove duplicates; move plugins in where they belong, remove files that are not really plugins at all.
This commit is contained in:
parent
4e3ef5b93e
commit
0a1524f27f
45 changed files with 0 additions and 1337 deletions
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo 'graph_title quagga routes'
|
||||
echo 'graph_args -l 0'
|
||||
echo 'graph_vlabel routes'
|
||||
echo 'graph_category System'
|
||||
echo 'graph_scale no'
|
||||
/usr/local/bin/vtysh -e "sh ip ro sum" | awk '
|
||||
/connected/ {print $1 ".label " $1 "\n" $1 ".draw AREASTACK"}
|
||||
/static/ {print $1 ".label " $1 "\n" $1 ".draw AREASTACK"}
|
||||
/ebgp/ {print $1 ".label " $1 "\n" $1 ".draw AREASTACK"}
|
||||
/ibgp/ {print $1 ".label " $1 "\n" $1 ".draw AREASTACK"}
|
||||
/ospf/ {print $1 ".label " $1 "\n" $1 ".draw AREASTACK"}
|
||||
/Totals/ {print $1 ".label " $1 "\n" $1 ".draw LINE1"}
|
||||
'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
/usr/local/bin/vtysh -e "sh ip ro sum" | awk '
|
||||
/connected/ {print $1 ".value "$2}
|
||||
/static/ {print $1 ".value "$2}
|
||||
/ebgp/ {print $1 ".value "$2}
|
||||
/ibgp/ {print $1 ".value "$2}
|
||||
/ospf/ {print $1 ".value "$2}
|
||||
/Totals/ {print $1 ".value "$2}
|
||||
'
|
Loading…
Add table
Add a link
Reference in a new issue