This is the best solution i ever saw for graphics.
I suggest , more script , to be writen (I can help for this):
add(edit)_graph.php (something like add_pipe/queue.php)
Adds a host/network/service into Graph-Monitoring mode=
1/ Add entries in config.xml
2/ Add "Ipfw add count" entries in a specific ipfw reserved
range (40.000-50.000 lets say).
delete_graph.php -> the reverse procedure
/usr/local/bin/gatherstats.sh to read "ipfw show" results and produce
correct .rrd files for every entry in config.xml.
a more general solution than
/usr/local/www/grapht.php / graph.php / stats.php / statst.php
to take advice of config.xml integrated into m0n0wall scripts , for showing
and we have extremely powerfull graphs.
I have worked some php scripts to produce graphs a couple of months ago,
but your solution seems excellent to me.
Good work Jey.
----- Original Message -----
From: "Jay Wherley (SEI)" <jrw at squires dash eng dot com>
To: <m0n0wall at lists dot m0n0 dot ch>
Sent: Friday, April 02, 2004 9:32 PM
Subject: [m0n0wall] some notes on how we added traffic graphs to m0n0wall...
> -----BEGIN PGP SIGNED MESSAGE-----
> i've put together some notes and a pair of screenshots describing
> a method we used to add network traffic (and net4801 enviromental
> data - Temperature, Vcc, Vpower) graphs to m0n0wall.
> full details here:
> the data is collected (via cron job) using SNMP for the network
> interfaces, and some parsing of env4801 program output for the
> enviromental data. it is stored in a fixed size "round robin"
> lots of different custom graphs could be used to pull up the
> data - the ones i made show hourly, daily, weekly, monthly,
> and yearly data.
> the data is persisted across power cycles by periodically copying
> the database to /cf (and using that if it exists at startup).
> i thought all of you m0n0wall users might be interested and see some
> ways of doing things - see the web page for all the details - have fun!
> jay w.
> squires engineering
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.0.4
> -----END PGP SIGNATURE-----
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.