Speedtest Mini to Nagios Side Panel in 5 minutes

Get this:
http://www.speedtest.net/mini.php
While you’re there, check it out if you’d like. It’s free.

On the server where you want to install speedtest mini:
extract to /var/www/mini

We’re using the php version so I removed all of the index-xxx.html and renamed the index-php.html to index.html

Modify /etc/apache2/httpd.conf

Add the following

<VirtualHost ip.add.res:80>
ServerName speedtest.ntwk (or whatever)
ServerAlias  *.speedtest.ntwk (or whatever)
DocumentRoot /var/www/mini
</VirtualHost>

On the server running Nagios

edit /path/to/nagios/share/side.php

You’ll see this section easily:

<li><a href="main.php" target="<?php echo $link_target;?>">Home</a></li>
<li><a href="docs/" target="<?php echo $link_target;?>">Documentation</a></li>
....
Add the following: speedtest.ntwk might be an ip address or another servername. Give it a Name. SpeedTest is my name
<li><a href="http://speedtest.ntwk" target="<?php echo $link_target;?>">SpeedTest</a></li>

No need to restart nagios. You might need to restart your webserver (apache or apache2, whatever).