1 |
i-scream queue monitoring using rrd. |
2 |
|
3 |
tdb, 21/10/01. |
4 |
|
5 |
XML parsing is done using the following; |
6 |
|
7 |
XML::Parser |
8 |
http://wwwx.netheaven.com/~coopercc/xmlparser/ |
9 |
|
10 |
Expat |
11 |
http://expat.sourceforge.net/ |
12 |
|
13 |
Both of those need to be installed first. |
14 |
|
15 |
Finally, rrdtool is needed for graphing. It can be found here; |
16 |
|
17 |
RRDTool |
18 |
http://rrdtool.eu.org/ |
19 |
|
20 |
With that lot installed, start watch.pl; |
21 |
|
22 |
./watch.pl iscreamserver.domain.com 4510 |
23 |
|
24 |
This will generate the rrdtool databases from the live data the i-scream server provides. |
25 |
|
26 |
./graph.pl |
27 |
|
28 |
This will generate the graphs. This is best run on a cron job. |
29 |
|
30 |
Finally, index.php will make a dynamic page based on the data graph.pl generates. |
31 |
|
32 |
See TODO for things still to be done. |