Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One more "invalid raid0 status line" #618

Closed
adepasquale opened this issue Jul 20, 2017 · 2 comments
Closed

One more "invalid raid0 status line" #618

adepasquale opened this issue Jul 20, 2017 · 2 comments
Labels

Comments

@adepasquale
Copy link
Contributor

Re: issue #219, I am experiencing a similar issue related to mdadm raid0 parsing regexp

This is the output of /proc/mdstat:

Personalities : [raid0]
md126 : active raid0 sdb[1] sdc[0]
      1855870976 blocks super external:/md127/0 128k chunks
      
md127 : inactive sdb[1](S) sdc[0](S)
      6306 blocks super external:imsm
       
unused devices: <none>

I am running node_exporter Docker image version 0.14.0 inside CoreOS (Container Linux):
Linux hostname 4.11.9-coreos #1 SMP Thu Jul 6 00:54:42 UTC 2017 x86_64 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz GenuineIntel GNU/Linux

If you are interested, I could submit a pull request as simple as something accounting for external:/md127/0 in the status line.

@SuperQ SuperQ added the bug label Jul 20, 2017
@SuperQ
Copy link
Member

SuperQ commented Jul 20, 2017

Ahh, great find. Yes, submitting a PR would be great.

@SuperQ
Copy link
Member

SuperQ commented Jul 20, 2017

Closed via #619

@SuperQ SuperQ closed this as completed Jul 20, 2017
tamcore pushed a commit to gitgrave/node_exporter that referenced this issue Oct 22, 2024
Use `TrimSuffix` instead of `TrimRight` in cases where an exact suffix
string needs to be removed, not all occurrences of all characters in a
specified cutset.

Fixes: prometheus#507

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants