mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -32,7 +32,6 @@ function get_cache($host, $value) {
|
||||
return $dev_cache[$host][$value];
|
||||
}
|
||||
|
||||
|
||||
function process_syslog ($entry, $update) {
|
||||
global $config;
|
||||
|
||||
@@ -57,7 +56,6 @@ function process_syslog ($entry, $update) {
|
||||
# }
|
||||
# unset($matches);
|
||||
|
||||
|
||||
if (strstr($entry[msg], "%"))
|
||||
{
|
||||
$entry['msg'] = preg_replace("/^%(.+?):\ /", "\\1||", $entry['msg']);
|
||||
|
||||
Reference in New Issue
Block a user