update readme
This commit is contained in:
parent
76e28b9d7c
commit
38973f9406
28
readme.md
28
readme.md
@ -3,31 +3,33 @@ A small collection of scripts and mods for Proxmox Virtual Environment (PVE)
|
|||||||
|
|
||||||
If you find this helpful, a small donation is appreciated, [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K8XPMSEBERH3W).
|
If you find this helpful, a small donation is appreciated, [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K8XPMSEBERH3W).
|
||||||
|
|
||||||
## Node sensor readings view
|
## Node sensor & system information
|
||||||
|
|
||||||
(Tested compatibility: 7.x - 8.2)
|
(Tested compatibility: 7.x - 8.2)
|
||||||
|
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display sensor readings and system information in a flexible and readable manner. Supported are CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit) and fan speeds.
|
||||||
|

|
||||||
|
|
||||||
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. Supported are CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit) and fan speeds.
|
The modification includes the following steps:
|
||||||
|
|
||||||
The modification includes three main steps:
|
|
||||||
|
|
||||||
1. Create backups of the original files located at `/usr/share/pve-manager/js/pvemanagerlib.js` and `/usr/share/perl5/PVE/API2/Nodes.pm` in the `backup` directory relative to the script location.
|
1. Create backups of the original files located at `/usr/share/pve-manager/js/pvemanagerlib.js` and `/usr/share/perl5/PVE/API2/Nodes.pm` in the `backup` directory relative to the script location.
|
||||||
|
|
||||||
2. Add a new code to the `Nodes.pm` file that enables host system sensor readings using the `sensors` command.
|
2. Add a new code to the `Nodes.pm` file that enables host system sensor readings using the `sensors` command.
|
||||||
|
|
||||||
3. Modify the `pvemanagerlib.js` file to expand the space in the node status view, add new items that display the temperature information in Celsius for CPUs, NVMe drives, HDDs/SSDs and fan speeds (the actual item list depends on the sensor readings available during the installation). The view layout is also adjusted to no longer match the column number setting and always expands to the full width of the browser window. It is also possible to collapse the panel vertically.
|
3. Modify the `pvemanagerlib.js` file to expand the space in the node status view, add new items that display the temperature information in Celsius for CPUs, NVMe drives, HDDs/SSDs and fan speeds (the actual item list depends on the sensor readings available during the installation). The view layout is also adjusted to no longer match the column number setting and always expands to the full width of the browser window. It is also possible to collapse the panel vertically.
|
||||||
|
4. The script also restarts the `pveproxy` service to apply the changes.
|
||||||
The script provides two options: `install` and `uninstall`. The `install` option installs the modification, while the `uninstall` option removes it by copying the backup files to their original location. The script also restarts the `pveproxy` service to apply the changes.
|
|
||||||
|
|
||||||
For HDDs/SSDs readings to work, the kernel module *drivetemp* must be installed.
|
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
For HDDs/SSDs readings to work, the kernel module *drivetemp* must be installed.
|
||||||
```
|
```
|
||||||
apt-get install lm-sensors
|
apt-get install lm-sensors
|
||||||
wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-gui-sensors.sh
|
wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-gui-sensors.sh
|
||||||
bash pve-mod-gui-sensors.sh
|
bash pve-mod-gui-sensors.sh
|
||||||
```
|
```
|
||||||
Or use git clone.
|
The script provides the following options:
|
||||||
Then clear the browser cache to ensure all changes are visualized.
|
|Argument| Description|
|
||||||
|
|--|--|
|
||||||

|
|`install`|Installs the modification. <br>As a final step, you must clear the browser cache to ensure all changes are visualized.|
|
||||||
|
|`uninstall`|Removes the modifications by copying the backup files to their original location. <br>As a final step, you must clear the browser cache to ensure all changes are visualized.|
|
||||||
|
|`save-sensors-data`|Saves all data from the `sensors` command, so that they can be shared for debugging|
|
||||||
|
|
||||||
Adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.
|
Adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user