Difference between revisions of "Monitorix"
(→Configure a Webserver: updated with info on internal server) |
m |
||
Line 3: | Line 3: | ||
{{Article summary text|Installation and configuration of Monitorix.}} | {{Article summary text|Installation and configuration of Monitorix.}} | ||
{{Article summary heading|Related}} | {{Article summary heading|Related}} | ||
− | {{Article summary wiki| | + | {{Article summary wiki|Anything-sync-daemon}} |
{{Article summary wiki|lm_sensors}} | {{Article summary wiki|lm_sensors}} | ||
{{Article summary wiki|hddtemp}} | {{Article summary wiki|hddtemp}} | ||
Line 47: | Line 47: | ||
==Using tmpfs to Store RRD Databases== | ==Using tmpfs to Store RRD Databases== | ||
− | + | {{AUR|Anything-sync-daemon}} is a package which provides a pseudo-daemon that makes use of tmpfs to store RRD Databases for Monitorix. Doing so will greatly reduce hdd reads/writes. | |
− | |||
− |
Revision as of 21:53, 18 February 2013
Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end
Monitorix is an open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under production UNIX/Linux servers, but due to its simplicity and small size many use it on embedded devices as well.
Contents
Installation of Monitorix
Visit the AUR and grab the tarball for the monitorixAUR package and build/install it.
Configuration of Monitorix
Before starting the monitorix daemon, be sure to adjust the /etc/monitorix.conf
to your liking. For a complete list of options and features, see the [official website] or the included man page for monitor.conf.
$ man monitorix.conf
Most if not all of the user settings are self explanatory based on the commented text within the conf file itself.
Start Monitorix
Start Monitorix with the included service file like any other systemd servier
Viewing Monitorix Data
To view system stats, make sure a webserver is running (see the next section) and browse to [http://localhost/monitorix] to see the data.
Configure a Webserver
Built In Webserver
With the release of the 3.x tree, Monitorix now comes with a light, built in webserver thanks to the dependency on perl-http-server-simple. This is a configuration option in /etc/monitorix.conf
which users may elect to either use or not.
Lighttpd
Lighttpd is another option.
By default, cgi support is not enabled in lighttpd. To enable it and to assign perl to process .cgi files, add the following two lines to /etc/lighttpd/lighttpd.conf
:
server.modules = ( "mod_cgi" ) cgi.assign = ( ".cgi" => "/usr/bin/perl" )
Apache
Apache is yet another option.
Using tmpfs to Store RRD Databases
Anything-sync-daemonAUR is a package which provides a pseudo-daemon that makes use of tmpfs to store RRD Databases for Monitorix. Doing so will greatly reduce hdd reads/writes.