[nycphp-talk] php with GD like mrtg - possible ?
jon baer
jonbaer at jonbaer.net
Wed Apr 14 07:52:46 EDT 2004
The only class/package I know of is called "JpGraph" ...
Tutorial:
http://www.zend.com/zend/tut/tutsweat3.php
Package:
http://www.aditus.nu/jpgraph/index.php
And the highly recommended Jeff Knight presentation on GD:
http://www.nyphp.org/content/presentations/GDintro/
- Jon
----- Original Message -----
From: Ovidiu
To: talk at lists.nyphp.org
Sent: Wednesday, April 14, 2004 4:10 AM
Subject: [nycphp-talk] php with GD like mrtg - possible ?
Hello.
I have a voice software witch enter in mySQL 5 new rows each minute:
+----------------+-------------+---------------------+
| BoardID | ActiveCalls | CurrentTime |
+----------------+-------------+---------------------+
| dti(RTC SS7 2) | 0 | 2004-03-16 19:47:44 |
| dti(RTC SS7 1) | 0 | 2004-03-16 19:47:44 |
| dti(ALCATEL) | 0 | 2004-03-16 19:47:44 |
| dti(ORANGE) | 1 | 2004-03-16 19:47:44 |
| dti(RT-ISDN) | 2 | 2004-03-16 19:47:44 |
+----------------+-------------+---------------------+
5 rows in set (0.54 sec)
Those rows are repeated each minute with new values for ActiveCalls. Anyone know a class or something capable to generate something just like mrtg. One chart for hour, another for day or week, month and so on for each dti ?
I was searching google and looking on thobias ( rrd tool ) for this but no luck.
Any suggestion will be more than welcome.
Thank you
------------------------------------------------------------------------------
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040414/7be732de/attachment.html>
More information about the talk
mailing list