From 98fdba559afa2e347c6807b4b3955d8b4bc1c4e6 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 31 Mar 2011 17:29:38 +0000 Subject: [PATCH] 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 --- html/includes/dev-overview-data.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php index ac7c60edb..6f5dcff4f 100644 --- a/html/includes/dev-overview-data.inc.php +++ b/html/includes/dev-overview-data.inc.php @@ -48,6 +48,13 @@ if ($device['location']) Location ' . $device['location']. ' '); + if (get_dev_attrib($device,'override_sysLocation_bool')) + { + echo(' + SNMP Location + ' . $device['real_location']. ' + '); + } } if ($uptime)