HBmonitor/config_SAMPLE.py

25 lines
1.7 KiB
Python
Raw Normal View History

2018-06-22 10:34:14 -04:00
REPORT_NAME = 'system.domain.name' # Name of the monitored HBlink system
CONFIG_INC = True # Include HBlink stats
HOMEBREW_INC = True # Include HomeBrew Peers stats
2018-06-22 10:34:14 -04:00
BRIDGES_INC = True # Include Bridge stats (confbrige.py)
HBLINK_IP = '127.0.0.1' # HBlink's IP Address
HBLINK_PORT = 4321 # HBlink's TCP reporting socket
2018-06-22 10:34:14 -04:00
FREQUENCY = 10 # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
CLIENT_TIMEOUT = 300 # Clients are timed out after this many seconds, 0 to disable
2018-06-22 10:34:14 -04:00
# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
2019-03-02 14:29:31 -05:00
PEER_FILE = 'peer_ids.json' # Will auto-download from DMR-MARC
SUBSCRIBER_FILE = 'subscriber_ids.json' # Will auto-download from DMR-MARC
TGID_FILE = 'talkgroup_ids.json' # User provided, should be in "integer TGID, TGID name" format
LOCAL_SUB_FILE = 'local_subscriber_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
LOCAL_PEER_FILE = 'local_peer_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
2018-06-22 10:34:14 -04:00
FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files
2019-05-09 10:32:02 -04:00
PEER_URL = 'https://www.radioid.net/static/rptrs.json'
SUBSCRIBER_URL = 'https://www.radioid.net/static/users.json'
2018-11-06 21:31:00 -05:00
# Settings for log files
2019-06-09 03:45:18 -04:00
LOG_PATH = '/var/log/' # MUST END IN '/'
2018-11-06 21:31:00 -05:00
LOG_NAME = 'webtables.log'