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

Getting UIDs instead of user names #302

Open
jmcastelo opened this issue Jun 5, 2024 · 1 comment
Open

Getting UIDs instead of user names #302

jmcastelo opened this issue Jun 5, 2024 · 1 comment

Comments

@jmcastelo
Copy link

We are configuring the exporter using: - name: "{{.ExeBase}};{{.Username}}".

And we have configured scraping in Prometheus such that we relabel the groupname source label with regex "(.*);(.*)" to get both processname and username labels. But the username label ends up referring to the UIDs, not the user names. We get for example: process1;1024.

Our system uses a centralized LDAP to manage accounts and the exporter runs on each node. With previous versions of the exporter we did not have this issue.

Any idea of what could be happening and how to get user names instead of UIDs?

@jmcastelo
Copy link
Author

After building the exporter manually the problem has been solved.
Apparently the ready made binary did not work for us.

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

1 participant