From b4855bcce8d56bac2b055724a0c0080690d08222 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 5 Dec 2011 15:18:18 +0000 Subject: [PATCH] fix ios-xr? (dunno) git-svn-id: http://www.observium.org/svn/observer/trunk@2757 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/entity-sensor.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/discovery/entity-sensor.inc.php b/includes/discovery/entity-sensor.inc.php index 4faba5cca..3d9fc8425 100644 --- a/includes/discovery/entity-sensor.inc.php +++ b/includes/discovery/entity-sensor.inc.php @@ -46,7 +46,8 @@ if (is_array($oids)) #ENTITY-SENSOR-MIB::entPhySensorUnitsDisplay.11 = STRING: "C" $descr = $entity_array[$index]['entPhysicalName']; - if ($descr || $device['os'] == "iosxr") +# if ($descr || $device['os'] == "iosxr") + if ($descr) { $descr = rewrite_entity_descr($descr); } else {