diff --git a/html/includes/graphs/device_fanspeeds.inc.php b/html/includes/graphs/device_fanspeeds.inc.php new file mode 100644 index 0000000000..e3e1719994 --- /dev/null +++ b/html/includes/graphs/device_fanspeeds.inc.php @@ -0,0 +1,55 @@ + diff --git a/includes/syslog.php b/includes/syslog.php index fe795e89ee..8e265e11db 100755 --- a/includes/syslog.php +++ b/includes/syslog.php @@ -62,7 +62,7 @@ function process_syslog ($entry, $update) { $x .= "VALUES ('".$entry['device_id']."','".$entry['program']."','".$entry['facility']."','".$entry['priority']."', '".$entry['level']."', '".$entry['tag']."', '".$entry['msg']."','".$entry['timestamp']."')"; if($update && $entry['device_id']) { mysql_query($x); } unset ($fix); - } + } else { print_r($entry); echo("D-$delete");} return $entry; diff --git a/syslog.php b/syslog.php index 5698ed7873..64fd88fb1b 100755 --- a/syslog.php +++ b/syslog.php @@ -3,6 +3,7 @@ include("config.php"); include("includes/syslog.php"); +include("includes/common.php"); $i="1";