");
if ($config['overview_show_sysDescr'])
{
echo("
");
echo('
' . $device['sysDescr'] . "
");
echo("");
}
$uptime = $device['uptime'];
if ($device['os'] == "ios") { formatCiscoHardware($device); }
if ($device['features']) { $device['features'] = "(".$device['features'].")"; }
$device['os_text'] = $config['os'][$device['os']]['text'];
echo("");
echo('');
if ($device['hardware'])
{
echo('
Hardware |
' . $device['hardware']. ' |
');
}
echo('
Operating System |
' . $device['os_text'] . ' ' . $device['version'] . ' ' . $device['features'] . ' |
');
if ($device['serial'])
{
echo('
Serial |
' . $device['serial']. ' |
');
}
if ($device['sysContact'])
{
echo('
Contact | ');
if (get_dev_attrib($device,'override_sysContact_bool'))
{
echo('
' . htmlspecialchars(get_dev_attrib($device,'override_sysContact_string')) . ' |
SNMP Contact | ');
}
echo('
' . htmlspecialchars($device['sysContact']). ' |
');
}
if ($device['location'])
{
echo('
Location |
' . $device['location']. ' |
');
if (get_dev_attrib($device,'override_sysLocation_bool') && !empty($device['real_location']))
{
echo('
SNMP Location |
' . $device['real_location']. ' |
');
}
}
if ($uptime)
{
echo('
Uptime |
' . formatUptime($uptime) . ' |
');
}
echo(" |
");
echo("");
?>