mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1289 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -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");
|
||||
|
||||
#}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -6,5 +6,8 @@ $community = $device['community'];
|
||||
$snmpver = $device['snmpver'];
|
||||
$port = $device['port'];
|
||||
|
||||
echo("UPS : ");
|
||||
#echo("UPS : ");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user