1 mon-collector(7) Ganeti | Version @GANETI_VERSION@
2 ==================================================
7 mon-collector - Command line interface for the data collectors of the
13 **mon-collector** {collector}
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
24 When executed, ``mon-collector`` will run the specified collector and will
25 print its output to stdout, in JSON format.
36 | drbd [ [ **-s** | **\--drbd-status** ] = *status-file* ] [ [ **-p** | **\--drbd-pairing**] = *pairing-file* ]
38 Collects the information about the version and status of the DRBD kernel
39 module, and of the disks it is managing.
41 If *status-file* and *pairing-file* are specified, the status and the
42 instance-minor paring information will be read from those files.
43 Otherwise, the collector will read them, respectively, from /proc/drbd
44 and from the Confd server.
46 The options that can be passed to the DRBD collector are as follows:
48 -s *status-file*, \--drbd-status=*status-file*
49 Read the DRBD status from the specified file instead of /proc/drbd.
51 -p *pairing-file*, \--drbd-pairing=*pairing-file*
52 Read the information about the pairing between instances and DRBD minors
53 from the specified file instead of asking the Confd servers for them.