Diese Seite ist nicht editierbar. Sie können den Quelltext sehen, jedoch nicht verändern. Kontaktieren Sie den Administrator, wenn Sie glauben, dass hier ein Fehler vorliegt. ====== Monitorix ====== Monitorix ist ein Monitoringsystem das auf RRDTool basiert. Die Installation ist relativ schnell erledigt und man bekommt schnell aussagekräftige Grafiken. ===== Links ===== * [[http://www.monitorix.org/documentation.html|Dokumentation]] * [[http://apt.izzysoft.de/ubuntu/dists/generic/|Installationsanleitung]] * [[http://www.monitorix.org/doc-debian.html|Installation bei Debian]] * [[http://www.monitorix.org/faq.html|monitorix FAQ]] * [[http://www.monitorix.org/pymonitorix/downloads.html|pymonitorix]] - Anzeigeprogramm für den Desktop ohne das der Browser benutzt wird * [[http://www.monitorix.org/faq.html#Q112|Setup für mehrere Server (multihost)]] ===== Installation ===== Eintrag in ''/etc/apt/sources.list'': <file>deb http://apt.izzysoft.de/ubuntu generic universe</file> <code bash>wget http://apt.izzysoft.de/izzysoft.asc apt-key add izzysoft.asc</code> siehe: [[http://apt.izzysoft.de/ubuntu/dists/generic/|Installationsanleitung]] <code bash>aptitude update aptitude install monitorix</code> ==== Apache ==== Wenn [[apache:Apache]] benutzt wird in ''/etc/monitorix.conf'': <file> <httpd_builtin> enabled = n </file> Der Benutzer des Webservers muss die Bilder schreiben können (Standardeinstellung "nobody"): <code bash>chown www-data.www-data /usr/share/monitorix/imgs</code> Die Konfiguration für Apache steht in ''/etc/apache2/conf.d/monitorix.conf'', hier sollten IPs freigeschaltet bzw. per [[apache:htaccess]] Benutzer eingerichtet werden. <file>Alias /monitorix /usr/share/monitorix ScriptAlias /monitorix-cgi /usr/share/monitorix/cgi <Directory /usr/share/monitorix/cgi/> DirectoryIndex monitorix.cgi Options ExecCGI Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> # Apache rules to restrict access to Monitorix: # Don't forget to add <username> in .htpasswd with the 'htpasswd' command. # #<Directory "/usr/share/monitorix"> # Options Indexes Includes FollowSymLinks # Order Deny,Allow # Deny from All # Allow from 127.0.0.1 # AllowOverride None # AuthUserFile /etc/httpd/conf/.htpasswd # AuthGroupFile /dev/null # AuthName "Monitorix: Restricted access, sorry." # AuthType Basic # Require user <username> # Satisfy Any #</Directory> </file> ==== Dienste neu starten ==== <code bash> service monitorix restart service apache2 reload </code> ===== Konfiguration ===== Die Konfiguration findet in ''/etc/monitorix.conf'' statt. <file>title = Monitorix auf server.tld hostname = server.tld mail_log = /var/log/mail.log</file>