import initial dans le repository commun
darcs-hash:20060514130154-4ec08-0312ecc6658be3e46b9a5ea5d5c6968e2216bcf2.gz
This commit is contained in:
parent
8abc197082
commit
496eece53b
1 changed files with 17 additions and 0 deletions
17
munin/jabber
Executable file
17
munin/jabber
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Plugin pour compter les comptes jabber
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ "$1" = "config" ]; then
|
||||||
|
echo 'host_name jabber'
|
||||||
|
echo 'graph_title Utilisateurs jabber'
|
||||||
|
echo 'graph_vlabel nb'
|
||||||
|
echo 'crans.label Nombre de comptes'
|
||||||
|
echo "crans.draw AREA"
|
||||||
|
echo 'user.label Utilisateurs connectés'
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "crans.value `ls /var/lib/jabber/jabber.crans.org | wc -l`"
|
||||||
|
echo "user.value `netstat -tn | grep ':5223 .*ESTABLISHED' | wc -l`"
|
Loading…
Add table
Add a link
Reference in a new issue