1monitorix(8) Monitorix collector daemon monitorix(8)
2
3
4
6 monitorix - a lightweight system monitoring tool
7
9 monitorix -c configfile [-p pidfile] [-d none | graph[,graph] | all]
10 [-v] [-n]
11
13 This Perl daemon starts the main Monitorix process, which gathers sta‐
14 tistics about the system it is running on and stores this information
15 in a set of RRD files.
16
18 -c configfile
19 The default location of the main configuration file varies
20 depending on the operating system:
21
22 Linux: /etc/monitorix/monitorix.conf
23 FreeBSD: /usr/local/etc/monitorix.conf
24
25 Extra configuration files can be placed in /etc/moni‐
26 torix/conf.d, they will be loaded right after the main configu‐
27 ration file (overriding previous options).
28
29 -p pidfile
30 Stores the daemon's process ID into the specified file.
31
32 -d none | graph[,graph] | all
33 Logs more information about what monitorix is doing internally.
34 The keys reflect if the data collected must be displayed on each
35 case. If all is defined, the data collected of all enabled
36 graphs will be shown. If none is defined no data collected will
37 be shown. Finally it is also possible to define a comma-sepa‐
38 rated list of graph names from which show their data collected.
39 For a reference of all graph names check the option graph_name
40 in the monitorix.conf configuration file.
41
42 -v Displays version information.
43
44 -n This argument will prevent Monitorix from daemonizing, and
45 hence, forcing it to run in foreground. This is specially useful
46 for debugging purposes.
47
48 -u This option will force Monitorix to run under the regular user
49 who started it. It's necessary to make sure that this user will
50 have write permissions to the directory and files pointed by the
51 options base_dir, base_lib and log_file (either for monitorix
52 and for the HTTP built-in server). Also, you must know that some
53 graphs might not work because only the 'root' user is capable to
54 get such statistics. Check the log files after starting Moni‐
55 torix in this mode.
56
58 On receipt of a SIGHUP, monitorix will close and reopen its log file
59 (provided that it has a filename defined). This is useful in scripts
60 which rotate and age log files.
61
62 Note that the configuration file is not re-read.
63
65 The following set of the files are created on every startup:
66
67 <base_dir>/cgi/monitorix.conf.path
68 Stores the path of configfile.
69
70 <base_dir>/cgi/monitorix.hplog
71 Stores the output of hplog command.
72
73 <base_dir>/index.html
74 HTML main page.
75
77 Monitorix is written by Jordi Sanfeliu <jordi@fibranet.cat>
78
80 Copyright © 2005-2021 Jordi Sanfeliu
81 Licensed under the GNU General Public License version 2 (GPLv2).
82
84 monitorix.conf(5)
85
86
87
883.13.1 Jan 2021 monitorix(8)