henrygd / beszel

Lightweight server monitoring hub with historical data, docker stats, and alerts.
MIT License
2.85k stars 89 forks source link

[Feature Request] Add PVE stats for VMs and LXCs #281

Open NightHawkATL opened 1 week ago

NightHawkATL commented 1 week ago

I would like to see stats on Proxmox VMs and LXCs similar to how it is done for Docker containers to see what individual VM or LXC resources are from the total CPU and RAM use. I would also like to see a list of them and have the option to get a notification if the VM or LXC goes down even though the host may still be up.

I have been using Beszel for a few months since DBTech did a video on it and I have really liked it! I decided to deploy it on about 40+ NUCs running Proxmox that I deployed for my company. It would be great to get the extra stat info requested to help me monitor and troubleshoot them remotely (better than I am now).

henrygd commented 1 week ago

Good idea. I think Proxmox has an API to get resource usage, right?

I don't actually run Proxmox at the moment so it will probably be a bit before I can look into it.

NightHawkATL commented 1 week ago

Good idea. I think Proxmox has an API to get resource usage, right?

I don't actually run Proxmox at the moment so it will probably be a bit before I can look into it.

Someone made an HACS Home Assistant integration utilizing their API. You might be able to see how they did it by checking out their repo. https://github.com/dougiteixeira/proxmoxve

If you ever dive into it, ping me and I will give it a try for you and see if I can help you along with testing.