dan mcweeney
1f6b5aee39
#219 - add fixes for @samzhang111 super token
8 years ago
dan mcweeney
00c9a88a55
Fixes #219 - use the default to catch personalities that are unknown
...
Assumes all raid configurations start with raid and that anything
else is unknown.
8 years ago
Ed Schouten
9749c2c0b3
mdstat: Fix parsing of RAID0 lines that contain additional attributes.
...
We seem to have a small number of Linux servers here that have lines in
/proc/mdstat that cannot be parsed by the node exporter, due to them
containing attributes that are not matched by the regular expression
("super 1.2").
Extend the regular expression to skip this data, just like we do for all
of the other status lines.
8 years ago
Ben Kochie
64b82596ef
Fix mdadm collector for resync=PENDING.
...
Add fix for mdadm devices in state `resync=PENDING`.
* Update test and fixture.
8 years ago
Ben Kochie
8c809cd29a
Add additional test for mdadm_linux collector
9 years ago
Ben Kochie
a09bbaacd1
Add support for raid0 devices in mdadm_linux collector.
9 years ago
Tobias Schmidt
e2163db0f7
Document os support of each collector
9 years ago
afefelov
00e1db52bb
Fix mdstat for devices in delayed resync state
...
In some raid configurations resync will be delayed for devices allocated
on the same physiclal units.
Fixes #170 .
9 years ago
Brian Brazil
2f0d697f8c
Do a make format run.
9 years ago
Matthias Rampke
788ac9a859
Rearrange fixtures to match "real" proc and sys.
...
And add some missing fixtures for default collectors, even if they're
not read by tests yet.
9 years ago
Matthias Rampke
2d0d72b97d
Add license headers to all code files.
9 years ago
Mikhail Salosin
741fb66e1c
Resolve go vet problems
...
Issue prometheus/node_exporter#95
9 years ago
Jonas Große Sundrup
9f2aa24e12
Add collector for metrics of linux software raids
9 years ago