Commit 496eece5 authored by chove's avatar chove

import initial dans le repository commun

darcs-hash:20060514130154-4ec08-0312ecc6658be3e46b9a5ea5d5c6968e2216bcf2.gz
parent 8abc1970
#!/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 connects'
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`"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment