Revision 05f88ad6
b/doc/design-monitoring-agent.rst | ||
---|---|---|
296 | 296 |
``1`` |
297 | 297 |
otherwise. |
298 | 298 |
|
299 |
Storage status
|
|
300 |
++++++++++++++ |
|
299 |
Storage collectors
|
|
300 |
++++++++++++++++++
|
|
301 | 301 |
|
302 |
The storage status collectors will be a series of data collectors |
|
303 |
(drbd, rbd, plain, file) that will gather data about all the storage types |
|
304 |
for the current node (this is right now hardcoded to the enabled storage |
|
305 |
types, and in the future tied to the enabled storage pools for the nodegroup). |
|
302 |
The storage collectors will be a series of data collectors |
|
303 |
that will gather data about storage for the current node. The collection |
|
304 |
will be performed at different granularity and abstraction levels, from |
|
305 |
the physical disks, to partitions, logical volumes and to the specific |
|
306 |
storage types used by Ganeti itself (drbd, rbd, plain, file). |
|
306 | 307 |
|
307 | 308 |
The ``name`` of each of these collector will reflect what storage type each of |
308 | 309 |
them refers to. |
309 | 310 |
|
310 | 311 |
The ``category`` field of these collector will be ``storage``. |
311 | 312 |
|
312 |
The ``kind`` field will be ``1`` (`Status reporting collectors`_). |
|
313 |
|
|
314 |
The ``data`` section of the report will provide at least the following fields: |
|
315 |
|
|
316 |
``free`` |
|
317 |
The amount of free space (in KBytes). |
|
318 |
|
|
319 |
``used`` |
|
320 |
The amount of used space (in KBytes). |
|
321 |
|
|
322 |
``total`` |
|
323 |
The total visible space (in KBytes). |
|
313 |
The ``kind`` field will depend on the specific collector. |
|
324 | 314 |
|
325 |
Each specific storage type might provide more type-specific fields. |
|
315 |
Each ``storage`` collector's ``data`` section will provide collector-specific |
|
316 |
fields. |
|
326 | 317 |
|
327 | 318 |
In case of error, the ``message`` subfield of the ``status`` field of the |
328 | 319 |
report of the instance status collector will disclose the nature of the error |
Also available in: Unified diff