mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
21 lines
492 B
PHP
21 lines
492 B
PHP
<?php
|
|
|
|
echo("Doing Thompson Speedtouch ");
|
|
|
|
$serial = "";
|
|
#list(,$hardware,) = explode(" ", $hardware);
|
|
$hardware = $sysDescr;
|
|
|
|
$features = "";
|
|
|
|
### Filthy hack to get software version. may not work on anything but 585v7 :)
|
|
|
|
$loop = shell_exec($config['snmpget'] . " -M ".$config['mibdir'] . ' -Ovq -v1 -c '.$device['community'].' '.$device['hostname'].' ifDescr.101');
|
|
if($loop) {
|
|
preg_match('@([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)@i',
|
|
$loop, $matches);
|
|
$version = $matches[1];
|
|
}
|
|
|
|
?>
|