[munin/innd_*] Corrections mineures

darcs-hash:20090330154859-ddb99-c00dd9c21e2b90e70df03f603f160ca3fb9b5b86.gz
This commit is contained in:
Michel Blockelet 2009-03-30 17:48:59 +02:00
parent 26c25d26f7
commit 1d86595f9b
2 changed files with 3 additions and 3 deletions

View file

@ -30,14 +30,14 @@ if [ "$1" = "config" ]; then
echo "graph_period minute"
echo "graph_category News"
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.type DERIVE"
echo "crans.draw AREA"
echo "ext.label exterieur"
echo "ext.type DERIVE"
echo "ext.draw STACK"
echo "connects.label Total"
echo "connects.type DERIVE"
exit 0
fi

View file

@ -36,7 +36,7 @@ fi
## Sortie
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`
DATE=0