question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

permissions for audituser unclear

See original GitHub issue

first of: i can run the exporter successfully from a secondary machine against my single proxmox node using the root@pam user account, so i confirmed the exporter (using docker) works for me.

i’ve created a pve user through the gui: metrics@pve i then added the the following roles for the list of paths: Screenshot_20211203_233757

however, i am getting an exception with a 403. i cannot deduce what role/permission i seem to be missing.

can anybody help?

Exception thrown while rendering view
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pve_exporter/http.py", line 96, in view
    return view_registry[endpoint](**params)
  File "/usr/lib/python3.8/site-packages/pve_exporter/http.py", line 38, in on_pve
    output = collect_pve(self._config[module], target, self._collectors)
  File "/usr/lib/python3.8/site-packages/pve_exporter/collector.py", line 332, in collect_pve
    return generate_latest(registry)
  File "/usr/lib/python3.8/site-packages/prometheus_client/exposition.py", line 107, in generate_latest
    for metric in registry.collect():
  File "/usr/lib/python3.8/site-packages/prometheus_client/registry.py", line 83, in collect
    for metric in collector.collect():
  File "/usr/lib/python3.8/site-packages/pve_exporter/collector.py", line 45, in collect
    for entry in self._pve.cluster.status.get():
  File "/usr/lib/python3.8/site-packages/proxmoxer/core.py", line 105, in get
    return self(args)._request("GET", params=params)
  File "/usr/lib/python3.8/site-packages/proxmoxer/core.py", line 90, in _request
    raise ResourceException("{0} {1}: {2} - {3}".format(
proxmoxer.core.ResourceException: 403 Forbidden: Permission check failed (/, Sys.Audit) - b'{"data":null}'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
whysthatsocommented, Dec 4, 2021

maybe because of the fact that i am running a single node setup?

would you mind me putting up a pr with a small doc change explicitly stating this kind of needed permission configuration?

0reactions
znerolcommented, Dec 6, 2021

Merged, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 SharePoint Online Permissions Best Practices - CLIMB
SharePoint Online permissions can be a bit confusing. ... To audit user access in SharePoint Online, go to the Site Settings page and...
Read more >
Syntax question for assigning an existing user to a login ...
Now that I already have AuditUser defined with all necessary permissions, I want to create another similar login.
Read more >
Verifying Security Access with Auditing - 11g Release 2 (11.2)
In standard auditing, you audit SQL statements, privileges, schema objects, and network activity ... You can audit user activity in a multitier environment....
Read more >
Audit User Activity via API - Bitbucket - Atlassian Community
Solved: I'd like to generate reports that combine user activity from BitBucket, AWS, and a few other services. How can I get a...
Read more >
Active Directory Auditing Guidelines - Netwrix Blog
Learn how to set up effective Active Directory auditing so you don't miss critical changes and user actions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found