Add support for raid0 devices in mdadm_linux collector.
This commit is contained in:
parent
6969918c95
commit
a09bbaacd1
4 changed files with 41 additions and 5 deletions
|
|
@ -486,6 +486,7 @@ node_load5 0.37
|
|||
# HELP node_md_blocks Total number of blocks on device.
|
||||
# TYPE node_md_blocks gauge
|
||||
node_md_blocks{device="md0"} 248896
|
||||
node_md_blocks{device="md10"} 3.14159265e+08
|
||||
node_md_blocks{device="md127"} 3.12319552e+08
|
||||
node_md_blocks{device="md3"} 5.853468288e+09
|
||||
node_md_blocks{device="md4"} 4.883648e+06
|
||||
|
|
@ -496,6 +497,7 @@ node_md_blocks{device="md9"} 523968
|
|||
# HELP node_md_blocks_synced Number of blocks synced on device.
|
||||
# TYPE node_md_blocks_synced gauge
|
||||
node_md_blocks_synced{device="md0"} 248896
|
||||
node_md_blocks_synced{device="md10"} 3.14159265e+08
|
||||
node_md_blocks_synced{device="md127"} 3.12319552e+08
|
||||
node_md_blocks_synced{device="md3"} 5.853468288e+09
|
||||
node_md_blocks_synced{device="md4"} 4.883648e+06
|
||||
|
|
@ -506,6 +508,7 @@ node_md_blocks_synced{device="md9"} 523968
|
|||
# HELP node_md_disks Total number of disks of device.
|
||||
# TYPE node_md_disks gauge
|
||||
node_md_disks{device="md0"} 2
|
||||
node_md_disks{device="md10"} 2
|
||||
node_md_disks{device="md127"} 2
|
||||
node_md_disks{device="md3"} 8
|
||||
node_md_disks{device="md4"} 2
|
||||
|
|
@ -516,6 +519,7 @@ node_md_disks{device="md9"} 4
|
|||
# HELP node_md_disks_active Number of active disks of device.
|
||||
# TYPE node_md_disks_active gauge
|
||||
node_md_disks_active{device="md0"} 2
|
||||
node_md_disks_active{device="md10"} 2
|
||||
node_md_disks_active{device="md127"} 2
|
||||
node_md_disks_active{device="md3"} 8
|
||||
node_md_disks_active{device="md4"} 2
|
||||
|
|
@ -526,6 +530,7 @@ node_md_disks_active{device="md9"} 4
|
|||
# HELP node_md_is_active Indicator whether the md-device is active or not.
|
||||
# TYPE node_md_is_active gauge
|
||||
node_md_is_active{device="md0"} 1
|
||||
node_md_is_active{device="md10"} 1
|
||||
node_md_is_active{device="md127"} 1
|
||||
node_md_is_active{device="md3"} 1
|
||||
node_md_is_active{device="md4"} 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue