mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-04-28 14:09:57 -04:00
update
This commit is contained in:
parent
c6621b3b35
commit
e70bb40165
69
README.md
69
README.md
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
**HBmonitor is a "web dashboard" for HBlink by N0MJS.**
|
||||
|
||||
***This is version of HBMonitor V2 by SP2ONG 2019-2021***
|
||||
@ -11,7 +9,10 @@ I recommend not running HBmonitor on the same computer as HBlink3
|
||||
|
||||
HBmonitor tested on Debian v9 and v10
|
||||
|
||||
This is version HBMonitor V2
|
||||
This version of HBMonv2 requires a web server like apache2, lighttpd and
|
||||
php support running on the server. SSL support is available in your configuration
|
||||
webserver apache2 etc.
|
||||
|
||||
|
||||
cd /opt
|
||||
git clone https://github.com/sp2ong/HBMonv2.git
|
||||
@ -20,50 +21,50 @@ This is version HBMonitor V2
|
||||
./install.sh
|
||||
cp config-SAMPLE.py config.py
|
||||
edit config.py and change what you necessary
|
||||
|
||||
If you use OpenBridge links please put in config.py in OPB_FILTER
|
||||
NETWROK ID for each defined link in your server.
|
||||
|
||||
You need to copy the contents of the /opt/HBMonv2/html directory to
|
||||
the web server directory. Suppose your web server is available
|
||||
as http://dmrserver.org, copy the file to for example /var/www/html
|
||||
|
||||
If you copy files to /var/www/html/hbmon, HBMonitor will be
|
||||
accessible from http://dmrserver.org/hbmon
|
||||
|
||||
You can copy to /var/www/hbmon and start HBMonitor access by configuring
|
||||
the web server for subdomains e.g. hbmon.dmrserver.org
|
||||
the access will then be http://hbmon.dmrserver.org
|
||||
|
||||
In the html/include/ directory there is a config.php file in which you
|
||||
set the color theme and name for your Dashboard.
|
||||
|
||||
In the html directory there is a buttons.html file that you can tune to menu keys
|
||||
|
||||
The logo image you can replace with file image: img/logo.png
|
||||
|
||||
|
||||
cp utils/hbmon.service /lib/systemd/system/
|
||||
systemctl enable hbmon
|
||||
systemctl start hbmon
|
||||
systemctl status hbmon
|
||||
forward TCP ports 8080 and 9000 in firewall
|
||||
forward TCP port 9000 and web server port in firewall
|
||||
|
||||
Please setup your SYSTEM INFO subpage with the following instruction:
|
||||
|
||||
https://github.com/sp2ong/HBMonv2/tree/main/sysinfo
|
||||
|
||||
If you use openbrige links, in config.py in OPB_FILTER enter NETWORK_ID to do not display
|
||||
unnecessary entries in LASTHEARD.
|
||||
|
||||
Please remember the table lastheard displays only station transmissions that are longer than 2 seconds.
|
||||
|
||||
If you don't want to have the lastheard list set in config.py:
|
||||
LASTHEARD_INC = False
|
||||
|
||||
|
||||
If you want to have more than the last 15 entries in the Lastherad table
|
||||
change in the monitor.py file line from
|
||||
if n == 15:
|
||||
to for example:
|
||||
if n == 20:
|
||||
|
||||
I recommend using the following settings:
|
||||
WEB_AUTH = True
|
||||
in config.py and set a proper username and password in:
|
||||
WEB_USER = 'hblink'
|
||||
WEB_PASS = 'hblink'
|
||||
will provide access to more information about masters / peers / openbridge / monitor for users
|
||||
who know access Information.
|
||||
|
||||
The display of buttons configurations are in the directory templates/buttons.html file. Don't change
|
||||
the code in the first part that checks if you have WEB_AUTH settings in config.py
|
||||
If you want to add your own buttons put the code below the line
|
||||
<! --- Own buttons html code ->
|
||||
|
||||
The logo image you can replace with file image: img/logo.png
|
||||
|
||||
In config.py you can choose one of the predefined HBmonitor colors or define your own by entering the code in THEME_COLOR
|
||||
|
||||
In directory sysinfo/ you can find info on how to setup display SYSTEM Info data in Monitor.
|
||||
|
||||
If not need monitor online rules (I do not recommend please use in config.py BRIDGES_INC = False
|
||||
If not need monitor online rules (I do not recommend please use in config.py BRIDGES_INC = False )
|
||||
|
||||
---
|
||||
|
||||
@ -75,12 +76,14 @@ Python 3 implementation of N0MJS HBmonitor for HBlink https://github.com/kc1awv/
|
||||
|
||||
Copyright (C) 2013-2018 Cortney T. Buffington, N0MJS <n0mjs@me.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
|
||||
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of
|
||||
the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
02110-1301 USA
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user