Skip to content

Commit 683e75f

Browse files
committed
Added new e2e output fixture including md201 which is in checking state and a the new state=check labeled metric for all other md
Signed-off-by: Christian Rohmann <[email protected]>
1 parent 95332f0 commit 683e75f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

collector/fixtures/e2e-output.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,7 @@ node_md_blocks{device="md12"} 3.886394368e+09
12101210
node_md_blocks{device="md120"} 2.095104e+06
12111211
node_md_blocks{device="md126"} 1.855870976e+09
12121212
node_md_blocks{device="md127"} 3.12319552e+08
1213+
node_md_blocks{device="md201"} 1.993728e+06
12131214
node_md_blocks{device="md219"} 7932
12141215
node_md_blocks{device="md3"} 5.853468288e+09
12151216
node_md_blocks{device="md4"} 4.883648e+06
@@ -1228,6 +1229,7 @@ node_md_blocks_synced{device="md12"} 3.886394368e+09
12281229
node_md_blocks_synced{device="md120"} 2.095104e+06
12291230
node_md_blocks_synced{device="md126"} 1.855870976e+09
12301231
node_md_blocks_synced{device="md127"} 3.12319552e+08
1232+
node_md_blocks_synced{device="md201"} 114176
12311233
node_md_blocks_synced{device="md219"} 7932
12321234
node_md_blocks_synced{device="md3"} 5.853468288e+09
12331235
node_md_blocks_synced{device="md4"} 4.883648e+06
@@ -1264,6 +1266,9 @@ node_md_disks{device="md126",state="spare"} 0
12641266
node_md_disks{device="md127",state="active"} 2
12651267
node_md_disks{device="md127",state="failed"} 0
12661268
node_md_disks{device="md127",state="spare"} 0
1269+
node_md_disks{device="md201",state="active"} 2
1270+
node_md_disks{device="md201",state="failed"} 0
1271+
node_md_disks{device="md201",state="spare"} 0
12671272
node_md_disks{device="md219",state="active"} 0
12681273
node_md_disks{device="md219",state="failed"} 0
12691274
node_md_disks{device="md219",state="spare"} 3
@@ -1296,6 +1301,7 @@ node_md_disks_required{device="md12"} 2
12961301
node_md_disks_required{device="md120"} 2
12971302
node_md_disks_required{device="md126"} 2
12981303
node_md_disks_required{device="md127"} 2
1304+
node_md_disks_required{device="md201"} 2
12991305
node_md_disks_required{device="md219"} 0
13001306
node_md_disks_required{device="md3"} 8
13011307
node_md_disks_required{device="md4"} 0
@@ -1306,66 +1312,87 @@ node_md_disks_required{device="md9"} 4
13061312
# HELP node_md_state Indicates the state of md-device.
13071313
# TYPE node_md_state gauge
13081314
node_md_state{device="md0",state="active"} 1
1315+
node_md_state{device="md0",state="check"} 0
13091316
node_md_state{device="md0",state="inactive"} 0
13101317
node_md_state{device="md0",state="recovering"} 0
13111318
node_md_state{device="md0",state="resync"} 0
13121319
node_md_state{device="md00",state="active"} 1
1320+
node_md_state{device="md00",state="check"} 0
13131321
node_md_state{device="md00",state="inactive"} 0
13141322
node_md_state{device="md00",state="recovering"} 0
13151323
node_md_state{device="md00",state="resync"} 0
13161324
node_md_state{device="md10",state="active"} 1
1325+
node_md_state{device="md10",state="check"} 0
13171326
node_md_state{device="md10",state="inactive"} 0
13181327
node_md_state{device="md10",state="recovering"} 0
13191328
node_md_state{device="md10",state="resync"} 0
13201329
node_md_state{device="md101",state="active"} 1
1330+
node_md_state{device="md101",state="check"} 0
13211331
node_md_state{device="md101",state="inactive"} 0
13221332
node_md_state{device="md101",state="recovering"} 0
13231333
node_md_state{device="md101",state="resync"} 0
13241334
node_md_state{device="md11",state="active"} 0
1335+
node_md_state{device="md11",state="check"} 0
13251336
node_md_state{device="md11",state="inactive"} 0
13261337
node_md_state{device="md11",state="recovering"} 0
13271338
node_md_state{device="md11",state="resync"} 1
13281339
node_md_state{device="md12",state="active"} 1
1340+
node_md_state{device="md12",state="check"} 0
13291341
node_md_state{device="md12",state="inactive"} 0
13301342
node_md_state{device="md12",state="recovering"} 0
13311343
node_md_state{device="md12",state="resync"} 0
13321344
node_md_state{device="md120",state="active"} 1
1345+
node_md_state{device="md120",state="check"} 0
13331346
node_md_state{device="md120",state="inactive"} 0
13341347
node_md_state{device="md120",state="recovering"} 0
13351348
node_md_state{device="md120",state="resync"} 0
13361349
node_md_state{device="md126",state="active"} 1
1350+
node_md_state{device="md126",state="check"} 0
13371351
node_md_state{device="md126",state="inactive"} 0
13381352
node_md_state{device="md126",state="recovering"} 0
13391353
node_md_state{device="md126",state="resync"} 0
13401354
node_md_state{device="md127",state="active"} 1
1355+
node_md_state{device="md127",state="check"} 0
13411356
node_md_state{device="md127",state="inactive"} 0
13421357
node_md_state{device="md127",state="recovering"} 0
13431358
node_md_state{device="md127",state="resync"} 0
1359+
node_md_state{device="md201",state="active"} 0
1360+
node_md_state{device="md201",state="check"} 1
1361+
node_md_state{device="md201",state="inactive"} 0
1362+
node_md_state{device="md201",state="recovering"} 0
1363+
node_md_state{device="md201",state="resync"} 0
13441364
node_md_state{device="md219",state="active"} 0
1365+
node_md_state{device="md219",state="check"} 0
13451366
node_md_state{device="md219",state="inactive"} 1
13461367
node_md_state{device="md219",state="recovering"} 0
13471368
node_md_state{device="md219",state="resync"} 0
13481369
node_md_state{device="md3",state="active"} 1
1370+
node_md_state{device="md3",state="check"} 0
13491371
node_md_state{device="md3",state="inactive"} 0
13501372
node_md_state{device="md3",state="recovering"} 0
13511373
node_md_state{device="md3",state="resync"} 0
13521374
node_md_state{device="md4",state="active"} 0
1375+
node_md_state{device="md4",state="check"} 0
13531376
node_md_state{device="md4",state="inactive"} 1
13541377
node_md_state{device="md4",state="recovering"} 0
13551378
node_md_state{device="md4",state="resync"} 0
13561379
node_md_state{device="md6",state="active"} 0
1380+
node_md_state{device="md6",state="check"} 0
13571381
node_md_state{device="md6",state="inactive"} 0
13581382
node_md_state{device="md6",state="recovering"} 1
13591383
node_md_state{device="md6",state="resync"} 0
13601384
node_md_state{device="md7",state="active"} 1
1385+
node_md_state{device="md7",state="check"} 0
13611386
node_md_state{device="md7",state="inactive"} 0
13621387
node_md_state{device="md7",state="recovering"} 0
13631388
node_md_state{device="md7",state="resync"} 0
13641389
node_md_state{device="md8",state="active"} 0
1390+
node_md_state{device="md8",state="check"} 0
13651391
node_md_state{device="md8",state="inactive"} 0
13661392
node_md_state{device="md8",state="recovering"} 0
13671393
node_md_state{device="md8",state="resync"} 1
13681394
node_md_state{device="md9",state="active"} 0
1395+
node_md_state{device="md9",state="check"} 0
13691396
node_md_state{device="md9",state="inactive"} 0
13701397
node_md_state{device="md9",state="recovering"} 0
13711398
node_md_state{device="md9",state="resync"} 1

0 commit comments

Comments
 (0)