mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
sysLocation: a space odyssey - show snmp-configured location on device overview
git-svn-id: http://www.observium.org/svn/observer/trunk@2001 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -48,6 +48,13 @@ if ($device['location'])
|
|||||||
<td class="list-bold">Location</td>
|
<td class="list-bold">Location</td>
|
||||||
<td>' . $device['location']. '</td>
|
<td>' . $device['location']. '</td>
|
||||||
</tr>');
|
</tr>');
|
||||||
|
if (get_dev_attrib($device,'override_sysLocation_bool'))
|
||||||
|
{
|
||||||
|
echo('<tr>
|
||||||
|
<td class="list-bold">SNMP Location</td>
|
||||||
|
<td>' . $device['real_location']. '</td>
|
||||||
|
</tr>');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($uptime)
|
if ($uptime)
|
||||||
|
Reference in New Issue
Block a user