mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
syslog handling update
git-svn-id: http://www.observium.org/svn/observer/trunk@1507 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
parent
f29e7b755b
commit
d07689c8d4
@ -5,7 +5,7 @@ function process_syslog ($entry, $update) {
|
|||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
foreach($config['syslog_filter'] as $bi) {
|
foreach($config['syslog_filter'] as $bi) {
|
||||||
if (strstr($entry['msg'], $bi)) {
|
if (strstr($entry['msg'], $bi) !== FALSE) {
|
||||||
$delete = 1;
|
$delete = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user