Monitorix unter Ubuntu 14.04.x LTS installieren
Aus znilwiki
Quellen hinzufügen:
cd /tmp/ echo "deb http://apt.izzysoft.de/ubuntu generic universe" >> /etc/apt/sources.list wget http://apt.izzysoft.de/izzysoft.asc apt-key add izzysoft.asc
Installieren:
apt-get update apt-get install monitorix
Apache für die Auswertung durch Monitorix anpassen:
nano /etc/apache2/apache2.conf
und dort anhängen:
ServerName localhost ExtendedStatus On
danach Apache neu starten
service apache2 restart
MySQL Auswertung:
mysql -p CREATE USER ’monitorix’@’localhost’ IDENTIFIED BY ’monitorix’; FLUSH PRIVILEGES;
und dann:
nano /etc/monitorix/conf.d/00-debian.conf
Abschnitt mySQL wie folgt anpassen:
<mysql>
conn_type = host
list = localhost
<desc>
/var/run/mysqld/mysqld.sock = 3306, monitorix, monitorix
</desc>
</mysql>
Loading comments...
