Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Gluster exporter errors #49

Open
ghost opened this issue Mar 8, 2021 · 2 comments
Open

Gluster exporter errors #49

ghost opened this issue Mar 8, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2021

I am getting the following error when trying to use gluster exporter

An error has occurred during metrics gathering:
collected metric gluster_up gauge:<value:1 > was collected before with the same name and label values

tried to execute [volume info] and got error: exit status 1" source="gluster_client.go:23
couldn't parse xml volume info: exit status 1" source="main.go:211

tried to execute [peer status] and got error: exit status 1" source="gluster_client.go:23
couldn't parse xml of peer status: exit status 1" source="main.go:248

tried to execute [volume status all detail] and got error: exit status 1" source="gluster_client.go:23
couldn't parse xml of peer status: exit status 1" source="main.go:305

Please help

@Ghaith157
Copy link

Your exporter user does not have permission to gluster, you need to set gluster_exporter user as root.

@ghost
Copy link
Author

ghost commented Mar 16, 2021

Your exporter user does not have permission to gluster, you need to set gluster_exporter user as root.
Thanks, that was my problem, it's fixed now.

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

No branches or pull requests

1 participant