Supermon For ASL 3
Supermon For ASL 3
NOTE: These current instructions are for those with the ASL AllStar image.
These instructions apply to Debian/Raspbian Linux installations ONLY!
> cd /usr/local/sbin
> hash
> supermonASL_fresh_install
Next, edit the allmon.ini and global.inc files to match your system settings. They are located here:
/var/www/html/supermon/
Next, setup the Supermon .htpasswd file also in the /var/www/html/supermon/ direcctory.
After you setup your Supermon .htpasswd file, then configure your global.inc and allmon.ini files.
Next, add the following line into your root user crontab, this gets the required AllStar database (once a day):
0 3 * * * (/var/www/html/supermon/astdb.php cron) Do not use this line for ASL 3, Use the next command set
instead.
Web Dashboards
The primary web dashboard supported by AllStarLink is Allmon3.
But, we know there are other dashboards available and everyone has their own personal favorite. We
also know that some of the other dashboards make use of database ("astdb.txt"). Typically, this DB
has been downloaded by a PHP script ("astdb.php") and updated with the help of boot scripts and
cron jobs.
To support these other dashboards we have included a systemd service to download and update the
"astdb.txt" database. By default, this service and its associated timer are disabled. If you have
installed a dashboard that is dependent on this database you will need to execute the following
commands :
Lastly, go to your Supermon Web screen and force a reload/refresh by holding the Shift-key and press F-5.
(command r for MacOS)
The following is the updatable version but the fresh install must be installed first.
Get the latest ASL updater script, which you can get here by following these instructions after logging in as the
root user and then executing these commands:
> cd /usr/local/sbin
> hash
> supermonASL_latest_update
Later, no need to download the Updater script, if you recently installed the Fresh-Install process shown above.
You have it. To run the existing updater script login with PuTTY as root user and then enter this one command
at any time from the BASH Shell prompt:
> supermonASL_latest_update
To make updates even easier in the future, you can place the following line in the [functionsXXXX] stanza in
the rpt.conf file for your node:
SMUPDATE=cmd,/usr/local/sbin/supermonASL_latest_update
After entering this line, perform a Reload of the rpt.conf file by clicking on the [Iax/Rpt/DP RELOAD] button in
Supermon.
Now you can enter the command (appears to be case insensitive): *smupdate in the input box of Supermon,
and then click on the [DTMF] button just once to run the update in the background at any time! You can check
your [AST Log] to make sure it ran.
That you may have to go to a page of one of the actual nodes before the password will be accepted. Some
kind of glitch.
Lastly, go to your Supermon Web screen and force a reload/refresh by holding the Shift-key and press F-5.
(Command r for MacOS)
Paul / KN2R