Monitorix unter Debian Linux: Unterschied zwischen den Versionen

K Textersetzung - „<source“ durch „<syntaxhighlight“
K Textersetzung - „</source>“ durch „</syntaxhighlight>“
 
Zeile 4: Zeile 4:
aptitude update
aptitude update
aptitude install rrdtool librrds-perl apache2 libwww-perl libmime-lite-perl hddtemp lm-sensors
aptitude install rrdtool librrds-perl apache2 libwww-perl libmime-lite-perl hddtemp lm-sensors
</source>
</syntaxhighlight>
nun die Software herunterladen und installieren:
nun die Software herunterladen und installieren:
* http://www.monitorix.org
* http://www.monitorix.org
Zeile 11: Zeile 11:
wget http://www.monitorix.org/monitorix_2.4.1-izzy1_all.deb
wget http://www.monitorix.org/monitorix_2.4.1-izzy1_all.deb
dpkg -i monitorix_2.4.1-izzy1_all.deb
dpkg -i monitorix_2.4.1-izzy1_all.deb
</source>
</syntaxhighlight>
'''ODER über das repository von izzysoft:'''<br>
'''ODER über das repository von izzysoft:'''<br>
<code>/etc/apt/sources.list</code>
<code>/etc/apt/sources.list</code>
Zeile 22: Zeile 22:
aptitude update
aptitude update
aptitude install monitorix
aptitude install monitorix
</source>
</syntaxhighlight>
Nun ggf. die HTML Dateien in den gewünschten vhost kopieren:
Nun ggf. die HTML Dateien in den gewünschten vhost kopieren:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
mv /usr/share/monitorix /srv/httpd/vhosts/monitorixvhost/htdocs/
mv /usr/share/monitorix /srv/httpd/vhosts/monitorixvhost/htdocs/
</source>
</syntaxhighlight>
und diesen Pfad in der Konfigurationsdatei anpassen:<br>
und diesen Pfad in der Konfigurationsdatei anpassen:<br>
<code>/etc/monitorix.conf</code>
<code>/etc/monitorix.conf</code>
Zeile 33: Zeile 33:
</pre>
</pre>
nun noch den Dienst neustarten
nun noch den Dienst neustarten
<syntaxhighlight lang=bash>/etc/init.d/monitorix restart</source>
<syntaxhighlight lang=bash>/etc/init.d/monitorix restart</syntaxhighlight>
Nun sollte es unter folgender URL verfügbar sein:
Nun sollte es unter folgender URL verfügbar sein:
* <nowiki>http://yourvhost/monitorix/</nowiki>
* <nowiki>http://yourvhost/monitorix/</nowiki>
Zeile 39: Zeile 39:
=== Monitorix und Postfix ===
=== Monitorix und Postfix ===
Will man das Monitorix das Postfix-Maillog-File auswertet muss zuerst das kleine Tool <code>pflogsumm</code> installiert werden:
Will man das Monitorix das Postfix-Maillog-File auswertet muss zuerst das kleine Tool <code>pflogsumm</code> installiert werden:
<syntaxhighlight lang=bash>aptitude install pflogsumm</source>
<syntaxhighlight lang=bash>aptitude install pflogsumm</syntaxhighlight>
dann einfach im Konfigfile <code>/etc/monitorix.conf</code>
dann einfach im Konfigfile <code>/etc/monitorix.conf</code>
<pre>
<pre>