Skip to content

Commit 76ec264

Browse files
committed
change directory into main-dev-dir
1 parent 1cfb705 commit 76ec264

File tree

19 files changed

+195
-716
lines changed

19 files changed

+195
-716
lines changed

boswatch.py

Lines changed: 156 additions & 269 deletions
Large diffs are not rendered by default.

config/config.ini

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,31 @@
22
# BOSWatch Config File #
33
########################
44

5-
[FMS]
5+
[BOSWatch]
66
#time to ignore same alarm in a row (sek)
7-
double_ignore_time = 5
7+
fms_double_ignore_time = 5
88

9-
[ZVEI]
109
#time to ignore same alarm in a row (sek)
11-
double_ignore_time = 5
10+
zvei_double_ignore_time = 5
1211

13-
[POC]
1412
#time to ignore same alarm in a row (sek)
15-
double_ignore_time = 10
16-
filter_range_start = 0000000
17-
filter_range_end = 9999999
13+
poc_double_ignore_time = 10
14+
#start and end of the filter range
15+
poc_filter_range_start = 0000000
16+
poc_filter_range_end = 9999999
17+
18+
19+
#can take on or off the plugins (0|1)
20+
[Plugins]
21+
MySQL = 0
22+
BosMon = 0
23+
# for developing template-module is enabled
24+
template = 1
25+
#none has no function, only demo
26+
none = 1
1827

19-
#can take on or off the modules (0|1)
20-
[Module]
21-
useMySQL = 0
22-
useHTTPrequest = 0
23-
useBosMon = 0
2428

2529
[MySQL]
26-
#Data for MySQL connection
2730
dbserver = localhost
2831
dbuser = root
2932
dbpassword = root
@@ -34,8 +37,21 @@ tableFMS = bos_fms
3437
tableZVEI = bos_zvei
3538
tablePOC = bos_pocsag
3639

37-
[HTTPrequest]
38-
#url without http:// !
39-
url_fms = www.google.de
40-
url_zvei = www.google.de
41-
url_poc = www.google.de
40+
41+
[BosMon]
42+
#Server as IP of DNS-Name (without http://)
43+
#actually no ssl supported
44+
bosmon_server = 192.168.0.1
45+
bosmon_port = 80
46+
#channel-name of typ "Web-Telegramm"
47+
bosmon_channel = pocsag
48+
#Use this, when BosMon has restricted access
49+
bosmon_user =
50+
bosmon_password =
51+
52+
53+
[template]
54+
data1 = test123
55+
data2 = test345
56+
data3 = test567
57+
data4 = test789
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#!/usr/bin/python
2-
# -*- coding: cp1252 -*-
3-
4-
#Global variables
1+
#!/usr/bin/python
2+
# -*- coding: cp1252 -*-
3+
4+
#Global variables
55
config = 0
File renamed without changes.
File renamed without changes.
File renamed without changes.

includes/decoder/zvei.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)