mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-06 15:04:06 +00:00
new functionality: lookUp description in a given csv-file for FMS, ZVEI and POC
you have the possibility to set a discription for every FMS, ZWEI oder RIC address descriptions will be imported via csv-files if enabled BOSWatch will look up the description and could be used in the plugins eMail-plugin extended wildcards to use describtion %DESC%
This commit is contained in:
parent
300675a0e3
commit
f1f6503198
12 changed files with 234 additions and 46 deletions
|
|
@ -3,69 +3,86 @@
|
|||
########################
|
||||
|
||||
[BOSWatch]
|
||||
#set loglevel for logfile
|
||||
#10 = debug
|
||||
#20 = info
|
||||
#30 = warning
|
||||
#40 = error
|
||||
#50 = critical
|
||||
# set loglevel for logfile
|
||||
# 10 = debug
|
||||
# 20 = info
|
||||
# 30 = warning
|
||||
# 40 = error
|
||||
# 50 = critical
|
||||
loglevel = 10
|
||||
|
||||
#BOSWatch use a rotating logfile
|
||||
#Rotating is at midnight
|
||||
#You can set the backupCount here
|
||||
#backupCount = 7 (keeps logfiles for a week)
|
||||
# BOSWatch use a rotating logfile
|
||||
# Rotating is at midnight
|
||||
# You can set the backupCount here
|
||||
# backupCount = 7 (keeps logfiles for a week)
|
||||
backupCount = 7
|
||||
|
||||
#Using RegEx-Filter (0|1)
|
||||
#Filter-configuration in section [Filters]
|
||||
# Using RegEx-Filter (0|1)
|
||||
# Filter-configuration in section [Filters]
|
||||
useRegExFilter = 0
|
||||
|
||||
# Using Description (0|1)
|
||||
# You have to be enabled it for every typ in the sections below too
|
||||
useDescription = 0
|
||||
|
||||
[FMS]
|
||||
#time to ignore same alarm in a row (sek)
|
||||
# time to ignore same alarm in a row (sek)
|
||||
double_ignore_time = 5
|
||||
|
||||
# look-up-table for adding a description
|
||||
# turn on functionality (0|1)
|
||||
idDescribed = 0
|
||||
|
||||
[ZVEI]
|
||||
#time to ignore same alarm in a row (sek)
|
||||
# time to ignore same alarm in a row (sek)
|
||||
double_ignore_time = 5
|
||||
|
||||
# look-up-table for adding a description
|
||||
# turn on functionality (0|1)
|
||||
idDescribed = 0
|
||||
|
||||
[POC]
|
||||
#time to ignore same alarm in a row (sek)
|
||||
# time to ignore same alarm in a row (sek)
|
||||
double_ignore_time = 5
|
||||
|
||||
#some very simple filters:
|
||||
#Allow only this RICs (empty: allow all, separator ",")
|
||||
#f.e.: allow_ric = 1234566,1234567,1234568
|
||||
# some very simple filters:
|
||||
# Allow only this RICs (empty: allow all, separator ",")
|
||||
# f.e.: allow_ric = 1234566,1234567,1234568
|
||||
allow_ric =
|
||||
#Deny this RICs (empty: allow all, separator ",")
|
||||
#f.e.: deny_ric = 1234566,1234567,1234568
|
||||
|
||||
# Deny this RICs (empty: allow all, separator ",")
|
||||
# f.e.: deny_ric = 1234566,1234567,1234568
|
||||
deny_ric =
|
||||
|
||||
#start and end of an allowed filter range
|
||||
# start and end of an allowed filter range
|
||||
filter_range_start = 0000000
|
||||
filter_range_end = 9999999
|
||||
|
||||
# look-up-table for adding a description
|
||||
# turn on functionality (0|1)
|
||||
idDescribed = 0
|
||||
|
||||
|
||||
[Filters]
|
||||
#RegEX Filter Configuration
|
||||
#http://www.regexr.com/ - RegEX Test Tool an Documentation
|
||||
#No Filter for a Typ/Plugin Combination = all Data pass
|
||||
#INDIVIDUAL_NAME = TYP;DATAFIELD;PLUGIN;FREQUENZ;REGEX
|
||||
#TYP = the Data Typ (FMS|ZVEI|POC)
|
||||
#DATAFIELD = the field of the Data Array (See interface.txt)
|
||||
#PLUGIN = the name of the Plugin to call with this Filter (* for all)
|
||||
#FREQUENZ = the Frequenz to use the Filter (for more SDR Sticks (* for all))
|
||||
#REGEX = the RegEX
|
||||
# RegEX Filter Configuration
|
||||
# http://www.regexr.com/ - RegEX Test Tool an Documentation
|
||||
# No Filter for a Typ/Plugin Combination = all Data pass
|
||||
# INDIVIDUAL_NAME = TYP;DATAFIELD;PLUGIN;FREQUENZ;REGEX
|
||||
# TYP = the Data Typ (FMS|ZVEI|POC)
|
||||
# DATAFIELD = the field of the Data Array (See interface.txt)
|
||||
# PLUGIN = the name of the Plugin to call with this Filter (* for all)
|
||||
# FREQUENZ = the Frequenz to use the Filter (for more SDR Sticks (* for all))
|
||||
# REGEX = the RegEX
|
||||
|
||||
#only ZVEI to all Plugins with 25### at 85.5MHz
|
||||
# only ZVEI to all Plugins with 25### at 85.5MHz
|
||||
#testfilter = ZVEI;zvei;*;85500000;25[0-9]{3}
|
||||
|
||||
#only POCSAG to MySQL with the text "ALARM:" in the Message
|
||||
# only POCSAG to MySQL with the text "ALARM:" in the Message
|
||||
#pocTest = POC;msg;MySQL;*;ALARM:
|
||||
|
||||
|
||||
[Plugins]
|
||||
#can take on or off the plugins (0|1)
|
||||
# can take on or off the plugins (0|1)
|
||||
MySQL = 0
|
||||
httpRequest = 0
|
||||
eMail = 0
|
||||
|
|
@ -77,22 +94,23 @@ template = 0
|
|||
|
||||
|
||||
[MySQL]
|
||||
# MySQL configuration
|
||||
dbserver = localhost
|
||||
dbuser = root
|
||||
dbpassword = root
|
||||
database = boswatch
|
||||
|
||||
#tables in the database
|
||||
# tables in the database
|
||||
tableFMS = bos_fms
|
||||
tableZVEI = bos_zvei
|
||||
tablePOC = bos_pocsag
|
||||
|
||||
|
||||
[httpRequest]
|
||||
#URL without http://
|
||||
# URL without http://
|
||||
|
||||
#you can use the following wildcards in your URL as GET params:
|
||||
#http://en.wikipedia.org/wiki/Query_string
|
||||
# you can use the following wildcards in your URL as GET params:
|
||||
# http://en.wikipedia.org/wiki/Query_string
|
||||
|
||||
# %FMS% = FMS Code
|
||||
# %STATUS% = FMS Status
|
||||
|
|
@ -158,20 +176,21 @@ poc_message = %TIME%: %MSG%
|
|||
|
||||
|
||||
[BosMon]
|
||||
#Server as IP of DNS-Name (without http://)
|
||||
#actually no ssl supported
|
||||
# Server as IP of DNS-Name (without http://)
|
||||
# actually no ssl supported
|
||||
bosmon_server = 192.168.0.1
|
||||
bosmon_port = 80
|
||||
|
||||
#channel-name of typ "Web-Telegramm"
|
||||
# channel-name of typ "Web-Telegramm"
|
||||
bosmon_channel = channel
|
||||
|
||||
#Use this, when BosMon has restricted access
|
||||
# Use this, when BosMon has restricted access
|
||||
bosmon_user =
|
||||
bosmon_password =
|
||||
|
||||
|
||||
[firEmergency]
|
||||
# firEmergency configuration
|
||||
firserver = localhost
|
||||
firport = 9001
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue