mirror of
https://github.com/moexe/FFFGateway-Monitoring.git
synced 2024-11-22 05:53:40 +01:00
20 lines
442 B
HTML
20 lines
442 B
HTML
|
<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>
|
||
|
|