Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Explain optional Proxmox refusals without widening access
pulse-triage[bot]f8f3c1298de1
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex ded3f56762..3439a3109b 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -1926,6 +1926,10 @@ Inspect the existing denial and compare it with the relevant read privileges:- On PVE 8, `VM.Monitor` is the legacy guest-agent fallback, not an extrarequirement for PVE 9+.+An intentionally denied optional read is not an access repair to perform. See+[repeated optional-check refusals](#optional-proxmox-checks-return-403-repeatedly)+before changing a role or testing the endpoint again.+The built-in `PVEAuditor` role cannot be modified. Where a read privilege isactually missing, use the existing narrow custom role and matching scopeduser/token ACLs. **Do not disable privilege separation, grant Administrator or@@ -1948,6 +1952,35 @@ allowlist change or agent restart outside backups, following the guest OS'sdocumentation. See [VM Disk Monitoring](VM_DISK_MONITORING.md) for the distinctpermissions and backup safety boundary.+### Optional Proxmox checks return 403 repeatedly++A token can read ordinary inventory while an optional endpoint returns+`403 Forbidden`. Identify the endpoint from an **existing** redacted error;+HTTP 403 alone does not identify the missing privilege or mean the whole+connection has failed.++| Denied request | Reading affected | Keep the boundary |+| --- | --- | --- |+| `GET /nodes/{node}/apt/update` | Pending package updates | `Sys.Modify` is broader than read-only monitoring; an unavailable badge is a valid choice. See [pending-update access](#proxmox-pending-update-access). |+| `/nodes/{node}/qemu/{vmid}/agent/file-read` for `/proc/meminfo` | Linux guest-memory detail | On PVE 9+, `VM.GuestAgent.FileRead` is separate from inventory and guest-audit access. Keep it denied if file reads are not intended. |++Repeated refusals can be a polling-backoff defect, as reported in+[#3546](https://github.com/rcourtman/Pulse/issues/3546), rather than a reason to+grant more access. Lowering the log level or using **Pause Stream** does not+reduce API requests. Do not rerun setup, rotate the token, disable privilege+separation or add permissions just to silence them. Do not send manual+guest-agent probes; keep the [backup safety boundary](VM_DISK_MONITORING.md#backup-safety).++An unavailable reading is not measured zero. A retained update count and its+last successful check time are historical evidence, not a fresh successful+check on every poll. A denied guest-memory read does not by itself establish+memory pressure or invalidate an independently collected memory source.++Use the Pulse and Proxmox versions, endpoint, status and original times already+available when reporting repeated refusals. Keep private names, full URLs,+credentials and raw logs out of the report; no new request or diagnostics+export is needed just to demonstrate an existing denial.+### Proxmox pending-update accessA successful inventory check does not establish access to the package-update list.@@ -1963,13 +1996,15 @@ unavailable update check is a valid choice; unavailable is not a confirmed zero.Older Pulse wording that says “Sys.Audit permission required” does not identify theactual missing privilege.-For diagnosis, compare the affected node and endpoint using the exact credential-configured in Pulse, not an administrator's browser session. Keep TLS verification-enabled and credentials private; report only the HTTP status and a redacted denial-or whether `data` is empty/nonempty. Do not use POST, Refresh or Upgrade as a test.-If the matching GET succeeds but Pulse remains unavailable after its next update-check, report the Pulse version and displayed check time/status separately; API-success alone does not confirm the Pulse display has recovered.+For diagnosis, use the existing result for the affected node and the credential+configured in Pulse, not an administrator's browser session. If the denial is+intentional, keep the token unchanged; do not repeat the GET merely to confirm+it. Keep TLS verification enabled and credentials private; report only the HTTP+status and a redacted denial. Do not use POST, Refresh or Upgrade as a test.+If an already observed matching GET succeeds but Pulse remains unavailable+after its next update check, report the Pulse version and displayed check+time/status separately; API success alone does not confirm the Pulse display+has recovered.### Recovery Modediff --git a/frontend-modern/public/docs/TROUBLESHOOTING.md b/frontend-modern/public/docs/TROUBLESHOOTING.mdindex ded3f56762..3439a3109b 100644--- a/frontend-modern/public/docs/TROUBLESHOOTING.md+++ b/frontend-modern/public/docs/TROUBLESHOOTING.md@@ -1926,6 +1926,10 @@ Inspect the existing denial and compare it with the relevant read privileges:- On PVE 8, `VM.Monitor` is the legacy guest-agent fallback, not an extrarequirement for PVE 9+.+An intentionally denied optional read is not an access repair to perform. See+[repeated optional-check refusals](#optional-proxmox-checks-return-403-repeatedly)+before changing a role or testing the endpoint again.+The built-in `PVEAuditor` role cannot be modified. Where a read privilege isactually missing, use the existing narrow custom role and matching scopeduser/token ACLs. **Do not disable privilege separation, grant Administrator or@@ -1948,6 +1952,35 @@ allowlist change or agent restart outside backups, following the guest OS'sdocumentation. See [VM Disk Monitoring](VM_DISK_MONITORING.md) for the distinctpermissions and backup safety boundary.+### Optional Proxmox checks return 403 repeatedly++A token can read ordinary inventory while an optional endpoint returns+`403 Forbidden`. Identify the endpoint from an **existing** redacted error;+HTTP 403 alone does not identify the missing privilege or mean the whole+connection has failed.++| Denied request | Reading affected | Keep the boundary |+| --- | --- | --- |+| `GET /nodes/{node}/apt/update` | Pending package updates | `Sys.Modify` is broader than read-only monitoring; an unavailable badge is a valid choice. See [pending-update access](#proxmox-pending-update-access). |+| `/nodes/{node}/qemu/{vmid}/agent/file-read` for `/proc/meminfo` | Linux guest-memory detail | On PVE 9+, `VM.GuestAgent.FileRead` is separate from inventory and guest-audit access. Keep it denied if file reads are not intended. |++Repeated refusals can be a polling-backoff defect, as reported in+[#3546](https://github.com/rcourtman/Pulse/issues/3546), rather than a reason to+grant more access. Lowering the log level or using **Pause Stream** does not+reduce API requests. Do not rerun setup, rotate the token, disable privilege+separation or add permissions just to silence them. Do not send manual+guest-agent probes; keep the [backup safety boundary](VM_DISK_MONITORING.md#backup-safety).++An unavailable reading is not measured zero. A retained update count and its+last successful check time are historical evidence, not a fresh successful+check on every poll. A denied guest-memory read does not by itself establish+memory pressure or invalidate an independently collected memory source.++Use the Pulse and Proxmox versions, endpoint, status and original times already+available when reporting repeated refusals. Keep private names, full URLs,+credentials and raw logs out of the report; no new request or diagnostics+export is needed just to demonstrate an existing denial.+### Proxmox pending-update accessA successful inventory check does not establish access to the package-update list.@@ -1963,13 +1996,15 @@ unavailable update check is a valid choice; unavailable is not a confirmed zero.Older Pulse wording that says “Sys.Audit permission required” does not identify theactual missing privilege.-For diagnosis, compare the affected node and endpoint using the exact credential-configured in Pulse, not an administrator's browser session. Keep TLS verification-enabled and credentials private; report only the HTTP status and a redacted denial-or whether `data` is empty/nonempty. Do not use POST, Refresh or Upgrade as a test.-If the matching GET succeeds but Pulse remains unavailable after its next update-check, report the Pulse version and displayed check time/status separately; API-success alone does not confirm the Pulse display has recovered.+For diagnosis, use the existing result for the affected node and the credential+configured in Pulse, not an administrator's browser session. If the denial is+intentional, keep the token unchanged; do not repeat the GET merely to confirm+it. Keep TLS verification enabled and credentials private; report only the HTTP+status and a redacted denial. Do not use POST, Refresh or Upgrade as a test.+If an already observed matching GET succeeds but Pulse remains unavailable+after its next update check, report the Pulse version and displayed check+time/status separately; API success alone does not confirm the Pulse display+has recovered.### Recovery Modediff --git a/scripts/tests/test_pve_backup_troubleshooting_docs.py b/scripts/tests/test_pve_backup_troubleshooting_docs.pyindex 8bbd0cfc72..32fcc24811 100644--- a/scripts/tests/test_pve_backup_troubleshooting_docs.py+++ b/scripts/tests/test_pve_backup_troubleshooting_docs.py@@ -81,6 +81,39 @@ class BackupAgeEvaluationDocsTest(unittest.TestCase):class PVEBackupTroubleshootingDocsTest(unittest.TestCase):+ def test_optional_denial_help_distinguishes_endpoints_without_more_requests(self):+ trouble = (ROOT / "docs/TROUBLESHOOTING.md").read_text()+ section = trouble.split("### Optional Proxmox checks return 403 repeatedly\n", 1)[1].split("\n### ", 1)[0]+ text = " ".join(section.split())+ for distinction in ("existing", "HTTP 403 alone does not identify",+ "GET /nodes/{node}/apt/update", "Sys.Modify",+ "/nodes/{node}/qemu/{vmid}/agent/file-read", "/proc/meminfo",+ "VM.GuestAgent.FileRead", "separate from inventory and guest-audit access",+ "polling-backoff defect", "does not reduce API requests",+ "not measured zero", "last successful check time",+ "independently collected memory source", "no new request or diagnostics"):+ self.assertIn(distinction, text)+ for boundary in ("Do not rerun setup", "rotate the token", "disable privilege",+ "Do not send manual", "VM_DISK_MONITORING.md#backup-safety",+ "credentials and raw logs out of the report"):+ self.assertIn(boundary, text)+ self.assertNotIn("```", section, "reuse existing denials, not a credential-bearing probe")+ permission_help = trouble.split("### Check Permissions (Proxmox)\n", 1)[1].split("\n### ", 1)[0]+ self.assertIn("#optional-proxmox-checks-return-403-repeatedly", permission_help)+ self.assertEqual((ROOT / "docs/TROUBLESHOOTING.md").read_bytes(),+ (ROOT / "frontend-modern/public/docs/TROUBLESHOOTING.md").read_bytes())++ def test_pending_update_help_keeps_intentional_denials_out_of_probe_recipes(self):+ trouble = (ROOT / "docs/TROUBLESHOOTING.md").read_text()+ section = trouble.split("### Proxmox pending-update access\n", 1)[1].split("\n### ", 1)[0]+ text = " ".join(section.split())+ for boundary in ("use the existing result", "keep the token unchanged",+ "do not repeat the GET", "Keep TLS verification enabled",+ "Do not use POST, Refresh or Upgrade as a test",+ "API success alone does not confirm the Pulse display has recovered"):+ self.assertIn(boundary, text)+ self.assertNotIn("```", section)+def test_guest_disk_permission_help_preserves_intended_access_and_backup_safety(self):guide = (ROOT / "docs/VM_DISK_MONITORING.md").read_text()section = guide.split("## ⚙️ Permissions\n", 1)[1].split("\n## ", 1)[0]