From 6d881f3a23ecc01bcbfdb36f51fd738b745db69c Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 23 Mar 2010 15:39:59 +0000 Subject: [PATCH] OMNOMNOM. DEPRECATED SENSORS BEGONE. This line, and those below, will be ignored-- M html/pages/device.php git-svn-id: http://www.observium.org/svn/observer/trunk@1046 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/html/pages/device.php b/html/pages/device.php index 0d32ee9b76..2d0dd1e105 100644 --- a/html/pages/device.php +++ b/html/pages/device.php @@ -53,15 +53,15 @@ if($health) { '); } -$cisco_sensors = mysql_result(mysql_query("SELECT count(*) FROM `entPhysical` WHERE device_id = '".$device['device_id']."' AND entSensorType != '' AND entSensorType NOT LIKE 'No%'"),0); +#$cisco_sensors = mysql_result(mysql_query("SELECT count(*) FROM `entPhysical` WHERE device_id = '".$device['device_id']."' AND entSensorType != '' AND entSensorType NOT LIKE 'No%'"),0); -if($cisco_sensors) { - echo('
  • - - Sensors - -
  • '); -} +#if($cisco_sensors) { +# echo('
  • +# +# Sensors +# +#
  • '); +#} if(is_dir($config['collectd_dir'] . "/" . $device['hostname'] ."/")) { echo('