Ajout d'alertes
darcs-hash:20070921174945-72cb0-d93add0fd0fc5cc227e53a458a8ea54fd122048a.gz
This commit is contained in:
parent
8986bbf60b
commit
b4f366baf3
1 changed files with 8 additions and 2 deletions
10
munin/munin
10
munin/munin
|
@ -4,7 +4,7 @@ if [ "$1" = "config" ]; then
|
|||
|
||||
echo 'graph_category system'
|
||||
echo 'graph_title Munin'
|
||||
echo 'graph_args --base 1000 --lower-limit 0'
|
||||
echo 'graph_args --base 1000 --lower-limit 0 --rigid'
|
||||
echo 'graph_vlabel Temps de traitement (s)'
|
||||
echo 'update.label update'
|
||||
echo 'update.draw AREA'
|
||||
|
@ -15,6 +15,9 @@ if [ "$1" = "config" ]; then
|
|||
echo 'html.label html'
|
||||
echo 'html.draw STACK'
|
||||
echo 'total.label Total'
|
||||
echo 'max.label Maximum'
|
||||
echo 'total.warning 0:300'
|
||||
echo 'update.critical 0:240'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -48,4 +51,7 @@ time_html=$(echo $end_html"-"$begin_html | bc -l)
|
|||
echo $time_html
|
||||
|
||||
echo -n "total.value "
|
||||
echo $time_update"+"$time_limits"+"$time_graph"+"$time_html | bc -l
|
||||
echo $time_update"+"$time_limits"+"$time_graph"+"$time_html | bc -l
|
||||
|
||||
# Le temps de rafraîchissement de munin est de 5 minutes
|
||||
echo "max.value 300"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue