1
0
mirror of https://github.com/moexe/FFFGateway-Monitoring.git synced 2024-11-24 22:53:42 +01:00
FFFGateway-Monitoring/html/routers.html

20 lines
442 B
HTML
Raw Normal View History

2017-01-24 22:20:14 +01:00
<div id="content">
<H1>Router via l2tp in der has-sued</H1>
<?php
$routers = shell_exec('sudo -n /var/www/html/has-mon/sensors/l2tp-routers.sh');
$router = explode(PHP_EOL, $routers);
for($i = 1; $i < count($router); ++$i) {
echo "<a href=\"https://monitoring.freifunk-franken.de/routers?q=^$router[$i]\$\">$router[$i]</a><br>";
}
--$i;
echo "<br>l2tp Router has-sued: $i"
?>
</div>
</div></div>
</div></div></div>
</body>
</html>