diff --git a/.gitignore b/.gitignore index 77b6753..34fc204 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.psd *.pyc -*.log \ No newline at end of file +*.log +config/config.ini \ No newline at end of file diff --git a/config/config.ini b/config/config.ini index 0dbfe3c..feb2d9f 100644 --- a/config/config.ini +++ b/config/config.ini @@ -37,7 +37,6 @@ tableZVEI = bos_zvei tablePOC = bos_pocsag - ##################### ##### Not ready yet # ##################### diff --git a/config/config.template.ini b/config/config.template.ini new file mode 100644 index 0000000..0dbfe3c --- /dev/null +++ b/config/config.template.ini @@ -0,0 +1,68 @@ +######################## +# BOSWatch Config File # +######################## + +[BOSWatch] +#time to ignore same alarm in a row (sek) +fms_double_ignore_time = 5 + +#time to ignore same alarm in a row (sek) +zvei_double_ignore_time = 5 + +#time to ignore same alarm in a row (sek) +poc_double_ignore_time = 10 +#start and end of the filter range +poc_filter_range_start = 0000000 +poc_filter_range_end = 9999999 + + +#can take on or off the plugins (0|1) +[Plugins] +MySQL = 0 +BosMon = 0 +httpRequest = 0 +# for developing template-module +template = 0 + + +[MySQL] +dbserver = localhost +dbuser = root +dbpassword = root +database = boswatch + +#tables in the database +tableFMS = bos_fms +tableZVEI = bos_zvei +tablePOC = bos_pocsag + + + +##################### +##### Not ready yet # +##################### + +[BosMon] +#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" +bosmon_channel = pocsag +#Use this, when BosMon has restricted access +bosmon_user = +bosmon_password = + + +[httpRequest] +#URL without http:// +fms_url = www.google.de +zvei_url = www.google.de +poc_url = www.google.de + + +[template] +data1 = test123 +data2 = test345 +data3 = test567 +data4 = test789 \ No newline at end of file