installation of xymon server
before the installation it is recommended to set an static ip address
apt-get install -y xymon
change the ip address to the static assigned ip address of server
Configuration of server
No Authentication
sed ‘s/Require local/Require all granted/’ -i /etc/apache2/conf-enabled/xymon.conf
Password Protected site – Basic Web Authentication
this is not the best nor the correct or safe way to do this, but it works and we did this to local event where security is not an issue
change and add lines under under mod_authz_core.c in /etc/apache2/conf-enabled/xymon.conf with these lines for all 3 sections
<IfModule mod_authz_core.c>
# Apache 2.4+
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/xymon/xymonpasswd
Require valid-user
</IfModule>
create the authentication file and add a user
‘htpasswd -c /etc/xymon/xymonpasswd admin
chown www-data:www-data /etc/xymon/xymonpasswd
chmod 640 /etc/xymon/xymonpasswd
restart apache
service apache2 restart
open http://SERVER-IP/xymon