diff --git a/Speedtest.inc.php b/Speedtest.inc.php index 462618e..d0cd674 100644 --- a/Speedtest.inc.php +++ b/Speedtest.inc.php @@ -1,6 +1,20 @@ +
+
+ +
+ antnetscaler02.icl-ltd.com
+ POP (default) +
+
+ +
+
+
+ +
@@ -9,16 +23,16 @@
- +
- +
- +
- +
@@ -28,16 +42,16 @@
- +
- +
- +
- +
diff --git a/Speedtest.php b/Speedtest.php index e69de29..6a50fda 100644 --- a/Speedtest.php +++ b/Speedtest.php @@ -0,0 +1,8 @@ +'.get_class().''); + } + +} +?> \ No newline at end of file diff --git a/librenms-speedtest.sh b/librenms-speedtest.sh index bd7b925..28baac5 100644 --- a/librenms-speedtest.sh +++ b/librenms-speedtest.sh @@ -3,7 +3,7 @@ # LibreNMS Speedtest plugin # ############################# # Main plugin dir -SpeedtestPluginDir=/opt/librenms/html/plugins +SpeedtestPluginDir=/opt/librenms/html/plugins/Speedtest # Other data dirs RRDGraphsDir=$SpeedtestPluginDir/rrd PNGImagesDir=$SpeedtestPluginDir/png @@ -305,9 +305,6 @@ SpeedtestResultDir=$SpeedtestPluginDir/tmp -c FONT#000000 \ --font LEGEND:8:DejaVuSansMono \ --font AXIS:7:DejaVuSansMono > /dev/null 2>&1 - - # Move PNGs to the LibreNMS plugin location - cp $PNGImagesDir/*.png /opt/librenms/html/plugins/Speedtest/png ;; (*)