Supermon Set-up Guide
Supermon is now setup from the Putty initial setup of your Node. Choose Item 9.
The default user name is “admin” and the password is “raspberry”
Installation Notes
If you plan on allowing access to Supermon from the Internet, you will have to change the password.
You will have to log into your node and access the command line.
Enter the /etc/asterisk directory
cd /etc/asterisk
Edit the manager.conf file
nano manager.conf
Add a secure password where it shows ‘secret =’ under the [admin] stanza, for example:
secret = xxxxx
Enter you desired password in place of the xxxxx above.
In the stanza called “general” uncomment webenabled = yes.
Restart asterisk.
astres.sh
Create a password for you and possibly other users to login to Supermon Change to the Supermon directory if not already there. cd /srv/http/supermon Recommend removing any existing .htpasswd file – rm .htpasswd Add an htpasswd file htpasswd -cB .htpasswd (subsequent additional entries use just -B) Supply a password of your choice when prompted. is the login ID and can be any username you would like to assign; your callsign or admin for example. DO NOT enter the < or >. Do NOT use a ! (exclamation) in the password. You can have more than one login and password. If assigning additional passwords the ‘c’ create file switch must be dropped. In this case use:
htpasswd -B .htpasswd <userID>
To start Supermon in your browser enter your server’s IP address/supermon in the address bar.
If your servers IP address is 192.168.1.100 then: http://192.168.1.100/ supermon – assumes port 80
If you are using a different port – http://192.168.1.100:PORT/supermon – where PORT = your port number.
Logging Configuration
In order for logging to work you must add the following statements to your /etc/asterisk/rpt.conf file for
smlogger to function.
connpgm=/usr/local/sbin/supermon/smlogger 1
discpgm=/usr/local/sbin/supermon/smlogger 0
These statements are added in the node section for EACH defined node on your Allstar server.