Add the stand-alone data collector for DRBD
[ganeti-local] / man / mon-collector.rst
1 mon-collector(7) Ganeti | Version @GANETI_VERSION@
2 ==================================================
3
4 NAME
5 ----
6
7 mon-collector - Command line interface for the data collectors of the
8 monitoring system
9
10 SYNOPSIS
11 --------
12
13 **mon-collector** {collector}
14
15 DESCRIPTION
16 -----------
17
18 ``mon-collector`` is a suite of tools designed to provide a command line
19 interface to the data collectors implemented by the ganeti monitoring system.
20 ``mon-collector`` is also the generic binary that must be invoked specifying,
21 as the first command line parameter, the name of the actual desired data
22 collector to be run.
23
24 When executed, ``mon-collector`` will run the specified collector and will
25 print its output to stdout, in JSON format.
26
27
28
29
30 COLLECTORS
31 ----------
32
33 DRBD
34 ~~~~
35
36 | drbd [*status-file*]
37
38 Collects the information about the version and status of the DRBD kernel
39 module, and of the disks it is managing.
40
41 If *status-file* is specified, the status will be read from that file.
42 Otherwise, the collector will read it from /proc/drbd.