mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-08-20 18:33:52 -07:00
fixed disk status - renamed from recovering to replacing
This commit is contained in:
parent
55864873d7
commit
847e8ca954
|
@ -57,4 +57,8 @@ md120 : active linear sda1[1] sdb1[0]
|
|||
md101 : active (read-only) raid0 sdb[2] sdd[1] sdc[0]
|
||||
322560 blocks super 1.2 512k chunks
|
||||
|
||||
md42 : active raid1 sdb2[2](R) sdc[1] sda2[0]
|
||||
195310144 blocks [2/2] [UU]
|
||||
[=>...................] recovery = 8.5% (16775552/195310144) finish=17.0min speed=259783K/sec
|
||||
|
||||
unused devices: <none>
|
||||
|
|
|
@ -153,7 +153,7 @@ func (c *mdadmCollector) Update(ch chan<- prometheus.Metric) error {
|
|||
prometheus.GaugeValue,
|
||||
float64(mdStat.DisksRecovering),
|
||||
mdStat.Name,
|
||||
"recovering",
|
||||
"replacing",
|
||||
)
|
||||
ch <- prometheus.MustNewConstMetric(
|
||||
disksDesc,
|
||||
|
|
Loading…
Reference in a new issue