Installing Monitorix from EPEL on CentOS 6

Install the required package

yum --enablerepo=epel install monitorix

Configure the authentification

vi /etc/monitorix/monitorix.conf

        <auth>
                enabled = y
                msg = Monitorix: Restricted access
                htpasswd = /var/lib/monitorix/htpasswd
        </auth>

Generate the password

htpasswd -d -c /var/lib/monitorix/htpasswd admin

Start the service

/etc/init.d/httpd restart

/etc/init.d/monitorix start

Files

  • /etc/monitorix/monitorix.conf
  • /etc/sysconfig/monitorix
  • /etc/logrotate.d/monitorix
  • /var/log/monitorix

Links