Deux plugins pour visualiser l'volution du wiki
darcs-hash:20060420155207-72cb0-19fc5e720146446260748f1838378078bfb3884d.gz
This commit is contained in:
parent
7b98b6ca73
commit
76465b3d4e
2 changed files with 30 additions and 0 deletions
16
munin/wiki_users
Executable file
16
munin/wiki_users
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
||||
echo 'host_name wiki'
|
||||
echo 'graph_title Utilisateurs wiki'
|
||||
echo "graph_args --base 1000 --lower-limit 0"
|
||||
echo "graph_vlabel nombre d'utilisateurs"
|
||||
echo 'enregistres.label Nb enregistrés'
|
||||
echo 'enregistres.draw AREA'
|
||||
echo 'favoris.label Nb avec favoris'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "enregistres.value" `ls /var/local/wiki/data/user/ | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | wc -l`
|
||||
echo "favoris.value" `ls /var/local/wiki/data/user/ | grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.bookmark$' | wc -l`
|
Loading…
Add table
Add a link
Reference in a new issue