Re: HBLINK HBMONITOR


Corey Dean N3FE <n3fe@...>
 

Just curious...  Does anyone do any archive research before posting?

On Fri, May 17, 2019 at 1:10 PM <sp2ong@...> wrote:
Hi Heiko

I have run HBLink3 and I try useHBmonitor.

I have start

python web_tables.py
2019-05-17 18:41:45,392 INFO web_tables.py starting up
2019-05-17 18:41:45,392 INFO

Copyright (c) 2016, 2017, 2018, 2019
    The Regents of the K0USY Group. All rights reserved.

2019-05-17 18:41:45,392 INFO ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
2019-05-17 18:41:45,393 INFO ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
2019-05-17 18:41:45,625 INFO ID ALIAS MAPPER: peer_ids dictionary is available
2019-05-17 18:41:48,150 INFO ID ALIAS MAPPER: subscriber_ids dictionary is available
2019-05-17 18:41:48,287 INFO CLIENT TIMEOUT: List does not exist, skipping. If this message persists, contact the developer
2019-05-17 18:41:48,287 INFO reportClient object for connecting to HBlink.py created at: <__main__.reportClientFactory instance at 0xb5f4e38c>
2019-05-17 18:41:48,288 INFO Initiating Connection to Server.
2019-05-17 18:41:48,292 INFO Connected.
2019-05-17 18:41:48,293 INFO Resetting reconnection delay
2019-05-17 18:42:01,929 INFO static website requested: <Request at 0xb5f43f0c method=GET uri=/ clientproto=HTTP/1.1>
2019-05-17 18:43:25,132 INFO Adding peer to CTABLE that has registerred: 260207
2019-05-17 18:57:18,400 INFO static website requested: <Request at 0xb5f4a9cc method=GET uri=/ clientproto=HTTP/1.1>
^C2019-05-17 18:57:55,503 INFO Lost connection.  Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.

but on http://ip_hbmon:8080 ie empty

HBlink Monitoring ServerDMR local NetworkContinuous connections not allowed. Connections time out in 300 seconds

Call Log Window:

Connection closed (wasClean = false, code = 1006, reason = '')


config hbmonitor

REPORT_NAME     = 'DMR Local Network'  # Name of the monitored HBlink system
CONFIG_INC      = True                  # Include HBlink stats
BRIDGES_INC     = False                  # Include Bridge stats (confbrige.py)
HBLINK_IP       = '127.0.0.1'           # HBlink's IP Address
HBLINK_PORT     = 4321                  # HBlink's TCP reporting socket
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

# Files and stuff for loading alias files for mapping numbers to names
PATH            = './'                          # MUST END IN '/'
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
FILE_RELOAD     = 7                             # Number of days before we reload DMR-MARC database files
PEER_URL        = 'https://www.radioid.net/static/rptrs.json'
SUBSCRIBER_URL  = 'https://www.radioid.net/static/users.json'

# Settings for log files
LOG_PATH        = '/var/log/hblink/'             # MUST END IN '/'
LOG_NAME        = 'webtables.log'

Join main@DVSwitch.groups.io to automatically receive all group messages.