| 1 | graphing of i-scream data using rrdtool. | 
 
 
 
 
 | 2 |  | 
 
 
 
 
 | 3 | tdb, 09/03/2002. | 
 
 
 
 
 | 4 |  | 
 
 
 
 
 | 5 | XML parsing is done using the following; | 
 
 
 
 
 | 6 |  | 
 
 
 
 
 | 7 | XML::Parser perl module | 
 
 
 
 
 | 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. |