-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_sample.py
48 lines (40 loc) · 2.22 KB
/
config_sample.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
REPORT_NAME = "XLXJSON Monitor for D-STAR" # Name of the monitored WiresX system
#
FREQUENCY = 5 # Frequency to push updates to web clients
SOCKET_SERVER_PORT = 9004 # Websocket server for realtime monitoring
JSON_SERVER_PORT = 7770 # Has to be above 1024 if you're not running as root
DISPLAY_LINES = 15 # number of lines displayed in index_template
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable
XLXD_IP = 'xxx.xxx.xxx.xxx' # your XLXD server IP address
XLXD_PORTJSON = 10001 # XLXD JSON reporting socket (standard port, check if opened in firewall)
# ids of module to be excluded, for example "A,B,T"
MOD_FILTER = ""
# number of modules (A -> Z)
MOD_NUMBER = 26
# module names, from A to Z, missing will default to "Reserved"
MOD_NAMES = '{ "A":"YSF-France", "B": "YSF-Nantes", "C":"YSF-Idf", "D":"M17-FRA-D (Stop)", "Z":"Interco IMRS" }'
# ids of module order on html monitor page, for example "B,T,A,C"
MOD_ORDER = "A,B,T"
# all module not in this list will be excluded. if empty all will be allowed
MOD_ALLOWED = ""
# modules to hilite (will be displayed in another color)
MOD_HILITE = "T"
# modules colors is a json array string of tgid and hex rgb
MOD_COLORS = '{ "tx":"#fbd379", "ind":"#fefefe", "A":"#569cd6", "C":"#fca33c", "T":"#a3e978", "B":"#bc7ebb" }'
# dynamic modules, if not filtred by MOD_FILTER, module will be added dynamicaly to dashboard beside those in MOD_ORDER
DYNAMIC_MOD = True
# Authorization of access to dashboard as admin
ADMIN_USER = 'admin'
ADMIN_PASS = 'admin'
# Authorization of access to dashboard# as user
WEB_AUTH = False
WEB_USER = 'admin'
WEB_PASS = 'admin'
# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END WITH '/'
FILE_RELOAD = 1 # Number of days before we reload DMR-MARC database files
# Settings for log files
LOG_PATH = './log/' # MUST END WITH '/'
LOG_NAME = 'xlxmon.log'
# Settings for xlxd log files
XLXDLOG_FILE = '/var/log/xlxd.xml'