fixed schema and ipv6

git-svn-id: http://www.observium.org/svn/observer/trunk@271 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-11-03 16:06:03 +00:00
parent 6f09e3f6be
commit 1d01b07577
2 changed files with 99 additions and 453 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ while ($device = mysql_fetch_array($q)) {
echo("\n" . $device['hostname'] . " : ");
$oids = shell_exec($config['snmpwalk']." -".$device['snmpver']." -c ".$device['community']." ".$device['hostname']." ipAddressIfIndex.ipv6 -Osq");
$oids = trim(shell_exec($config['snmpwalk']." -".$device['snmpver']." -c ".$device['community']." ".$device['hostname']." ipAddressIfIndex.ipv6 -Osq"));
$oids = str_replace("ipAddressIfIndex.ipv6.", "", $oids); $oids = str_replace("\"", "", $oids); $oids = trim($oids);
foreach(explode("\n", $oids) as $data) {
$data = trim($data);
+98 -452
View File
File diff suppressed because one or more lines are too long