language
update
keyboard_arrow_up
language

Description

Plugin for managing a Proxmox server (a node) or a Proxmox cluster (multiple nodes in the same cluster)—in other words, one and only one Proxmox datacenter. It is possible to retrieve all resources (nodes, VMs, storage, etc.) and all their properties (status, memory, CPU, disk, IP address, uptime, list of snapshots, etc.) The plugin also allows you to start and stop VMs and containers, as well as take snapshots and backups. It also features a dedicated health page that summarizes all the information about your devices.

Supported Versions

Component Version
Debian Bullseye(11) & Bookworm(12)
Jeedom >= 4.4
Proxmox >= 8.2

Installation

To use the plugin, you must download, install, and activate it just like any other Jeedom plugin.

Proxmox User Configuration

Tip

It is recommended that you create a local user specifically for Jeedom, and that is what is documented here. Of course, other configurations are possible as long as Jeedom has a user with access to the Proxmox resources you want to monitor.

Creating a Proxmox user will not be covered in detail here; only the main points will be covered. It is best to refer to the official Proxmox documentation for details.

This configuration is done on the “datacenter” in the Proxmox interface, under the “Permissions” menu

User Creation

In the Permissions > Users menu, click “Add” and fill out the following screen:

Proxmox user

Important

Select the “Proxmox VE authentication server” realm; otherwise, you will not be able to choose a password here.

Make a note of the username and password you chose; you’ll need to enter them when configuring the plugin.

Permission Assignment

We created a new user in Proxmox, but this user still doesn’t have any access.

In the “Permissions” main menu, click “Add,” then “User permission,” and fill out the next screen according to the permissions you want to grant to Jeedom (see the Proxmox documentation for more details):

Proxmox permissions

It is not recommended to assign the “Administrator” role to the “Jeedom” user; the minimum privileges required for all plugin features to function are as follows:

Permissions Node: Info Node: Actions KVM & LXC: Info KVM & LXC: Actions KVM & LXC: Backup & Snapshot Storage: Info
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  

To limit access to only what is strictly necessary, you must create a new custom role (go to the “Permissions” menu > “Roles”); give it a name and grant the privileges listed above. You can then assign this role to the user via the “Permissions” menu (instead of the “Administrator” role).

You can find more information here: https://pve.proxmox.com/wiki/User_Management

Plugin configuration

You must enter the following information in the plugin’s configuration:

  • Your server’s IP address (or that of one of the cluster nodes, if you have multiple). You can configure a comma-separated list of IP addresses for each node in the same cluster or data center.
  • a port that is different from the default port (8006)
  • a username and password
  • the user authentication realm, which is different from “pve” (=”Proxmox VE authentication server,” the default realm for users created locally on Proxmox; see the Proxmox documentation)

Plugin configuration

You can check whether the plugin is configured correctly using the Health page (Analysis > Health menu)

Health plugin

If the connection is successful, the version of your Proxmox server will be displayed.

You can also configure the object in which the devices will be created so you don’t have to move them later. The plugin will attempt to assign the parent to the device unless a device with the same name already exists for that object.

Finally, you can choose the refresh interval for the information, which is set to 30 seconds by default.

You can also enable the dashboard panel, which will be accessible via the Home menu

Menu panel

Panel

The dashboard is very comprehensive, offering a complete overview of all Proxmox resources (containers, virtual machines, and storage spaces) organized by nodes. You can perform all actions on the VMs directly from the dashboard, and the information is updated in real time.

Panel

How the plugin works

Once the plugin configuration is complete, the daemon should start and attempt to connect to Proxmox at the configured interval to synchronize the information.

All devices accessible to the plugin will be automatically created in Jeedom and enabled; it is not possible to create a device manually. Device names cannot be changed in Jeedom; they will always match the names in Proxmox. A device will never be automatically deleted, but it will be disabled.

You can perform a manual synchronization using the button on the devices page.

When an action is performed (such as taking a snapshot or restarting a machine), the status of the device will also be automatically updated.

Available commands

Nodes

These devices have several status commands that provide information on uptime, CPU, disk, and memory usage, as well as information on the number and type of CPUs and the kernel version in use. The following action commands are also available:

  • Restart the node: Shuts down all VMs and restarts the node
  • Shut down the node: Shuts down all VMSs and the node
  • Start All: Starts all machines and containers that have the “Autostart” option enabled
  • Shut Everything Down: Shuts down all virtual machines and containers

Virtual Machines & Containers

There are several info commands that provide, among other things, the system status, the number of CPUs and their usage, total memory and memory usage, uptime, and IPv4 and IPv6 addresses.

Tip

To track IP addresses, you need to install the Proxmox agent on the VMs and enable it (see the Proxmox documentation). This agent will also ensure that your VM remains stable during backups and snapshots.

The following action commands are also available:

  • Start: Starts the virtual machine or container.
  • Stop: This triggers a clean shutdown of the virtual machine or container.
  • Shut Down Immediately: This immediately and abruptly shuts down the virtual machine or container, which may result in data corruption.
  • Pause: Pauses the virtual machine or container
  • Resume: Restarts the virtual machine or container after it has been suspended
  • Snapshot: Allows you to take a snapshot; you can provide a name for the snapshot (optional) and a description (also optional). The name must consist solely of letters, numbers, and the underscore (_) character, and must begin with a letter. If no name is provided or if the name is invalid, the plugin will generate a random name. For VMs, you can also choose whether or not to include RAM when using this command in a scenario.
  • Backup: allows you to create a backup. This command (of the “message” type) has an ‘email’ field that can contain an email address to which a notification will be sent once the backup is complete (email sent by your Proxmox server) and an ‘Options’ field in which you must specify each desired option in the format option=value (use a space to separate multiple options; see the table below for a list of available options); example: mode=snapshot compress=zstd mailnotification=failure
Name Description Format Default value
storage Backup location Name of the storage resource that must be configured for the ‘backup’ type and have the ‘available’ status. Be sure to use the correct case. By default, the first storage resource that meets 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 number configured for the selected storage (see Proxmox configuration) possible values are: 0, 1 1

Storage

Info commands provide disk usage and device status.

It is also possible to view the type of content it contains (backups, ISO files, VM disks, etc.); this information is useful when using the “Backup” command for virtual machines.

Change log

View the changelog

Support

If you’re having a problem, start by reading the latest threads related to the plugin on community.

If you still can’t find an answer to your question, feel free to create a new thread—and don’t forget to include the plugin tag (plugin-proxmox).

At a minimum, you must provide:

  • a screenshot of the Jeedom Health page
  • a screenshot of the plugin’s settings page
  • All available plugin logs at the INFO level, pasted into Preformatted Text (use the </> button on the community), no files!
  • Depending on the situation, a screenshot of the error encountered, a screenshot of the problematic configuration…