mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
missing file!
git-svn-id: http://www.observium.org/svn/observer/trunk@199 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -14,6 +14,10 @@ if(!$config['enable_syslog']) {
|
||||
exit();
|
||||
}
|
||||
|
||||
## 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'].")");
|
||||
|
||||
$q = mysql_query("SELECT * FROM `syslog` where `processed` = '0'");
|
||||
while($entry = mysql_fetch_array($q)){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user