[munin/innd_*] Corrections mineures
darcs-hash:20090330154859-ddb99-c00dd9c21e2b90e70df03f603f160ca3fb9b5b86.gz
This commit is contained in:
parent
26c25d26f7
commit
1d86595f9b
2 changed files with 3 additions and 3 deletions
|
@ -30,14 +30,14 @@ if [ "$1" = "config" ]; then
|
||||||
echo "graph_period minute"
|
echo "graph_period minute"
|
||||||
echo "graph_category News"
|
echo "graph_category News"
|
||||||
echo "graph_info Affiche le nombre de connexions par minute à InnD."
|
echo "graph_info Affiche le nombre de connexions par minute à InnD."
|
||||||
echo "connects.label Total"
|
|
||||||
echo "connects.type DERIVE"
|
|
||||||
echo "crans.label crans"
|
echo "crans.label crans"
|
||||||
echo "crans.type DERIVE"
|
echo "crans.type DERIVE"
|
||||||
echo "crans.draw AREA"
|
echo "crans.draw AREA"
|
||||||
echo "ext.label exterieur"
|
echo "ext.label exterieur"
|
||||||
echo "ext.type DERIVE"
|
echo "ext.type DERIVE"
|
||||||
echo "ext.draw STACK"
|
echo "ext.draw STACK"
|
||||||
|
echo "connects.label Total"
|
||||||
|
echo "connects.type DERIVE"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ fi
|
||||||
## Sortie
|
## Sortie
|
||||||
TMPFILE="/tmp/munin_innd_last"
|
TMPFILE="/tmp/munin_innd_last"
|
||||||
|
|
||||||
zcat -f /var/log/news/OLD/news.notice.3.gz /var/log/news/OLD/news.notice.2.gz /var/log/news/OLD/news.notice.1.gz /var/log/news/news.notice | grep "post ok" > $TMPFILE
|
zcat -f /var/log/news/OLD/news.notice.3.gz /var/log/news/OLD/news.notice.2.gz /var/log/news/OLD/news.notice.1.gz /var/log/news/news.notice | grep "post ok" > $TMPFILE 2> /dev/null
|
||||||
|
|
||||||
CURDATE=`date +%s`
|
CURDATE=`date +%s`
|
||||||
DATE=0
|
DATE=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue