mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
added ospf
This commit is contained in:
parent
cc2567512e
commit
2d5c78a463
1 changed files with 2 additions and 6 deletions
|
@ -1,10 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Created by spleen on 13.02.11.
|
||||
#
|
||||
# put into plugin-conf.d/plugins.conf
|
||||
# [quagga_routes]
|
||||
# user root
|
||||
#
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo 'graph_title quagga routes'
|
||||
|
@ -17,6 +11,7 @@ if [ "$1" = "config" ]; then
|
|||
/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
|
||||
|
@ -27,5 +22,6 @@ fi
|
|||
/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