[ previous ] [ next ] [ threads ]
 From:  "Chris Dionissopoulos" <dionch at freemail dot gr>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] some notes on how we added traffic graphs to m0n0wall...
 Date:  Sun, 4 Apr 2004 23:26:16 +0300
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

then :
 /usr/local/bin/gatherstats.sh  to read "ipfw show" results and produce
correct .rrd files for every entry in config.xml.

and finally:
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...

> 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:
> http://www.squires-eng.com/graphinfo.html
> 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"
> database.
> 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!
> regards,
> jay w.
> squires engineering
> Version: PGP 7.0.4
> iQEVAwUBQG2xysyM0YPqVE7FAQGzmwf8Cme/TYClIB/ydl8dQvJkrEUg9TrkS16Y
> 3f2VZWd4i7As1IK458mNBB2GFoqElmI/UtI89zzmkvNFoeBaCeHzF9KXS30aogYa
> oJ3MNhapsc2u3SGymUSxUSU1BM6BC5n8+JC5MoXXNduzDGCP2oJ6YJMnEWO85q6R
> +vmQfksauIuMaDWemr8PQIOzxlBQNW9ctB2ofmEKOvTZuHUhFtox6yFmWm3pl4Vb
> CBbtxNYrmv76w2u66puuxOHLLv6YyVfe5EVhWR7ICxLyC4nPwx5y3yf9u0QuIh1Y
> oMay1upvQ5/v+ow+u+Saa+uCawHd9BW5ZiHqHQmhtrg8fXiXe1iuOg==
> =Zbid
> ---------------------------------------------------------------------
> 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.