mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-07 15:33:43 +00:00
checkFilters() with freq und wildcards
This commit is contained in:
parent
9bfe832530
commit
b3ee8d29ae
4 changed files with 36 additions and 23 deletions
|
|
@ -38,7 +38,7 @@ def processAlarm(typ,freq,data):
|
|||
#if enabled use RegEx-Filter
|
||||
if globals.config.getint("BOSWatch","useRegExFilter"):
|
||||
from includes import filter
|
||||
if filter.checkFilters(data,typ,pluginName):
|
||||
if filter.checkFilters(typ,data,pluginName,freq):
|
||||
logging.debug("call Plugin: %s", pluginName)
|
||||
plugin.run(typ,freq,data)
|
||||
logging.debug("return from: %s", pluginName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue