update the man page to include descriptions of the new 'du' graph

This commit is contained in:
Jordi Sanfeliu 2015-05-06 15:43:32 +02:00
parent 547893340b
commit 2c00eda81d
1 changed files with 40 additions and 0 deletions

View File

@ -983,6 +983,46 @@ It will receive the following three parameters:
.P
Default value: \fI/path/to/script.sh\fP
.RE
.SS Directory usage statistics (du.rrd)
This graph is able to monitor the usage of an unlimited number of directories.
.P
.BI list
.RS
This is a comma-separated list that describes the groups of directories in \fBdesc\fP. Put one description for each group. For every group specified you need to specify its description in the \fBdesc\fP option.
.P
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fIdu.rrd\fP file accordingly, removing all historical data.
.P
An example would be:
.P
list = System, Users
.RE
.P
.BI desc
.RS
This is a list of directories per group defined.
.P
<desc>
.br
0 = /var/spool/mail, /var/spool/mqueue, /etc, /var/ftp, /tmp
.br
1 = /home/ace, /home/gene, /home/paul, /home/peter
.br
</desc>
.P
The maximum number of directories allowed for each group is 9.
.RE
.P
.BI dirmap
.RS
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 directory. If no association is defined, then Monitorix will display the name specified in the \fBlist\fP option.
.RE
.P
.BI graphs_per_row
.RS
This is the number of graphs that will be put in a row.
.P
Default value: \fI2\fP
.RE
.SS Network traffic and usage (net.rrd)
.BI list
.RS