mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-01 10:22:08 +00:00
Keep guest services off PBS hosts, refuse only known PBS in PVE scripts and follow the menu conventions
- On a PBS host the Monitor no longer starts the node metrics and VM prewarmers, the LXC update scheduler, the managed installs detector or the app update emitter, which read guests and PVE metrics that do not exist there - pmx_require_pve refuses only a host known to be PBS, so an unreadable package list leaves the PVE scripts working as before - The PBS menu numbers its options, shows the tables proxmox-backup-manager prints instead of raw JSON, and says Goodbye on exit - The PBS update asks to press Enter before returning - Spanish: Datastores de PBS
This commit is contained in:
@@ -3850,6 +3850,13 @@ class PollingCollector:
|
||||
return
|
||||
self._last_managed_check = now
|
||||
|
||||
try:
|
||||
from pbs_manager import is_pbs_host
|
||||
if is_pbs_host():
|
||||
return # a Proxmox Backup Server has no guests or integrations to track
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
try:
|
||||
import managed_installs
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user