Monitorix/man/man5/monitorix.conf.5

1573 lines
48 KiB
Groff
Raw Normal View History

2012-10-22 15:26:37 +01:00
.\" Monitorix manpage.
2013-01-09 18:24:03 +00:00
.\" Copyright (C) 2005-2013 by Jordi Sanfeliu <jordi@fibranet.cat>
2012-10-22 15:26:37 +01:00
.\"
.\" This is the man page for the monitorix.conf configuration file.
.\"
2013-03-14 14:42:42 +00:00
.TH monitorix.conf 5 "Mar 2013" 3.1.0 "Monitorix configuration file"
2012-10-22 15:26:37 +01:00
.SH NAME
monitorix.conf \- Configuration file for Monitorix.
2013-01-09 18:24:03 +00:00
.SH DESCRIPTION
2013-02-18 14:31:11 +00:00
Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used on production Linux/UNIX servers, but due to its simplicity and small size may also be used to monitor embedded devices as well.
2012-10-22 15:26:37 +01:00
.P
2013-02-18 14:31:11 +00:00
It consists mainly of two programs: a collector, called \fBmonitorix\fP, which is a Perl daemon that is started automatically like any other system service, and a CGI script called \fBmonitorix.cgi\fP. Since 3.0 version Monitorix includes its own HTTP server built in, so you don't need to install any web server to use it.
2012-10-22 15:26:37 +01:00
.P
Every time \fBmonitorix\fP is started it reads the configuration file from the path specified in the command line (using the \fB-c\fP option), and once checked, it creates the \fIindex.html\fP file that will act as the Monitorix main page.
.P
2013-02-18 14:31:11 +00:00
It also creates a file called \fI<base_dir>/cgi/monitorix.conf.path\fP that includes the absolute path of the configuration file. This file will be read by \fBmonitorix.cgi\fP to determine the exact location of the configuration file.
2012-10-22 15:26:37 +01:00
.SH CONFIGURATION OPTIONS
2013-01-09 18:24:03 +00:00
Blank lines are ignored, and whitespace before and after a token or value is ignored as well as tabulators, although a value can contain whitespace within. Lines which begin with a # are considered comments and ignored.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
If you want to comment out a large block you can use C-style comments. A /* signals the begin of a comment block and the */ signals the end of the comment block.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
If an option has multiple values their must be separated by comma.
.P
.BI title
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
A description of the server; where it is located, the Company name, etc.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIPlace a Title Here\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI hostname
2012-10-22 15:26:37 +01:00
.RS
The name of the host.
.P
Default value: none
.RE
.P
2013-01-09 18:24:03 +00:00
.BI theme_color
2012-10-22 15:26:37 +01:00
.RS
RRDtool comes with a default white theme, and since Monitorix introduces its own black theme, you have two predefined themes to choose from.
.P
Default value: \fIblack\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI refresh_rate
2012-10-22 15:26:37 +01:00
.RS
The refresh rate (in seconds) of the statistics web page displayed in your browser. If set to 0, page refreshing is disabled.
.P
Default value: \fI150\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI iface_mode
2012-10-22 15:26:37 +01:00
.RS
The interface mode defines the manner in which data is shown in the browser. Since version 1.4.0 it has been possible to display the graphic data using plain text tables. This allows Monitorix to be used by those running screen reader software, and also simplifies automatic data processing through scripts.
.P
The possible values are:
.RS
\fIgraph\fP for rendered graphs
.br
\fItext\fP for plain text representation
.RE
.P
Default value: \fIgraph\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI enable_zoom
2012-10-22 15:26:37 +01:00
.RS
Zoom allows double clicking any graph in order to see a larger version (zoomed in). This is especially useful for seeing additional detail.
.P
2013-01-09 18:24:03 +00:00
Default value: \fIy\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI netstats_in_bps
2012-10-22 15:26:37 +01:00
.RS
This option toggles network values between bits and bytes per second.
.P
2013-01-09 18:24:03 +00:00
Default value: \fIn\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI disable_javascript_void
2012-10-22 15:26:37 +01:00
.RS
This option enables or disables the use of use javascript:void-URLs when opening windows with zoomed graphs. Some people likes to open links in the background by pressing the middle mouse button in Firefox, and with the default javascript:void-URLs the only they get is an empty window with nothing in it.
.P
2013-01-09 18:24:03 +00:00
Default value: \fIn\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI base_dir
2012-10-22 15:26:37 +01:00
.RS
This is the absolute path to the directory where all the web elements are located:
.P
.RS
2013-01-31 13:44:06 +00:00
\fIcgi/\fP \fBmonitorix.cgi\fP script directory
2012-10-22 15:26:37 +01:00
.br
\fIimgs/\fP .png graph images directory
.br
\fIindex.html\fP Monitorix main page
.br
\fIlogo_bot.png\fP Monitorix bottom logo
.br
\fIlogo_top.png\fP Monitorix top logo
.br
\fImonitorixico.png\fP Monitorix favicon logo
.RE
.P
Default value: \fI/usr/share/monitorix/\fP
.br
(depends on the operating system)
.RE
.P
2013-01-09 18:24:03 +00:00
.BI base_lib
2012-10-22 15:26:37 +01:00
.RS
This is the absolute path to the directory where all of the monthly reports, daily traffic usage, and RRD files are located:
.P
.RS
\fIreports/\fP monthly reports localization directory
.br
\fIusage/\fP daily traffic usage data directory
.br
\fI*.rrd\fP RRD files
.RE
.P
Default value: \fI/var/lib/monitorix/\fP
.br
(depends on the operating system)
.RE
.P
2013-01-09 18:24:03 +00:00
.BI base_url
2012-10-22 15:26:37 +01:00
.RS
This is the URL prefix that Monitorix utilizes when refering to its own pages and files.
.P
Default value: \fI/monitorix\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI base_cgi
2012-10-22 15:26:37 +01:00
.RS
This is the URL prefix that Monitorix utilizes when refering to \fBmonitorix.cgi\fP.
.P
Default value: \fI/monitorix-cgi\fP
.RE
.SS HTTP built-in server
.BI enabled
.RS
This enables or disables the HTTP server that Monitorix has built-in. This is specially useful for system administrators that don't want to install a web server (Apache, Lighttpd, Nginx, etc.) to see the Monitorix graphs.
.P
2013-02-12 17:10:11 +00:00
Default value: \fIy\fP
.RE
.P
.BI port
.RS
This is the network port from where the HTTP server will listen on.
.P
Default value: \fI8080\fP
.RE
.P
.BI user/group
.RS
This sets the user and group that the HTTP server will run as.
.P
Default value for user: \fInobody\fP
.br
Default value for group: \fInobody\fP
.RE
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
.BI log_file
2012-10-22 15:26:37 +01:00
.RS
This is the path to the HTTP server log file.
.P
Default value: \fI/var/log/monitorix-httpd\fP
.RE
.SS Log files pathnames
.BI log_file
.RS
2012-10-22 15:26:37 +01:00
This is the path to the Monitorix log file. Please check this file periodically and especially after every update to confirm proper operation.
.P
Default value: \fI/var/log/monitorix\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI secure_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the system log (also known as \fIauth.log\fP, etc.) Monitorix uses this file to report SSH, POP3, FTP and Telnet successful logins.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI/var/log/secure\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI mail_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the mail log file. Monitorix uses this file to report messages sent (supporting Sendmail and Postfix formats), and the MailScanner log format for spam-mail and virus-mail alerts.
.P
Default value: \fI/var/log/maillog\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI milter_gl
2012-10-22 15:26:37 +01:00
.RS
This is the path to the dump file of \fImilter-greylist\fP.
.P
2013-01-09 18:24:03 +00:00
Default value: \fI/var/milter-greylist/greylist.db\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI imap_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the IMAP (Dovecot or UW-IMAP) log file. Monitorix uses this file to report IMAP and POP3 successful logins.
.P
Default value: \fI/var/log/imap\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI hylafax_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the Hylafax log file. Monitorix uses this file to report successful FAX dispatches.
.P
Default value: \fI/var/spool/hylafax/etc/xferfaxlog\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI cups_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the CUPS page log file. Monitorix uses this file to report on print jobs.
.P
Default value: \fI/var/log/cups/page_log\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI ftp_log
.RS
This is the path to the FTP server (ProFTPD or vsftpd) log. Monitorix uses this file to report FTP successful logins and other FTP-related information.
.P
Default value: \fI/var/log/proftpd/access.log\fP
2013-01-09 18:24:03 +00:00
.RE
.P
.BI fail2ban_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the Fail2ban log file. Monitorix uses this file to report IP addresses banned.
.P
Default value: \fI/var/log/fail2ban.log\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI spamassassin_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the Spamassassin log file. Monitorix uses this file to report spam-mail alerts.
.P
Default value: \fI/var/log/maillog\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI clamav_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the Clamav log file. Monitorix uses this file to report virus-mail alerts.
.P
Default value: \fI/var/log/clamav/clamav.log\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI cg_logdir
2012-10-22 15:26:37 +01:00
.RS
This is the path to the CommuniGate logs directory. Monitorix uses these files to report the number of mail messages successfully received and sent, and to report IMAP and POP3 successful logins.
.P
Default value: \fI/var/CommuniGate/SystemLogs/\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI squid_log
2012-10-22 15:26:37 +01:00
.RS
This is the path to the Squid log file. Monitorix uses this file to report on Squid Proxy requests.
.P
Default value: \fI/var/log/squid/access.log\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI imap_log_date_format
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the Dovecot date format as it appears in the \fBimap_log\fP file.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI%b %d\fP
.RE
.P
.BI secure_log_date_format
2013-01-09 18:24:03 +00:00
.RS
This is \fIsecure_log\fP date format.
2013-01-09 18:24:03 +00:00
.P
Default value: \fI%b %e\fP
.RE
.SS Enable or disable graphs
.BI graph_enable
2012-10-22 15:26:37 +01:00
.RS
This enables or disables the monitoring of each graph. Placing a \fIy\fP on a desired graph and restarting Monitorix will automatically create the RRD file for that graph and start gathering information according to its settings.
.RE
.SS System load average and usage (system.rrd)
2013-01-23 11:06:36 +00:00
.BI loadavg_enabled
.RS
This section enables or disables the alert capabilities for this graph. Only the alert for the average CPU load is currently implemented. It works as follows:
2012-10-22 15:26:37 +01:00
.P
The CPU load average uses the third value (the one that represents the last 15 minutes of the load average), and if it reaches the \fBloadavg_threshold\fP value for the interval of time defined in \fBloadavg_timeintvl\fP, Monitorix will execute the external alert script defined in \fBloadavg_script\fP.
2012-10-22 15:26:37 +01:00
.P
The default Monitorix installation includes an example of a shell-script alert called \fBmonitorix-alert.sh\fP which you can use as a base for your own script.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
Default value: \fIn\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI loadavg_timeintvl
2012-10-22 15:26:37 +01:00
.RS
This is the period of time (in seconds) that the threshold needs to be exceeded before the external alert script is executed.
.P
Default value: \fI3600\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI loadavg_threshold
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the value that needs to be reached or exceeded within the specified time period in \fBloadavg_timeintvl\fP to trigger the mechanism for a particular action, which in this case is the execution of an external alert script.
2012-10-22 15:26:37 +01:00
.P
The value of this option is compared against the last 15 minutes of CPU load average.
.P
Default value: \fI5.0\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI loadavg_script
2012-10-22 15:26:37 +01:00
.RS
This is the full path name of the script that will be executed by this alert.
.P
It will receive the following three parameters:
.P
2013-01-09 18:24:03 +00:00
1st - the value currently defined in \fBloadavg_timeintvl\fP
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
2nd - the value currently defined in \fBloadavg_threshold\fP
2012-10-22 15:26:37 +01:00
.br
3rd - the current 15min CPU load average
.P
Default value: \fI/path/to/script.sh\fP
.RE
.SS Global kernel usage (kern.rrd)
2013-01-09 18:24:03 +00:00
.BI graph_mode
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This changes the layout of the kernel usage graph, the possible values are \fIr\fP for a real graph, or \fIs\fP for a stacked graph (every line or area is stacked on top of the previous element).
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
Default value: \fIr\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the list of values offered in modern Linux kernels. Older Linux kernels or other Operating Systems may not have all of them. Placing a \fIy\fP or an \fIn\fP will enable or disable the value in the graph.
2012-10-22 15:26:37 +01:00
.RE
.SS Kernel usage per processor (proc.rrd)
2013-01-09 18:24:03 +00:00
.BI max
2012-10-22 15:26:37 +01:00
.RS
This is the number of processors or cores that your system has. There is no limit, however keep in mind that every time this number is changed Monitorix will resize the \fIproc.rrd\fP file accordingly, removing all historical data.
.P
Default value: \fI4\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI graphs_per_row
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the number of processor graphs that will be put in a row. Consider the interaction of this parameter with the \fBsize\fP and \fBdata\fP options (below) in order to adjust the size and number of graphs in relation to your horizontal screen size.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI2\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI size
2012-10-22 15:26:37 +01:00
.RS
This option sets the size of all processors graphs.
.P
The possible values are:
.RS
\fImain\fP for 450x150 graphs
.br
\fImedium\fP for 325x150 graphs
.br
\fImedium2\fP for 325x70 graphs
.br
\fIsmall\fP for 200x66 graphs
.br
\fImini\fP for 183x66 graphs
.br
\fItiny\fP for 110x40 graphs
.RE
.P
Default value: \fImedium\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI DATA
2012-10-22 15:26:37 +01:00
.RS
This option will completely enable or disable the legend in the processor graphs.
.P
2013-01-09 18:24:03 +00:00
Default value: \fIy\fP
2012-10-22 15:26:37 +01:00
.RE
.SS HP ProLiant System Health (hptemp.rrd)
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This list will hold the defined temperature sensors for each graph. You must have installed the command \fIhplog\fP that comes with HP ProLiant System Health Application and Command Line Utilities.
2012-10-22 15:26:37 +01:00
.P
Each graph has a limited number of IDs:
.P
2013-01-14 11:27:03 +00:00
\fBgraph_0\fP up to 8 IDs
2012-10-22 15:26:37 +01:00
.br
2013-01-14 11:27:03 +00:00
\fBgraph_1\fP up to 6 IDs
2012-10-22 15:26:37 +01:00
.br
2013-01-14 11:27:03 +00:00
\fBgraph_2\fP up to 6 IDs
2012-10-22 15:26:37 +01:00
.P
The following is a configuration example of selected IDs:
.P
# hplog -t
.br
ID TYPE LOCATION STATUS CURRENT THRESHOLD
.br
1 Basic Sensor Ambient Normal 75F/ 24C 107F/ 42C
.br
2 Basic Sensor CPU (1) Normal 104F/ 40C 179F/ 82C
.br
3 Basic Sensor CPU (2) Normal ---F/---C 179F/ 82C
.br
4 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C
.br
5 Basic Sensor Memory Board Normal 82F/ 28C 188F/ 87C
.br
6 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C
.br
7 Basic Sensor System Board Normal 89F/ 32C 192F/ 89C
.br
8 Basic Sensor System Board Normal ---F/---C 192F/ 89C
.br
9 Basic Sensor System Board Normal 84F/ 29C 192F/ 89C
.br
10 Basic Sensor System Board Normal 118F/ 48C 230F/110C
.br
11 Basic Sensor System Board Normal 96F/ 36C 192F/ 89C
.br
12 Basic Sensor System Board Normal 84F/ 29C 154F/ 68C
.br
13 Basic Sensor System Board Normal 87F/ 31C 154F/ 68C
.br
14 Basic Sensor System Board Normal 89F/ 32C 156F/ 69C
.br
15 Basic Sensor System Board Normal 93F/ 34C 161F/ 72C
.br
16 Basic Sensor Ambient Normal ---F/---C 192F/ 89C
.br
17 Basic Sensor System Board Normal ---F/---C 192F/ 89C
.br
18 Basic Sensor SCSI Backplane Normal 32F/ 0C 140F/ 60C
.P
.RS
2013-01-09 18:24:03 +00:00
<list>
2012-10-22 15:26:37 +01:00
.br
2013-01-14 11:27:03 +00:00
graph_0 = 2, 3
2012-10-22 15:26:37 +01:00
.br
2013-01-14 11:27:03 +00:00
graph_1 = 1, 5, 18
2012-10-22 15:26:37 +01:00
.br
2013-01-14 11:27:03 +00:00
graph_2 = 7, 9, 10, 11, 12, 13
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</list>
2012-10-22 15:26:37 +01:00
.RE
.RE
.SS LM-Sensors and GPU temperatures (lmsens.rrd)
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
In this list you may specify the sensors you want to monitor with the same names as they appear in your \fIsensors\fP command.
2012-10-22 15:26:37 +01:00
.P
For example, imagine a \fIsensors\fP output like this:
.P
# sensors
.br
coretemp-isa-0000
.br
Adapter: ISA adapter
.br
Core 0: +51.0°C (high = +78.0°C, crit = +100.0°C)
.br
.P
coretemp-isa-0001
.br
Adapter: ISA adapter
.br
Core 1: +49.0°C (high = +78.0°C, crit = +100.0°C)
.br
.P
f71882fg-isa-0a00
.br
Adapter: ISA adapter
.br
3.3V: +3.30 V
.br
Vcore: +1.21 V (max = +2.04 V)
.br
Vdimm: +1.82 V
.br
Vchip: +1.38 V
.br
+5V: +5.00 V
.br
12V: +14.37 V
.br
5VSB: +4.33 V
.br
3VSB: +3.30 V
.br
Battery: +3.22 V
.br
CPU: 2035 RPM
.br
System: 1765 RPM ALARM
.br
Power: 2110 RPM ALARM
.br
Aux: 2080 RPM ALARM
.br
M/B Temp: +36.00 C
.br
CPU Temp: +29.00 C
.P
2013-01-09 18:24:03 +00:00
Then you may want to configure that \fBlist\fP as:
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
<list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
core0 = Core 0
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
core1 = Core 1
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
mb0 = M/B Temp
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
cpu0 = CPU Temp
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
fan0 = CPU
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
fan1 = System
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
fan2 = Power
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
fan3 = Aux
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt0 = 3.3V
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt1 = VCore
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt2 = Vdimm
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt3 = Vchip
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt4 = \\+5V
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt5 = 12V
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt6 = 5VSB
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt7 = 3VSB
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
volt8 = Battery
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
gpu0 = nvidia
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</list>
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
Note that you need to escape the plus and minus signs in the voltage labels.
2012-10-22 15:26:37 +01:00
.P
The last one, \fIgpu0\fP, is set here just in case you have an NVIDIA card and want to monitor its temperature. Currently only NVIDIA cards are supported so the value \fInvidia\fP is mandatory. It requires the official NVIDIA drivers.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
This list has the following maximums allowed:
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
Up to 16 \fIcore\fP keys
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
Up to 2 \fImb\fP keys
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
Up to 4 \fIcpu\fP keys
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
Up to 9 \fIfan\fP keys
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
Up to 12 \fIvolt\fP keys
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
Up to 9 \fIgpu\fP keys
2012-10-22 15:26:37 +01:00
.RE
.RE
.SS NVIDIA temperatures and usage (nvidia.rrd)
This graph requires to have installed the official NVIDIA drivers.
.P
2013-01-09 18:24:03 +00:00
.BI max
2012-10-22 15:26:37 +01:00
.RS
This is the number of NVIDIA cards currently plugged in your system.
.P
The maximum allowed is 9.
.P
Default value: \fI1\fP
.RE
.SS Disk drive temperatures and health (disk.rrd)
This graph is able to monitor an unlimited number of disk drives.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of groups of disk device names that you want to monitor. Each group will become a graph and there may be an unlimited number of groups.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of groups in this option changes, Monitorix will resize the \fIdisk.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
To collect the disk drive temperatures and health the commands \fIsmartmontools\fP or \fIhddtemp\fP are required.
.P
It is recommended that you first check if either \fIsmartctl\fP or \fIhddtemp\fP are able to collect data from the disk drive(s) that you plan to monitor. You may test this with the following command:
.P
.RS
2013-01-09 18:24:03 +00:00
# hddtemp /dev/sdb
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
/dev/sdb: WDC WD1600AABS-00M1A0: 48°C
2012-10-22 15:26:37 +01:00
.P
.RE
2013-01-09 18:24:03 +00:00
If you see good results as above, you can add it to the group 0 like this:
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
<list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
0 = /dev/sda, /dev/sdb
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</list>
2012-10-22 15:26:37 +01:00
.RE
.P
The maximum number of disk device names allowed per group is 8.
.RE
.SS Filesystem usage and I/O activity (fs.rrd)
This graph is able to monitor an unlimited number of filesystems.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of groups of mounted filesystems that you want to monitor. Each group will become a graph and there may be an unlimited number of groups.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of groups in this option changes, Monitorix will resize the \fIfs.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Take special care to use the same name as appears in the output of the \fIdf\fP command (the \fIswap\fP device is a special case). An example would be:
.P
.RS
2013-01-09 18:24:03 +00:00
<list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
0 = /, swap, boot, home, /mnt/backup
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</list>
2012-10-22 15:26:37 +01:00
.RE
.P
The maximum number of filesystems allowed per group is 8.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This list complements the \fBlist\fP option. It basically allows you to change the name that will appear in the graph, hiding the real name of the mount point. If no association is defined, then Monitorix will display the name specified in the \fBlist\fP option.
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
/ = Root FS
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
/home = My Home
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
/mnt/backup = Backups
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</desc>
2012-10-22 15:26:37 +01:00
.RE
.P
You can define as much entries as you want.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI devmap
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This list complements the \fBlist\fP option. When Monitorix is started it tries to detect automatically the device name associated to each filesystem defined in the \fBlist\fP option in order to be able to show its I/O activity. If for any reason Monitorix failed to detect it, then you can help it using this option.
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
<devmap>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
/mnt/backup = /dev/cciss/c0d2p6
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</devmap>
2012-10-22 15:26:37 +01:00
.RE
.P
You can define as much entries as you want.
.RE
.P
2013-01-23 11:06:36 +00:00
.BI rootfs_enabled
.RS
This section enables or disables the alert capabilities for this graph. Only the alert for the root filesystem disk usage is currently implemented. It works as follows:
.P
If the percentage of disk space used in the root filesystem reaches the \fBrootfs_threshold\fP value for the interval of time defined in \fBrootfs_timeintvl\fP, Monitorix will execute the external alert script defined in \fBrootfs_script\fP.
.P
The default Monitorix installation includes an example of a shell-script alert called \fBmonitorix-alert.sh\fP which you can use as a base for your own script.
.P
Default value: \fIn\fP
.RE
.P
.BI rootfs_timeintvl
.RS
This is the period of time (in seconds) that the threshold needs to be exceeded before the external alert script is executed.
.P
Default value: \fI3600\fP
.RE
.P
.BI rootfs_threshold
.RS
This is the value that needs to be reached or exceeded within the specified time period in \fBrootfs_timeintvl\fP to trigger the mechanism for a particular action, which in this case is the execution of an external alert script.
.P
The value of this option is compared to the current root filesystem disk usage.
.P
Default value: \fI100\fP
.RE
.P
.BI rootfs_script
.RS
This is the full path name of the script that will be executed by this alert.
.P
It will receive the following three parameters:
.P
1st - the value currently defined in \fBrootfs_timeintvl\fP
.br
2nd - the value currently defined in \fBrootfs_threshold\fP
.br
3rd - the current root filesystem disk usage
.P
Default value: \fI/path/to/script.sh\fP
.RE
2012-10-22 15:26:37 +01:00
.SS Network traffic and usage (net.rrd)
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is the list of network interfaces that you may want to monitor. An example would be:
.P
.RS
2013-01-09 18:24:03 +00:00
list = eth0, eth1
2012-10-22 15:26:37 +01:00
.br
.RE
.P
The maximum number of entries allowed is 10.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the option where each network interface specified in \fBlist\fP is described. Each definition consists of three parameters separated by comma: the description of the interface and the rigid and limit values.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
Put one description for each interface listed. An example would be:
2012-10-22 15:26:37 +01:00
.P
.RS
2013-01-09 18:24:03 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
eth0 = FastEthernet LAN, 0, 1000
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
eth1 = ADSL 10Mbs Internet, 0, 1000
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</desc>
2012-10-22 15:26:37 +01:00
.RE
.P
The maximum number of entries allowed is 10.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI gateway
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is where the network interface that acts as the gateway for this server is defined. This is mainly used if you plan to monitor network traffic usage of your devices/networks using the \fBtraffacct\fP graph below.
2012-10-22 15:26:37 +01:00
.RE
.SS System services demand (serv.rrd)
2013-01-09 18:24:03 +00:00
.BI mode
2012-10-22 15:26:37 +01:00
.RS
This option toggles the way the System Services Demand data is represented in the graph. There are two possible values:
.P
.RS
2013-01-09 18:24:03 +00:00
\fIi\fP for incremental style
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fIl\fP for load (spikes) style
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
Default value: \fIi\fP
2012-10-22 15:26:37 +01:00
.RE
.SS Mail statistics (mail.rrd)
2013-01-09 18:24:03 +00:00
.BI mta
2012-10-22 15:26:37 +01:00
.RS
This option specifies the MTA that Monitorix will use to collect mail statistics. The currently supported MTAs are:
.RS
\fISendmail\fP
.br
\fIPostfix\fP
.RE
.P
2013-01-09 18:24:03 +00:00
NOTE: the \fIpflogsumm\fP utility is required when using the \fBPostfix\fP MTA.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIsendmail\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI greylist
2012-10-22 15:26:37 +01:00
.RS
This option specifies the Greylisting implementation that Monitorix will use to collect statistical information. In the future more Greylisting software will be supported.
.P
The currently supported Greylist software is:
.RS
\fImilter-greylist\fP
.RE
.P
Default value: \fImilter-greylist\fP
.RE
.P
2013-01-23 11:06:36 +00:00
.BI delvd_enabled
.RS
2013-01-23 11:06:36 +00:00
This section enables or disables one of the alert capabilities for this graph; the alert for the number of delivered messages. It works as follows:
.P
If the number of delivered messages reaches the \fBdelvd_threshold\fP value for the interval of time defined in \fBdelvd_timeintvl\fP, Monitorix will execute the external alert script defined in \fBdelvd_script\fP.
.P
The default Monitorix installation includes an example of a shell-script alert called \fBmonitorix-alert.sh\fP which you can use as a base for your own script.
.P
Default value: \fIn\fP
.RE
.P
.BI delvd_timeintvl
.RS
This is the period of time (in seconds) that the threshold needs to be exceeded before the external alert script is executed.
.P
Default value: \fI60\fP
.RE
.P
.BI delvd_threshold
.RS
This is the value that needs to be reached or exceeded within the specified time period in \fBdelvd_timeintvl\fP to trigger the mechanism for a particular action, which in this case is the execution of an external alert script.
.P
The value of this option is compared against the number of delivered messages since the last \fBdelvd_timeintvl\fP seconds.
.P
Default value: \fI100\fP
.RE
.P
.BI delvd_script
.RS
This is the full path name of the script that will be executed by this alert.
.P
It will receive the following three parameters:
.P
1st - the value currently defined in \fBdelvd_timeintvl\fP
.br
2nd - the value currently defined in \fBdelvd_threshold\fP
.br
3rd - the number of delivered messages
.P
Default value: \fI/path/to/script.sh\fP
.RE
.P
2013-01-23 11:06:36 +00:00
.BI mqueued_enabled
.RS
This section enables or disables one of the alert capabilities for this graph; the alert for the number of queued messages. It works as follows:
.P
If the number of queued messages reaches the \fBmqueued_threshold\fP value for the interval of time defined in \fBmqueued_timeintvl\fP, Monitorix will execute the external alert script defined in \fBmqueued_script\fP.
.P
The default Monitorix installation includes an example of a shell-script alert called \fBmonitorix-alert.sh\fP which you can use as a base for your own script.
.P
Default value: \fIn\fP
.RE
.P
.BI mqueued_timeintvl
.RS
This is the period of time (in seconds) that the threshold needs to be exceeded before the external alert script is executed.
.P
Default value: \fI3600\fP
.RE
.P
.BI mqueued_threshold
.RS
This is the value that needs to be reached or exceeded within the specified time period in \fBmqueued_timeintvl\fP to trigger the mechanism for a particular action, which in this case is the execution of an external alert script.
.P
The value of this option is compared with the number of messages in the mail queue.
.P
Default value: \fI100\fP
.RE
.P
.BI mqueued_script
.RS
This is the full path name of the script that will be executed by this alert.
.P
It will receive the following three parameters:
.P
1st - the value currently defined in \fBmqueued_timeintvl\fP
.br
2nd - the value currently defined in \fBmqueued_threshold\fP
.br
3rd - the number of messages in the mail queue
.P
Default value: \fI/path/to/script.sh\fP
.RE
2012-10-22 15:26:37 +01:00
.SS Network port traffic (port.rrd)
This graph requires the \fIiptables\fP command on Linux systems and the \fIipfw\fP command on *BSD systems.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
.BI max
2012-10-22 15:26:37 +01:00
.RS
This is the number of network ports that you want to monitor. There is no limit to the number of ports monitored, but keep in mind that every time this number changes, Monitorix will resize the \fIport.rrd\fP file accordingly, removing all historical data.
.P
Default value: \fI9\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI rule
2012-10-22 15:26:37 +01:00
.RS
This is the rule number that Monitorix will use when using the \fIipfw\fP command to manage network port activity on *BSD systems. Change it if you think it might conflict with any other rule number.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI24000\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
You may define here up to \fBmax\fP network port numbers. If you see a red color in the background of a network port graph, it means that there is not a daemon listening on that port. This can be useful to know if some service gone down unexpectedly.
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-31 08:27:42 +00:00
This is the option where each network port specified in \fBlist\fP is described. Each port definition consists of five parameters separated by comma: the port description, the network protocol, the connection type (\fIin\fP, \fIout\fP or \fIin/out\fP) and the rigid and limit values.
2013-01-09 18:24:03 +00:00
.P
An example would be:
.RS
<desc>
.br
2013-01-31 08:27:42 +00:00
25 = SMTP, tcp, in/out, 0, 1000
2013-01-09 18:24:03 +00:00
.br
2013-01-31 08:27:42 +00:00
80 = HTTP, tcp, in, 0, 1000
2013-01-09 18:24:03 +00:00
.br
2013-01-31 08:27:42 +00:00
53 = DNS, udp, in, 0, 1000
2013-01-09 18:24:03 +00:00
.br
</desc>
.RE
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI graphs_per_row
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the number of graphs that will be put in a row. Consider the interaction of this parameter with the \fBmax\fP option in order to adjust the size and number of graphs in relation to your horizontal screen size.
.P
Default value: \fI3\fP
2012-10-22 15:26:37 +01:00
.RE
.SS Users using the system (user.rrd)
Only the limit and rigid values may be set here.
.SS FTP statistics (ftp.rrd)
This graph supports currently ProFTPD and vsftpd log file formats.
.P
For best results with the ProFTPD server I recommend to add the following line in its configuration file:
.P
ExtendedLog /var/log/proftpd/access.log AUTH,DIRS,READ,WRITE
.P
For best results with the vsftpd server I recommend to setup the option \fIxferlog_std_format\fP to \fINO\fP, and the option \fBftp_log\fP to \fI/var/log/vsftpd.log\fP.
.P
.BI server
.RS
This option specifies the FTP server. The currently supported FTP servers are:
.RS
\fIProFTPD\fP
.br
\fIvsftpd\fP
.RE
.P
Default value: \fIproftpd\fP
.RE
.P
.BI anon_user
.RS
This option lists the different names (separated by comma) that can adopt the Anonymous user in the FTP server defined in \fBserver\fP.
.P
Default value: \fIanonymous, ftp\fP
.RE
2012-10-22 15:26:37 +01:00
.SS Apache statistics (apache.rrd)
This graph requires that \fImod_status\fP be loaded and \fIExtendedStatus\fP option set to \fIOn\fP in order to collect full status information of the Apache web server.
.P
This graph is able to monitor an unlimited number of local and remote Apache web servers.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is a list of URLs of the monitored Apache web servers.
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIapache.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIhttp://localhost:80/\fP
.RE
.SS Nginx statistics (nginx.rrd)
This graph may require adding some lines in the configuration file \fInginx.conf\fP. Please see the \fIREADME.nginx\fP file to determine the exact steps needed to configure Nginx to get status information.
.P
This graph requires the \fIiptables\fP command on Linux systems, and the \fIipfw\fP command on *BSD systems.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
.BI port
2012-10-22 15:26:37 +01:00
.RS
This is the network port the Nginx web server is listening on.
.P
Default value: \fI80\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI rule
2012-10-22 15:26:37 +01:00
.RS
This is the rule number that Monitorix will use when using the \fIipfw\fP command to manage Nginx network activity on *BSD systems. Change it if you think it might conflict with any other rule number.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI24100\fP
.RE
.SS Lighttpd statistics (lighttpd.rrd)
This graph requires that \fImod_status\fP is loaded in order to collect status information from the Lighttpd web server.
.P
This graph is able to monitor an unlimited number of local and remote Lighttpd web servers.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is a list of URLs of the monitored Lighttpd web servers.
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries of this option changes, Monitorix will resize the \fIlighttpd.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIhttp://localhost:80/\fP
.RE
.SS MySQL statistics (mysql.rrd)
This graph requires that you create a password protected MySQL user that is NOT granted privileges on any DB.
.P
Example:
.P
mysql> CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
.br
mysql> FLUSH PRIVILEGES;
.br
.P
where \fIuser\fP is the new user name and \fIpassword\fP is the password that will be used for that user.
.P
This graph is able to monitor an unlimited number of local and remote MySQL web servers.
.P
NOTE: It is strongly recommended that you restart the MySQL service in order to avoid high spikes that could prevent correct display of the first plotted data.
.P
2013-01-09 18:24:03 +00:00
.BI conn_type
2012-10-22 15:26:37 +01:00
.RS
This option toggles the way how Monitorix establishes the connection with the MySQL server. There are two possible values:
.P
.RS
2013-01-09 18:24:03 +00:00
\fIhost\fP using the network (hostname and IP address)
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fIsocket\fP using a socket file
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
Default value: \fIhost\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the list of hostnames or path to sockets of MySQL servers.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries of this option change Monitorix will resize the \fImysql.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIlocalhost\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the option where each entry specified in the list is described. Each definition consists of three parameters separated by comma: the port, the username and the password.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
An example would be:
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
<desc>
.br
localhost = 3306, user, secret
.br
</desc>
2012-10-22 15:26:37 +01:00
.RE
.P
Some of the values shown in the graphs are the result of a calculation of two values from either \fISHOW [GLOBAL] STATUS\fP or \fISHOW VARIABLES\fP. The following is an explanation of them:
.P
\fBThread Cache Hit Rate\fP
.br
\fB(1 - (Threads_created / Connections)) * 100\fP
.br
When an application connects to a MySQL database, the database has to create a thread to manage the connection and the queries that will be sent in that connection. The database instructs the kernel to create a new thread, and the kernel allocates resources and creates the thread, then returns it to the MySQL service. When the connection is terminated by the application, MySQL tells the kernel to destroy the thread and free the resources. This create/destroy mechanism causes considerable overhead if the MySQL server has many new connections per second.
.br
If MySQL doesn't destroy the thread when the connection is terminated, but reuses it and assigns it to the next connection then this will decrease the kernel overhead. This is why a high \fBThread Cache Hit Rate\fP improves MySQL performance and decreases the system's CPU usage.
.br
Setting the parameter \fIthread_cache_size\fP in the \fImy.cnf\fP file accordingly will help to correctly balance between having a great thread cache and keeping MySQL memory consumption reasonable.
.br
Higher is better.
.P
\fBQuery Cache Hit Rate\fP
.br
2013-01-16 14:11:51 +00:00
\fBQcache_hits / (Qcache_hits + Com_select) * 100\fP
2012-10-22 15:26:37 +01:00
.br
2013-01-16 14:11:51 +00:00
Higher should be considered better.
.br
A query cache size increase is recommended if the query cache usage is very close to 100% and the query cache hit rate is far from 100%. But sometimes a size increase will not lead to a better hit rate: this means that the increase was not needed and that the application do not run enough cacheable SELECT queries.
.br
This value should grow proportionally with the number of executed queries as long as the query cache is performing well. Please also have a look at the \fBQuery cache usage\fP percentage to know if your query_cache configuration is appropriate.
2012-10-22 15:26:37 +01:00
.P
2013-01-16 15:46:54 +00:00
For more information please refer to http://www.databasejournal.com/features/mysql/article.php/3808841/Optimizing-the-MySQL-Query-Cache.htm
.P
2012-10-22 15:26:37 +01:00
\fBQuery Cache Usage\fP
.br
\fB(1 - (Qcache_free_memory / query_cache_size)) * 100\fP
.br
This value should be reasonably far from 100%, otherwise consider incrementing the \fIquery_cache_size\fP parameter in \fImy.cnf\fP.
.P
\fBConnections Usage\fP
.br
\fB(Max_used_connections / max_connections) * 100\fP
.br
This value should be reasonably far from 100%, otherwise consider incrementing the \fImax_connections\fP parameter in \fImy.cnf\fP.
.P
\fBKey Buffer Usage\fP
.br
\fB(Key_blocks_used / (Key_blocks_used + Key_blocks_unused)) * 100\fP
.br
This value should be reasonably far from 100%, otherwise consider incrementing the \fIkey_buffer_size\fP parameter in \fImy.cnf\fP.
.P
\fBInnoDB Buffer Pool Usage\fP
.br
\fB(1 - (Innodb_buffer_pool_pages_free / Innodb_buffer_pool_pages_total)) * 100\fP
.br
This value should be reasonably far from 100%, otherwise consider incrementing the \fIinnodb_buffer_pool_size\fP parameter in \fImy.cnf\fP.
.P
\fBTemp. Tables To Disk\fP
.br
\fB(Created_temp_disk_tables / Created_temp_disk_tables + Created_temp_tables)) * 100\fP
.br
During operation, MySQL has to create some temporary tables (that can be explicit, so created by the web application, or implicit, so for example MySQL has to create one when he runs some "SELECT DISTINCT", "UNION" or "VIEW" queries). MySQL will prefer to save this tmp tables to memory, for a fast access. But if 'tmp_table_size' gets saturated, he has to write them on the disk instead, making the access slower.
.br
Therefore this value helps to know how many tmp tables go to the disk instead than to the memory. Keep in mind that some large queries, involving TEXT and BLOB columns, are directly written to the disk instead than to the memory, because they would be too big. So you probably will want to avoid having a high % of tmp tables written to the disk, but you will never reach 0% on a big site, and this is fine.
.br
Lower is better ... but 0% is not reachable and you should not try to reach it, usually.
2012-10-22 15:26:37 +01:00
.SS Squid Proxy Web Cache (squid.rrd)
.P
2013-01-09 18:24:03 +00:00
.BI cmd
2012-10-22 15:26:37 +01:00
.RS
This command displays statistics about the Squid HTTP proxy process and is the main command used to collect all data.
.P
Default value: \fIsquidclient -h 127.0.0.1\fP
.P
.RE
2013-01-09 18:24:03 +00:00
.BI graph_0
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_1
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
These two lists hold the selected Squid result or status codes to be shown in each graph. Feel free to mix result status and code status in any of the two options.
2012-10-22 15:26:37 +01:00
.P
For more information about the list of all the result and status codes, please refer to http://wiki.squid-cache.org/SquidFaq/SquidLogs.
.P
Each graph has a limit number of 9 entries.
.RE
.SS NFS server statistics (nfss.rrd)
.P
2013-01-09 18:24:03 +00:00
.BI version
2012-10-22 15:26:37 +01:00
.RS
This option specifies which NFS server version is running in the system in order to correctly gather the correct values.
.P
The possible values are:
.RS
\fI2\fP for NFS version 2
.br
\fI3\fP for NFS version 3
.br
\fI4\fP for NFS version 4
.RE
.P
Default value: \fI3\fP
.P
.RE
2013-01-09 18:24:03 +00:00
.BI graph_0
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_1
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_2
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
These three lists hold the defined NFS server activity statistics to be shown in each graph. Put every statistic name exactly as they appear in the output of the \fInfsstat\fP command.
2012-10-22 15:26:37 +01:00
.P
Each graph has a limit number of 10 entries.
.RE
.SS NFS client statistics (nfsc.rrd)
.P
2013-01-09 18:24:03 +00:00
.BI version
2012-10-22 15:26:37 +01:00
.RS
This option specifies which NFS server version is running in the system in order to correctly gather the correct values.
.P
The possible values are:
.RS
\fI2\fP for NFS version 2
.br
\fI3\fP for NFS version 3
.br
\fI4\fP for NFS version 4
.RE
.P
Default value: \fI3\fP
.P
.RE
2013-01-09 18:24:03 +00:00
.BI graph_1
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_2
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_3
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_4
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
.BI graph_5
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
These five lists hold the defined NFS client activity statistics to be shown in each graph. Put every statistic name exactly as they appear in the output of the \fInfsstat\fP command.
2012-10-22 15:26:37 +01:00
.P
Each graph has the following limit number of entries:
.P
2013-01-09 18:24:03 +00:00
\fBgraph_1\fP up to 10 entries
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fBgraph_2\fP up to 10 entries
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fBgraph_3\fP up to 4 entries
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fBgraph_4\fP up to 4 entries
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
\fBgraph_5\fP up to 4 entries
2012-10-22 15:26:37 +01:00
.RE
.SS BIND statistics (bind.rrd)
This graph requires a BIND server with version 9.5 or higher, and in order to see all statistics provided by BIND you must configure the \fIstatistics-channels\fP option like this:
2012-10-22 15:26:37 +01:00
.P
statistics-channels {
.br
inet 127.0.0.1 port 8053;
.br
};
.P
This graph is able to monitor an unlimited number of BIND servers.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is a list of URLs of BIND servers status pages.
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIbind.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIhttp://localhost:8053/\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI in_queries_list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of RR (Resource Records) types for each BIND server specified in \fBlist\fP option. The RR types defined here will appear in the Incoming Queries graph which shows the number of incoming queries for each RR type.
2012-10-22 15:26:37 +01:00
.P
For a complete list of RR types check the BIND 9 Administrator Reference Manual at <http://ftp.isc.org/www/bind/arm95/Bv9ARM.html>.
.P
2013-01-09 18:24:03 +00:00
<in_queries_list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8053/ = A, AAAA, ANY, DS, MX, NS, PTR, SOA, SRV, TXT, NAPTR, A6, CNAME, SPF, KEY, DNSKEY, HINFO, WKS, PX, NSAP
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</in_queries_list>
2012-10-22 15:26:37 +01:00
.P
The maximum number of RR types allowed for this graph is 20.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI out_queries_list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of RR (Resource Records) types for each BIND server. The RR types defined here will appear in the Outgoing Queries graph (_default view) which shows the number of outgoing queries sent by the DNS server resolver for each RR type.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<out_queries_list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8053/ = A, AAAA, ANY, DS, MX, NS, PTR, SOA, SRV, TXT, NAPTR, A6, CNAME, SPF, KEY, DNSKEY, HINFO, WKS, PX, NSAP
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</out_queries_list>
2012-10-22 15:26:37 +01:00
.P
The maximum number of RR types allowed for this graph is 20.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI server_stats_list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of counters about incoming request processing. The counters defined here will appear in the Server Statistics graph.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<server_stats_list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8053/ = Requestv4, Requestv6, ReqEdns0, ReqBadEDNSVer, ReqTSIG, ReqSIG0, ReqBadSIG, ReqTCP, Response, QrySuccess, QryAuthAns, QryNoauthAns, QryReferral, QryNxrrset, QrySERVFAIL, QryNXDOMAIN, QryRecursion, QryDuplicate, QryDropped, QryFailure
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</server_stats_list>
2012-10-22 15:26:37 +01:00
.P
The maximum number of counters allowed for this graph is 20.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI resolver_stats_list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of counters about name resolution performed in the internal resolver. The counters defined here will appear in the Resolver Statistics graph (_default view).
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<resolver_stats_list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8053/ = Queryv4, Queryv6, Responsev4, Responsev6, NXDOMAIN, SERVFAIL, FORMERR, OtherError, EDNS0Fail, Truncated, Lame, Retry, QueryTimeout, GlueFetchv4, GlueFetchv6, GlueFetchv4Fail, GlueFetchv6Fail, ValAttempt, ValOk, ValNegOk
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</resolver_stats_list>
2012-10-22 15:26:37 +01:00
.P
The maximum number of counters allowed for this graph is 20.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI cache_rrsets_list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of RR (Resource Records) types for each BIND server. The RR types defined here will appear in the Cache DB RRsets graph (_default view) which shows the number of RRsets per RR type (positive or negative) and nonexistent names stored in the cache database.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<cache_rrsets_list>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8053/ = A, !A, AAAA, !AAAA, DLV, !DLV, DS, !DS, MX, NS, CNAME, !CNAME, SOA, !SOA, !ANY, PTR, RRSIG, NSEC, DNSKEY, NXDOMAIN
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</cache_rrsets_list>
2012-10-22 15:26:37 +01:00
.P
The maximum number of RR types allowed for this graph is 20.
.RE
.SS NTP statistics (ntp.rrd)
This graph is able to monitor an unlimited number of NTP servers.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is a list of NTP servers.
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIntp.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIlocalhost\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of groups of Reference Identifier and Kiss-o'-Death Codes for every hostname specified in the \fBlist\fP option.
2012-10-22 15:26:37 +01:00
.P
For more information on these NTP codes:
.br
<http://www.iana.org/assignments/ntp-parameters/ntp-parameters.xml>
.br
<http://www.iana.org/go/rfc5905>
.P
2013-01-09 18:24:03 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
localhost = AUTH, AUTO, CRYP, DENY, GPS, INIT, NKEY, RATE, RMOT, RSTR
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</desc>
2012-10-22 15:26:37 +01:00
.P
The maximum number of codes allowed for each hostname is 10.
.RE
.SS Fail2ban statistics (fail2ban.rrd)
This graph is able to monitor an unlimited number of Fail2ban jails.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the list that describes the groups of jails in \fBdesc\fP. Put one description for each group. For every group specified you need to specify its description in the \fBdesc\fP option.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIfail2ban.rrd\fP file accordingly, removing all historical data.
.P
An example would be:
.P
list = Security, Overload / Abuse
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of jails per group defined in your Fail2ban configuration.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
0 = [apache], [apache-mod-security], [apache-overflows], [courierauth], [ssh], [pam-generic], [php-url-fopen], [vsftpd]
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
1 = [apache-imdbphp], [apache-evasive], [apache-badbots], [apache-robots-txt], [communigate], [named-refused-udp], [named-refused-tcp], [trac-ticketspam]
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</desc>
2012-10-22 15:26:37 +01:00
.P
The maximum number of jails allowed for each group is 9.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI graphs_per_row
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is the number of fail2ban graphs that will be put in a row.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
Default value: \fI2\fP
2012-10-22 15:26:37 +01:00
.RE
.SS Icecast Streaming Media Server (icecast.rrd)
This graph is able to monitor an unlimited number of Icecast servers.
.P
2013-01-09 18:24:03 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is a list of URLs of Icecast server status pages.
.P
2013-01-09 18:24:03 +00:00
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIicecast.rrd\fP file accordingly, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIhttp://localhost:8000/status.xsl\fP
.RE
.P
2013-01-09 18:24:03 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This is a list of mountpoints configured for every URL specified in the \fBlist\fP option.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
http://localhost:8000/status.xsl = stream1, stream2, stream3
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:24:03 +00:00
</desc>
2012-10-22 15:26:37 +01:00
.P
The maximum number of mountpoints allowed for each URL is 9.
.RE
.P
2013-01-09 18:24:03 +00:00
.BI graph_mode
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:24:03 +00:00
This changes the layout of the listeners graph, the possible values are \fIr\fP for a real graph, or \fIs\fP for a stacked graph (every line or area is stacked on top of the previous element).
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:24:03 +00:00
Default value: \fIr\fP
2012-10-22 15:26:37 +01:00
.RE
.SS Devices interrupt activity (int.rrd)
Only the limit and rigid values may be set here.
.SS Monitoring the Internet traffic of LAN PCs, devices or whole networks
2013-01-09 18:42:44 +00:00
If your server acts as the gateway for a group of PCs, devices or even whole networks in your local LAN, you may want to know how much Internet traffic each one is generating.
2012-10-22 15:26:37 +01:00
.P
This graph requires the \fIiptables\fP command on GNU/Linux systems, and the \fIipfw\fP command on *BSD systems.
2012-10-22 15:26:37 +01:00
.P
The following are the options you will need to configure to accomplish all of this.
.P
2013-01-09 18:42:44 +00:00
.BI enabled
2012-10-22 15:26:37 +01:00
.RS
This option enables this feature.
.P
2013-01-09 18:42:44 +00:00
Default value: \fIn\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:42:44 +00:00
.BI max
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
This is the number of LAN devices you want to monitor. There is no limit, but keep in mind that every time this number changes, Monitorix will resize its current \fItraffacct.rrd\fP file, removing all historical data.
2012-10-22 15:26:37 +01:00
.P
Default value: \fI10\fP
.RE
.P
2013-01-09 18:42:44 +00:00
.BI graphs_per_row
2012-10-22 15:26:37 +01:00
.RS
If your horizontal screen resolution is pretty wide, you may want to increase the number of graphs that appear on each row.
.P
Default value: \fI2\fP
.RE
.P
2013-01-09 18:42:44 +00:00
.BI list
2012-10-22 15:26:37 +01:00
.RS
This is the list of names of PCs, LAN devices or whole networks that you want to monitor. The only requirement is that all they must utilize this server as their gateway.
.P
2013-01-09 18:42:44 +00:00
If the names in this list are able to be resolved by a DNS query then you don't need to define the \fBdesc\fP list (below) with corresponding IP addresses, unless you want monthly reports.
2012-10-22 15:26:37 +01:00
.P
An example would be:
.P
.RS
2013-01-09 18:42:44 +00:00
list = pc8, printer, scanner, lan3
2012-10-22 15:26:37 +01:00
.RE
.RE
.P
2013-01-09 18:42:44 +00:00
.BI desc
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
This is the list of IP addresses with network masks and email addresses corresponding to the entries defined in the \fBlist\fP. This option is only used when the those entries are not resolvable through a DNS query.
2012-10-22 15:26:37 +01:00
.P
An example would be:
.P
.RS
2013-01-09 18:42:44 +00:00
<desc>
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:42:44 +00:00
0 = 192.168.1.101/32, ace@example.com
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:42:44 +00:00
1 = 192.168.1.102/32, gene@example.com
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:42:44 +00:00
2 = 192.168.1.103/32, paul@example.com
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:42:44 +00:00
3 = 192.168.1.104/32, peter@example.com
2012-10-22 15:26:37 +01:00
.br
2013-01-09 18:42:44 +00:00
</desc
2012-10-22 15:26:37 +01:00
.RE
.RE
2013-01-09 18:42:44 +00:00
.SS Monthly reports (... continued)
.BI enabled
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
If this option is set to \fIy\fP, Monitorix will send a report of all the monthly Internet activity of the defined devices in \fBlist\fP to the specified email address on the first day of each month.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:42:44 +00:00
Default value: \fIn\fP
2012-10-22 15:26:37 +01:00
.RE
.P
2013-01-09 18:42:44 +00:00
.BI language
2012-10-22 15:26:37 +01:00
.RS
Define here the language used in the monthly report.
.P
The possible values are: \fIca\fP, \fIde\fP, \fIen\fP, \fIit\fP and \fIpl\fP.
.P
Default value: \fIen\fP
.RE
.P
2013-01-09 18:42:44 +00:00
.BI default_mail
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
This is the default email address used to send the monthly reports. This option is only used if the second paramater in \fBdesc\fP list is empty.
2012-10-22 15:26:37 +01:00
.P
Default value: \fIroot@localhost\fP
.RE
.P
2013-01-09 18:42:44 +00:00
.BI smtp_hostname
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
This is the hostname that will be used as a SMTP relay to deliver the monthly report emails.
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:42:44 +00:00
Default value: \fIlocalhost\fP
.RE
2012-10-22 15:26:37 +01:00
.P
2013-01-09 18:42:44 +00:00
.BI from_address
2012-10-22 15:26:37 +01:00
.RS
2013-01-09 18:42:44 +00:00
This is the address that will be used as remitent for all the monthly report emails.
.P
Default value: \fInoreply@example.com\fP
2012-10-22 15:26:37 +01:00
.RE
2013-01-09 18:24:03 +00:00
.SS Monitoring remote servers (Multihost)
The \fIMultihost\fP feature allows you to monitor an unlimitted number of remote servers that already have Monitorix installed.
.P
.BI enabled
.RS
This option enables the \fIMultihost\fP feature.
.P
Default value: \fIn\fP
.RE
.P
.BI footer_url
.RS
If set to \fIy\fP Monitorix will show the original URL of each server at the bottom of the graph. Where security is important you may want to hide this information.
.P
Default value: \fIy\fP
.RE
.P
.BI graphs_per_row
.RS
If your horizontal screen resolution is pretty wide, you may want to increase the number of graphs that appear on each row.
.P
Default value: \fI2\fP
.RE
.P
.BI remotehost_list
.RS
This is a list with descriptive names of remote servers with Monitorix already installed and working that you plan to monitor from here.
.P
An example of this list would be:
.P
.RS
remotehost_list = server 1, server 2, server 3
.RE
.RE
.P
.BI remotehost_desc
.RS
This is a numbered list that describes each of the names defined in the \fBremotehost_list\fP option and the remote values of \fBbase_url\fR and \fBbase_cgi\fR options.
2013-01-09 18:24:03 +00:00
.P
An example would be:
.P
.RS
<remotehost_desc>
.br
2013-02-12 17:10:11 +00:00
0 = http://www.example.com,/monitorix,/monitorix-cgi
2013-01-09 18:24:03 +00:00
.br
2013-02-12 17:10:11 +00:00
1 = http://10.0.0.1,/monitorix,/monitorix-cgi
2013-01-09 18:24:03 +00:00
.br
2013-02-12 17:10:11 +00:00
2 = http://192.168.0.100:8080,/,/
2013-01-09 18:24:03 +00:00
.br
</remotehost_desc>
.RE
.P
As you can see all these three entries use URLs to designate the location of each remote server. This means that each server most also have been enabled the built-in HTTP server, or have been installed a CGI capable web server like Apache.
2013-01-09 18:24:03 +00:00
.RE
.P
.BI groups
.RS
This enables the server grouping for those environments where there are too much servers to display at the same time. Hence, you can group them in order to show them separatedly.
.P
Default value: \fIn\fP
.RE
.P
.BI remotegroup_list
.RS
This is a list of groups of remote servers with Monitorix already installed and working that you plan to monitor from here.
.P
An example of this list would be:
.P
.RS
remotegroup_list = My Group
.RE
.RE
.P
.BI remotegroup_desc
.RS
This is a numbered list that describes each of the names defined in the \fBremotegroup_list\fP option.
.P
An example would be:
.P
.RS
<remotegroup_desc>
.br
0 = server2, server 3
.br
</remotegroup_desc>
.RE
.RE
.SS rigid and limit values
.BI rigid
.RS
This value defines how the graph must be scaled. Its possible values are:
.P
\fI0\fP No rigid. The graph will be scaled automatically.
.br
\fI2\fP The graph will be scaled using the \fBlimit\fP value as its upper-limit value.
.RE
.BI limit
.RS
This is where you can enter the upper-limit value for a graph.
.RE
2012-10-22 15:26:37 +01:00
.SH AUTHOR
Monitorix is written by Jordi Sanfeliu <jordi@fibranet.cat>
.SH COPYRIGHT
2013-01-09 18:42:44 +00:00
Copyright \(co 2005-2013 Jordi Sanfeliu
2012-10-22 15:26:37 +01:00
.br
2013-02-18 14:31:11 +00:00
Licensed under the GNU General Public License version 2 (GPLv2).
2012-10-22 15:26:37 +01:00
.SH SEE ALSO
.BR monitorix (8),
.BR rrdtool (1)