Commit 496eece5 authored by chove's avatar chove

import initial dans le repository commun

parent 8abc1970
# 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
echo "crans.value `ls /var/lib/jabber/ | 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