English
Note for lazy people
If you use Debian Sid distribution, put :
deb http://hyperion.homelinux.org/debian sid main
at the end of /etc/apt/sources.list
And apt-get update && apt-get install boxmon 🙂
If you don’t feel lazy, read instructions below.
– First create the database on you MySQL server : mysql -u root -p < boxMon.sql
- Install boxMon on the client host : python setup.py install
- configure boxMon: boxMon --configure
- if all works fine add boxMon to the crontab
0-59/5 * * * * /usr/bin/boxMon > /dev/null
– install the cgi on you webserver : ‘cp boxMon.cgi /usr/lib/cgi-bin/’
All is done 🙂 open http://yourwebserver/cgi-bin/boxMon.cgi to play with
graph generation
French
Remarque pour les fainéants
Si vous utilisez la distribution Debian Sid, ajoutez:
http://hyperion.homelinux.org/debian sid main
a la fin du fichier /etc/apt/sources.list
Et apt-get update && apt-get install boxmon :))
Si vous n’etes pas fainéant, lisez les instructions ci-dessous:
– Commencez par créer la base de données sur le serveur MySQL : mysql -u root -p < boxMon.sql
- Installez boxMon sur une machine client : python setup.py install
- Configurez boxMon: boxMon --configure
- Si tout fonctionne bien, ajouter une execution periodique au crontab root: 0-59/5 * * * * /usr/bin/boxMon 1> /dev/null
– Installez le CGI sur votre serveur web: cp boxMon.cgi /usr/lib/cgi-bin/
Tout est fait 🙂 Pointez votre navigateur internet sur : http://yourwebserver/cgi-bin/boxMon.cgi pour jouer un peu avec la génération de graphes.
A boxMon setup / Une installation boxMon