git-svn-id: http://www.observium.org/svn/observer/trunk@1289 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-04 18:47:55 +00:00
parent 0c22935920
commit ad406723eb
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<?php
#if($device['os_group'] == "ios")
#{
if($device['os_group'] == "ios" || $device['os_group'] == "junos" || $device['os'] == "ironware")
{
unset( $vrf_count );
@ -53,8 +53,6 @@
}
}
echo("\n");
$sql = "SELECT * FROM ports WHERE device_id = '" . $device['device_id'] . "'";
$data = mysql_query($sql);
while($row = mysql_fetch_array($data)) {
@ -81,6 +79,6 @@
echo("\n");
#}
}
?>

View File

@ -6,5 +6,8 @@ $community = $device['community'];
$snmpver = $device['snmpver'];
$port = $device['port'];
echo("UPS : ");
#echo("UPS : ");
?>