A small collection of scripts and mods for Proxmox Virtual Environment (PVE)
If you find this helpful, a small donation is appreciated, . @Meliox
(Tested compatibility: 9.x. Using older version (7.x-8.x), use git version from Apr 6th 2025)
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display sensor readings in a flexible and readable manner. The following readings are possible:
- CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit), fan speeds, ram temperatures via lm-sensors. Note: Hdds require kernel module drivetemp module installed.
- UPS information via Network Monitoring Tool
- Motherboard information or system information via dmidecode
The modification involves the following steps:
- Backup original files in the home directory/backup
/usr/share/pve-manager/js/pvemanagerlib.js/usr/share/perl5/PVE/API2/Nodes.pm
- Patch
Nodes.pmto enable readings. - Modify
pvemanagerlib.jsto:- Expand the node status view to full browser width.
- Add reading (depending on & selections).
- Allow collapsing the panel vertically.
- Restart the
pveproxyservice to apply changes.
The script provides three options:
| Option | Description |
|---|---|
install |
Apply the modification. |
uninstall |
Restore original files from backups. |
save-sensors-data |
Save a local copy of detected sensor data for reference or troubleshooting. |
Notes:
- UPS support in multi-node setups require identical login credentials across nodes. This has not been fully tested.
- Proxmox upgrades may overwrite modified files; reinstallation of this mod could be required.
Instructions be performed as 'root', as normal users do not have access to the files.
apt-get install lm-sensors
# lm-sensors must be configured, run below to configure your sensors, apply temperature offsets. Refer to lm-sensors manual for more information.
sensors-detect
wget https://raw.githubusercontent.com/keitetran/PVE-mods/refs/heads/main/pve-mod-gui-sensors.sh
bash pve-mod-gui-sensors.sh install
# Then clear the browser cache to ensure all changes are visualized.
Additionally, adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.
(Tested compatibility: 7.x - 8.3.5) This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) which deactivates the subscription nag screen.
The modification includes two main steps:
- Create backups of the original files in the
backupdirectory relative to the script location. - Modify code.
The script provides three options:
| Option | Description |
|---|---|
install |
Installs the modification by applying the necessary changes. |
uninstall |
Removes the modification by restoring the original files from backups. |
Instructions be performed as 'root', as normal users do not have access to the files.
wget https://raw.githubusercontent.com/keitetran/PVE-mods/refs/heads/main/pve-mod-nag-screen.sh
bash pve-mod-nag-screen.sh install
(Tested compatibility: 7.x - 8.3.5)
This script updates all running Proxmox containers, skipping specified excluded containers, and generates a separate log file for each container. The script first updates the Proxmox host system, then iterates through each container, updates the container, and reboots it if necessary. Each container's log file is stored in $log_path and the main script log file is named container-upgrade-main.log.
wget https://raw.githubusercontent.com/keitetran/PVE-mods/refs/heads/main/updateallcontainers.sh
Or use git clone.
Can be added to cron for e.g. monthly update: 0 6 1 * * /root/scripts/updateallcontainers.sh