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

Monitoring only selected resource pool #253

Open
ppiskula opened this issue May 27, 2024 · 1 comment
Open

Monitoring only selected resource pool #253

ppiskula opened this issue May 27, 2024 · 1 comment

Comments

@ppiskula
Copy link

I am working with infrastructure built around shared Proxmox nodes, resources are separated via resource pools and I have access only to my pool. The cluster administrator created a user for pve-exporter, but it only has permissions to access my pool (/pool/<pool_name>) and not for the entire node (/). In exporter I have an error called "403 Forbidden: Permission check failed (/, Sys.Audit)".

Is there a current or planned option to monitor only the selected resource pool?

@znerol
Copy link
Member

znerol commented May 28, 2024

Thanks for this feature request. This seems like an interesting idea. The API documentation for the pools endpoint regrettably is quite sparse. But judging from the go-proxmox source, there should be a members field with a list of cluster resources available from the response. Hence, it might be possible to create a new collector based on the ClusterResourceCollector but aimed at a specific pool.

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