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

err="Unable to extract names using regexp" #17

Open
alex0com opened this issue Dec 4, 2023 · 2 comments
Open

err="Unable to extract names using regexp" #17

alex0com opened this issue Dec 4, 2023 · 2 comments

Comments

@alex0com
Copy link

alex0com commented Dec 4, 2023

Hi,
We've been using the rdma/opensm for the longest time and a lot of the monitoring tools haven't worked with it. We're playing around with MOFED OpenSM and thought I'd give this one a try but I'm still getting similar errors when starting infiniband_exporter and querying the data. I'm not sure what's causing the regex to not work on these.

caller=ibnetdiscover.go:178 level=error collector=ibnetdiscover msg="Unable to parse names" err="Unable to extract names using regexp" type=SW guid=0x0002c9020040f160 line="SW 478 22 0x0002c9020040f160 4x QDR 'Infiniscale-IV Mellanox Technologies'" caller=ibnetdiscover.go:98 level=error collector=ibnetdiscover msg="Error executing ibnetdiscover" err="Unable to extract names using regexp" caller=infiniband_exporter.go:53 level=error msg="Error collecting ports with ibnetdiscover" err="Unable to extract names using regexp"

opensm-5.7.2.MLNX20201014
infiniband-diags-5.6.0.MLNX20200211

Thanks for any help!

@3th1nk
Copy link
Contributor

3th1nk commented Dec 5, 2023

The error reason is that the name contains spaces, which has been resolved in v0.6.0

@alex0com alex0com closed this as completed Dec 5, 2023
@alex0com alex0com reopened this Dec 5, 2023
@alex0com
Copy link
Author

alex0com commented Dec 5, 2023

Hi, I just tried v0.6.0 (infiniband_exporter-0.6.0.linux-amd64) but it looks to have the same error

ts=2023-12-05T17:23:30.701Z caller=ibnetdiscover.go:178 level=error collector=ibnetdiscover msg="Unable to parse names" err="Unable to extract names using regexp" type=SW guid=0x0002c9020040f160 line="SW 478 22 0x0002c9020040f160 4x QDR 'Infiniscale-IV Mellanox Technologies'"
ts=2023-12-05T17:23:30.702Z caller=ibnetdiscover.go:98 level=error collector=ibnetdiscover msg="Error executing ibnetdiscover" err="Unable to extract names using regexp"
ts=2023-12-05T17:23:30.702Z caller=infiniband_exporter.go:53 level=error msg="Error collecting ports with ibnetdiscover" err="Unable to extract names using regexp"

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants