As has been mentioned, the gauge.swf file previously available from http://www.maani.us/
has been replaced with slickboard.swf, and this is not compatible with the gaugexml.cgi script.
So, here are the instructions:
1. Obtain slickboard from http://www.maani.us/slickboard/index.php?menu=Download
or from the attachment below.
2. Install the slickboard.swf
into your web server directory root. Also put the gaugexml3.js
file attached below in there.
3. Install the new gaugexml3.cgi
into your cgi-bin. Edit the parameters at the start of the script for CFGDIR, ROUTERSCGI and so on as required. You may need to use gaugexml3.pl
, depending on your web server.
5. Where you want the gauge to appear, insert the following code. You will also need to use the appropriate MRTG config file name for mrtg.cfg
, and the appropriate Target name for targetname
The gauge should now display, if you've done it correctly. Note that this is a BETA! If it doesn't work, here are some things to check:
1. Check the file is using the correct extension (.pl or .cgi) and has execute permission.
2. Check you've set the correct parameters in the gaugexml3.cgi script
4. Try it all in HTTP (not HTTPS first)
Also, note that the clickable links (you can click on a gauge and it should take you to the corresponding Routers2 graph) will not work unless you have a registered version of slickboard. which costs US$59.
If you want to display more than one gauge, you can use the gauge() line in step 5 above multiple times.
You can see a demo of this at https://monitor.auckland.ac.nz/swfdemo.html