-");
+print_optionbar_start();
unset ($sep);
$query = mysql_query("SELECT `entSensorType` FROM `entPhysical` WHERE device_id = '".$device['device_id']."' AND entSensorType != '' AND entSensorType NOT LIKE 'No%' GROUP BY `entSensorType` ORDER BY `entSensorType`");
@@ -23,16 +14,8 @@ echo("
-
-
-
-
-
-
-
-
-");
+
+print_optionbar_end();
$query = mysql_query("SELECT * FROM `entPhysical` WHERE device_id = '".$device['device_id']."' and entSensorType = '".$_GET['opta']."' ORDER BY `entPhysicalName`");
while($data = mysql_fetch_array($query)) {
diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php
index bcfb9d99d5..41ebf87457 100644
--- a/html/pages/device/health.inc.php
+++ b/html/pages/device/health.inc.php
@@ -1,4 +1,4 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/html/pages/preferences.php b/html/pages/preferences.php
index 0bd88a9406..d7c4e87eb6 100644
--- a/html/pages/preferences.php
+++ b/html/pages/preferences.php
@@ -19,7 +19,7 @@ echo("
");
+
");
echo("
");
diff --git a/html/pages/syslog.php b/html/pages/syslog.php
index 1b61aced91..a4f648dbe7 100644
--- a/html/pages/syslog.php
+++ b/html/pages/syslog.php
@@ -37,7 +37,7 @@
-
+
diff --git a/includes/discovery/temperatures.php b/includes/discovery/temperatures.php
index 425a30423e..bca0b6bab1 100755
--- a/includes/discovery/temperatures.php
+++ b/includes/discovery/temperatures.php
@@ -116,6 +116,7 @@
## LMSensors Temperatures
if($device['os'] == "linux") {
$oids = shell_exec($config['snmpwalk'] . " -m LM-SENSORS-MIB -$snmpver -CI -Osqn -c $community $hostname:$port lmTempSensorsDevice");
+ if($debug) { echo($oids."\n"); }
$oids = trim($oids);
if ($oids) echo("LM-SENSORS ");
foreach(explode("\n", $oids) as $data) {
diff --git a/process-syslog.php b/process-syslog.php
index 30f1384325..632984499d 100755
--- a/process-syslog.php
+++ b/process-syslog.php
@@ -22,13 +22,10 @@ include("includes/syslog.php");
#mysql_query("DELETE FROM `syslog` WHERE `processed` = '0' AND `msg` LIKE '%PM-3-INVALID_BRIDGE_PORT%'");
#mysql_query("DELETE FROM `syslog` WHERE `processed` = '0' AND `msg` LIKE '%RHWatchdog%'");
#mysql_query("DELETE FROM `syslog` WHERE `processed` = '0' AND `msg` LIKE '%Hardware Monitoring%'");
-
#mysql_query("DELETE FROM `syslog` WHERE `program` LIKE 'SNMP-3-AUTHFAIL'");
#mysql_query("DELETE FROM `syslog` WHERE `program` LIKE 'SW_MATM-4-MACFLAP_NOTIF'");
-
#mysql_query("DELETE FROM `syslog` WHERE `priority` = 'debug'");
-
## Delete all the old old old syslogs (as per config.php variable)
mysql_query("DELETE FROM `syslog` WHERE `datetime` < DATE_SUB(NOW(), INTERVAL ".$config['syslog_age'].")");
@@ -36,8 +33,6 @@ mysql_query("DELETE FROM `syslog` WHERE `datetime` < DATE_SUB(NOW(), INTERVAL ".
$q = mysql_query("SELECT * FROM `syslog` where `processed` = '0'");
while($entry = mysql_fetch_array($q)){
- print_r($entry);
-
process_syslog($entry, 1);