root / man / mon-collector.rst @ 0500f6fd
History | View | Annotate | Download (1.6 kB)
1 | 332b1340 | Michele Tartara | mon-collector(7) Ganeti | Version @GANETI_VERSION@ |
---|---|---|---|
2 | 332b1340 | Michele Tartara | ================================================== |
3 | 332b1340 | Michele Tartara | |
4 | 332b1340 | Michele Tartara | NAME |
5 | 332b1340 | Michele Tartara | ---- |
6 | 332b1340 | Michele Tartara | |
7 | 332b1340 | Michele Tartara | mon-collector - Command line interface for the data collectors of the |
8 | 332b1340 | Michele Tartara | monitoring system |
9 | 332b1340 | Michele Tartara | |
10 | 332b1340 | Michele Tartara | SYNOPSIS |
11 | 332b1340 | Michele Tartara | -------- |
12 | 332b1340 | Michele Tartara | |
13 | 332b1340 | Michele Tartara | **mon-collector** {collector} |
14 | 332b1340 | Michele Tartara | |
15 | 332b1340 | Michele Tartara | DESCRIPTION |
16 | 332b1340 | Michele Tartara | ----------- |
17 | 332b1340 | Michele Tartara | |
18 | 332b1340 | Michele Tartara | ``mon-collector`` is a suite of tools designed to provide a command line |
19 | 332b1340 | Michele Tartara | interface to the data collectors implemented by the ganeti monitoring system. |
20 | 332b1340 | Michele Tartara | ``mon-collector`` is also the generic binary that must be invoked specifying, |
21 | 332b1340 | Michele Tartara | as the first command line parameter, the name of the actual desired data |
22 | 332b1340 | Michele Tartara | collector to be run. |
23 | 332b1340 | Michele Tartara | |
24 | 332b1340 | Michele Tartara | When executed, ``mon-collector`` will run the specified collector and will |
25 | 332b1340 | Michele Tartara | print its output to stdout, in JSON format. |
26 | 332b1340 | Michele Tartara | |
27 | 332b1340 | Michele Tartara | |
28 | 332b1340 | Michele Tartara | |
29 | 332b1340 | Michele Tartara | |
30 | 332b1340 | Michele Tartara | COLLECTORS |
31 | 332b1340 | Michele Tartara | ---------- |
32 | 332b1340 | Michele Tartara | |
33 | 332b1340 | Michele Tartara | DRBD |
34 | 332b1340 | Michele Tartara | ~~~~ |
35 | 332b1340 | Michele Tartara | |
36 | d78970ba | Michele Tartara | | drbd [ [ **-s** | **\--drbd-status** ] = *status-file* ] [ [ **-p** | **\--drbd-pairing**] = *pairing-file* ] |
37 | 332b1340 | Michele Tartara | |
38 | 332b1340 | Michele Tartara | Collects the information about the version and status of the DRBD kernel |
39 | 332b1340 | Michele Tartara | module, and of the disks it is managing. |
40 | 332b1340 | Michele Tartara | |
41 | d78970ba | Michele Tartara | If *status-file* and *pairing-file* are specified, the status and the |
42 | d78970ba | Michele Tartara | instance-minor paring information will be read from those files. |
43 | d78970ba | Michele Tartara | Otherwise, the collector will read them, respectively, from /proc/drbd |
44 | d78970ba | Michele Tartara | and from the Confd server. |
45 | d78970ba | Michele Tartara | |
46 | d78970ba | Michele Tartara | The options that can be passed to the DRBD collector are as follows: |
47 | d78970ba | Michele Tartara | |
48 | d78970ba | Michele Tartara | -s *status-file*, \--drbd-status=*status-file* |
49 | d78970ba | Michele Tartara | Read the DRBD status from the specified file instead of /proc/drbd. |
50 | d78970ba | Michele Tartara | |
51 | d78970ba | Michele Tartara | -p *pairing-file*, \--drbd-pairing=*pairing-file* |
52 | d78970ba | Michele Tartara | Read the information about the pairing between instances and DRBD minors |
53 | d78970ba | Michele Tartara | from the specified file instead of asking the Confd servers for them. |