Plugin allowing the management of a Proxmox server (a node) or a Proxmox cluster (several nodes in the same cluster), in other words one and only one Proxmox datacenter. It is possible to get all resources (nodes, vm, lxc, storage) and all their properties (status, memory, CPU, disk, IP address, up time, snapshots list…). The plugin can also start, stop vm and containers and take snapshots and backups. It also has a specific health page summarizing all the information of your devices.
Component | Version |
---|---|
Debian | Bullseye(11) & Bookworm(12) |
Jeedom | >= 4.4 |
Proxmox | >= 8.2 |
In order to use the plugin, you must download, install and activate it like any Jeedom plugin.
Tip
It is recommended to create a local user dedicated to Jeedom and that is what is documented here, other configurations are possible of course as long as Jeedom has a user having access to Proxmox resources that you want to monitor.
Creating a Proxmox user will not be documented in detail here, just the main information, please use the official Proxmox documentation for more details.
This configuration is done on the “datacenter” in the Proxmox interface, menu “Permissions”
In the Permissions>Users menu, click on “Add” and complete the following screen:
Important
Select the realm “Proxmox VE authentication server” otherwise you will not be able to choose the password here.
Remember the username and password chosen, this will be configured in the plugin.
We have created a new user under Proxmox but this one has no access yet.
In the main menu “Permissions”, click on “Add” then “User permission” and fill in the following screen according to the permissions you want to grant to Jeedom (see the Proxmox documentation for more details):
It is not recommended to give the “Administrator” role to the “Jeedom” user; the minimum privileges required for all functions of the plugin to work are as follows:
Privileges | Node: info | Node: actions | KVM & LXC: infos | KVM & LXC: actions | KVM & LXC: backup & snapshot | Storage: infos |
---|---|---|---|---|---|---|
Datastore.Allocate | required | |||||
Datastore.AllocateSpace | required | |||||
Datastore.Audit | required | required | ||||
Sys.Audit | required | required | ||||
Sys.Modify | required | |||||
Sys.PowerMgmt | required | |||||
VM.Monitor | required | |||||
VM.Audit | required | required | ||||
VM.Backup | required | |||||
VM.PowerMgmt | required | |||||
VM.Snapshot | required |
You will find more information here: https://pve.proxmox.com/wiki/User_Management
The following information must be entered in the plugin configuration:
You can check if the configuration of the plugin is correct thanks to the health page (menu Analysis > Health)
If the connection is successful, the version of your Proxmox server will be displayed.
You can also configure the object in which the device will be created to not have to move them afterwards. The plugin will attempt to assign the parent to the device unless a device with the same name already exists for this object.
Finally, you can choose the information refresh time, by default at 30s.
You can also activate the panel for the dashboard which will be accessible via the Home menu
The panel provide a lot of information, it offers a global view of all proxmox resources (containers, virtual machines and storage spaces) organized by nodes. It is possible to perform all actions on the VMs directly from the panel and the information is updated in real time.
As soon as the plugin configuration is complete, the daemon should start and will try to connect to Proxmox according to the configured delay in order to synchronize the information.
All resources to which the plugin has access will be automatically created in Jeedom and activated, it is not possible to create device manually. The name of the device cannot be modified under Jeedom, it will always correspond to the name under Proxmox. A device will never be automatically deleted but it will be deactivated.
It is possible to do a manual synchronization via the button in the device page.
After an action has been executed (taking a snapshot or restarting a machine for example), the status of the device will also be automatically updated.
These devices have several info commands giving the up time, CPU, disk and memory usage as well as information on the number and type of CPU and the version of the kernel used. The following action commands are also available:
Plusieurs commandes info existent donnant entre autre le statut, le nombre de CPU et leur utilisation, la mémoire totale et l’utilisation, le temps d’activité, les adresses IPv4 et IPv6.
Tip
Pour remonter les adresses IP, il est nécessaire d’installer l’agent Proxmox sur les VMs et de l’activer (voir documentation Proxmox). Cet agent assurera aussi un état stable de votre VM lors des sauvegardes et snapshots.
Les commandes actions suivantes sont également disponibles:
Name | Description | Format | Default value |
---|---|---|---|
storage | Backup location | The name of the storage resource that must be configured as destination for ‘backup’ content and be ‘available’. Be careful to respect the case. | By default, the first storage meeting the criteria is used. |
mode | Backup mode | possible values are: snapshot , suspend , stop |
snapshot |
compress | Backup compression | possible values are: 0 , gzip , lzo , zstd |
lzo |
mailnotification | Specifies when to send a notification | possible values are: always , failure |
always |
remove | Deletes old backups if there are more than the maximum configured for the chosen storage (see Proxmox configuration) | possible values are: 0 , 1 |
1 |
Tip
Support of Zstandard (zstd) for compression is available from version 6.2 of Proxmox.
Info commands give the disk usage as well as the status of the device.
It is also possible to see the type of content (backup, iso, disks of vms …); this information is useful when using the “Backup” command of virtual machines.
If you have a problem, start by reading the latest plugin-related topics on community.
If despite this you do not find an answer to your question, do not hesitate to create a new topic, with the tag of the plugin (plugin-proxmox).
At a minimum, you will need to provide:
Preformatted Text
(button </>
on community), no files!