[munin/sockets] on affiche les traits devant les zones
darcs-hash:20090427142513-bd074-772f8e65d69ef60f5593f0100e07e20631cf811e.gz
This commit is contained in:
parent
6b0022645d
commit
716289e245
1 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
# Copyright 2009 © Antoine Durand-Gasselin <adg@crans.org>
|
||||||
|
# License: BSD2
|
||||||
|
#
|
||||||
# # Parameters:
|
# # Parameters:
|
||||||
#
|
#
|
||||||
# config (required)
|
# config (required)
|
||||||
|
@ -30,10 +33,14 @@ if [ "$1" = "config" ]; then
|
||||||
graph_title Number of $myname
|
graph_title Number of $myname
|
||||||
graph_args --base 1000 --vertical-label connexions -l 0
|
graph_args --base 1000 --vertical-label connexions -l 0
|
||||||
graph_category network
|
graph_category network
|
||||||
|
in.label Connexions entrantes
|
||||||
|
in.draw AREA
|
||||||
|
in.colour c0c0ff
|
||||||
|
out.label Connexions sortantes
|
||||||
|
out.draw STACK
|
||||||
|
out.colour d0ffd0
|
||||||
`for dmn in ${services[@]}; do echo $dmn.label Connexions $dmn; done`
|
`for dmn in ${services[@]}; do echo $dmn.label Connexions $dmn; done`
|
||||||
other.label Connexions diverses
|
other.label Connexions diverses
|
||||||
in.label Connexions entrantes
|
|
||||||
out.label Connexions sortantes
|
|
||||||
EOF
|
EOF
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue