Pulse for Proxmox VE
A lightweight monitoring application for Proxmox VE that displays real-time status for VMs and containers via a simple web interface.
📸 Screenshots
📋 Table of Contents
- Quick Start (Docker Compose - Recommended)
- Development Setup (Docker Compose)
- Configuration
- Deployment
- Features
- System Requirements
- Contributing
- Privacy
- License
- Trademark Notice
- Support
- Troubleshooting
🚀 Quick Start (Docker Compose - Recommended)
This is the easiest and recommended way to run Pulse using the pre-built image from Docker Hub.
Prerequisites:
- Docker (Install Docker)
- Docker Compose (Install Docker Compose)
Steps:
- Create a Directory: Make a directory on your Docker host where Pulse configuration will live:
mkdir pulse-config cd pulse-config - Create
.envfile: Create a file named.envin this directory and add your Proxmox connection details. See Configuration for details and required permissions. Minimally, you need:# .env file PROXMOX_HOST=https://your-proxmox-ip:8006 PROXMOX_TOKEN_ID=your_user@pam!your_token_id PROXMOX_TOKEN_SECRET=your_secret_uuid_here # Optional: Set to true if using self-signed certs # PROXMOX_ALLOW_SELF_SIGNED_CERTS=true # Optional: Add PBS details if desired # PBS_HOST=https://your-pbs-ip:8007 # PBS_NODE_NAME=your-pbs-node-hostname # Important! See config docs. # PBS_TOKEN_ID=pbs_user@pbs!token_id # PBS_TOKEN_SECRET=pbs_secret_uuid_here # PBS_ALLOW_SELF_SIGNED_CERTS=true - Create
docker-compose.ymlfile: Create a file nameddocker-compose.ymlin the same directory with the following content:# docker-compose.yml services: pulse-server: image: rcourtman/pulse:latest # Pulls the latest pre-built image container_name: pulse restart: unless-stopped ports: # Map host port 7655 to container port 7655 # Change the left side (e.g., "8081:7655") if 7655 is busy on your host - "7655:7655" env_file: - .env # Load environment variables from .env file # Optional: Uncomment to map a volume for potential future config/log persistence # volumes: # - ./data:/data - Run: Start the container:
docker compose up -d - Access: Open your browser to
http://<your-docker-host-ip>:7655.
🚀 Development Setup (Docker Compose)
Use this method if you have cloned the repository and want to build and run the application from the local source code.
- Get Files: Clone the repository (
git clone https://github.com/rcourtman/Pulse.git && cd Pulse) - Copy
.env:cp .env.example .env - Edit
.env: Fill in your primary Proxmox API details (PROXMOX_HOST,PROXMOX_TOKEN_ID,PROXMOX_TOKEN_SECRET). See Configuration for details. - Run:
docker compose up --build -d(The includeddocker-compose.ymluses thebuild:context by default). - Access: Open your browser to
http://localhost:7655(or your host IP if Docker runs remotely).
🛠️ Configuration
Environment Variables
Pulse is configured using environment variables, typically set in a .env file in the project root.
- Copy Example File: If you haven't already, copy the example file:
cp .env.example .env - Edit
.env: Open.envin a text editor and update the values for your environment(s).
Proxmox VE (Primary Environment)
These are the minimum required variables:
PROXMOX_HOST: URL of your Proxmox server (e.g.,https://192.168.1.10:8006).PROXMOX_TOKEN_ID: Your API Token ID (e.g.,user@pam!tokenid).PROXMOX_TOKEN_SECRET: Your API Token Secret.
Optional variables:
PROXMOX_NODE_NAME: A display name for this endpoint in the UI (defaults toPROXMOX_HOST).PROXMOX_ALLOW_SELF_SIGNED_CERTS: Set totrueif your Proxmox server uses self-signed SSL certificates. Defaults tofalse.PORT: Port for the Pulse server to listen on. Defaults to7655.- (Username/Password fallback exists but API Token is strongly recommended)
Note: For a Proxmox cluster, you only need to provide connection details for one node. Pulse automatically discovers other cluster members.
Multiple Proxmox Environments (Optional)
To monitor separate Proxmox environments (e.g., different clusters, sites) in one Pulse instance, add numbered variables:
PROXMOX_HOST_2,PROXMOX_TOKEN_ID_2,PROXMOX_TOKEN_SECRET_2PROXMOX_HOST_3,PROXMOX_TOKEN_ID_3,PROXMOX_TOKEN_SECRET_3- ...and so on.
Optional numbered variables also exist (e.g., PROXMOX_ALLOW_SELF_SIGNED_CERTS_2, PROXMOX_NODE_NAME_2).
Proxmox Backup Server (PBS) (Optional)
To monitor PBS instances:
Primary PBS Instance:
PBS_HOST: URL of your PBS server (e.g.,https://192.168.1.11:8007).PBS_TOKEN_ID: Your PBS API Token ID (e.g.,user@pbs!tokenid). See Creating a Proxmox Backup Server API Token.PBS_TOKEN_SECRET: Your PBS API Token Secret.PBS_NODE_NAME: Important! The internal hostname of your PBS server (e.g.,pbs-server-01). This is usually required for API token auth because the token might lack permission to auto-discover the node name. See details below.PBS_ALLOW_SELF_SIGNED_CERTS: Set totruefor self-signed certificates. Defaults tofalse.PBS_PORT: PBS API port. Defaults to8007.
Additional PBS Instances:
To monitor multiple PBS instances, add numbered variables, starting with _2:
PBS_HOST_2,PBS_TOKEN_ID_2,PBS_TOKEN_SECRET_2PBS_HOST_3,PBS_TOKEN_ID_3,PBS_TOKEN_SECRET_3- ...and so on.
Optional numbered variables also exist for additional PBS instances (e.g., PBS_NODE_NAME_2, PBS_ALLOW_SELF_SIGNED_CERTS_2, PBS_PORT_2). Each PBS instance, whether primary or additional, requires its respective PBS_NODE_NAME or PBS_NODE_NAME_n to be set if API token authentication is used and the token cannot automatically discover the node name.
Why PBS_NODE_NAME (or PBS_NODE_NAME_n) is Required (Click to Expand)
Pulse needs to query task lists specific to the PBS node (e.g., /api2/json/nodes/{nodeName}/tasks). It attempts to discover this node name automatically by querying /api2/json/nodes. However, this endpoint is often restricted for API tokens (returning a 403 Forbidden error), even for tokens with high privileges, unless the Sys.Audit permission is granted on the root path (/).
Therefore, setting PBS_NODE_NAME in your .env file is the standard and recommended way to ensure Pulse can correctly query task endpoints when using API token authentication. If it's not set and automatic discovery fails due to permissions, Pulse will be unable to fetch task data (backups, verifications, etc.).
How to find your PBS Node Name:
- SSH: Log into your PBS server via SSH and run
hostname. - UI: Log into the PBS web interface. The hostname is typically displayed on the Dashboard under Server Status.
Example: If your PBS connects via https://minipc-pbs.lan:8007 but its internal hostname is proxmox-backup-server, set:
PBS_HOST=https://minipc-pbs.lan:8007
PBS_NODE_NAME=proxmox-backup-server
Creating a Proxmox API Token
Using an API token is the recommended authentication method.
Steps to Create a PVE API Token (Click to Expand)
- Log in to the Proxmox VE web interface.
- Create a dedicated user (optional but recommended):
- Go to
Datacenter→Permissions→Users. - Click
Add. Enter aUser name(e.g., "pulse-monitor"), set Realm toProxmox VE authentication server(pam), set a password, ensureEnabled. ClickAdd.
- Go to
- Create an API token:
- Go to
Datacenter→Permissions→API Tokens. - Click
Add. - Select the
User(e.g., "pulse-monitor@pam") orroot@pam. - Enter a
Token ID(e.g., "pulse"). - Leave
Privilege Separationchecked. ClickAdd. - Important: Copy the
Secretvalue immediately. It's shown only once.
- Go to
- Assign permissions (to User and Token):
- Go to
Datacenter→Permissions. - Add User Permission: Click
Add→User Permission. Path:/, User:pulse-monitor@pam, Role:PVEAuditor, checkPropagate. ClickAdd. - Add Token Permission: Click
Add→API Token Permission. Path:/, API Token:pulse-monitor@pam!pulse, Role:PVEAuditor, checkPropagate. ClickAdd. - Note: The
PVEAuditorrole at the root path (/) withPropagateis crucial.
- Go to
- Update
.env: SetPROXMOX_TOKEN_ID(e.g.,pulse-monitor@pam!pulse) andPROXMOX_TOKEN_SECRET(the secret you copied).
Creating a Proxmox Backup Server API Token
If monitoring PBS, create a token within the PBS interface.
Steps to Create a PBS API Token (Click to Expand)
- Log in to the Proxmox Backup Server web interface.
- Create a dedicated user (optional but recommended):
- Go to
Configuration→Access Control→User Management. - Click
Add. EnterUser ID(e.g., "pulse-monitor@pbs"), set Realm (likelypbs), add password. ClickAdd.
- Go to
- Create an API token:
- Go to
Configuration→Access Control→API Token. - Click
Add. - Select
User(e.g., "pulse-monitor@pbs") orroot@pam. - Enter
Token Name(e.g., "pulse"). - Leave
Privilege Separationchecked. ClickAdd. - Important: Copy the
Secretvalue immediately.
- Go to
- Assign permissions:
- Go to
Configuration→Access Control→Permissions. - Click
Add→API Token Permission. - Path:
/(root level). - API Token: Select the token (e.g., "pulse-monitor@pbs!pulse").
- Role:
Audit. - Check
Propagate. ClickAdd. - Note: The
Auditrole at root path (/) is needed for read-only access.
- Go to
- Update
.env: SetPBS_TOKEN_ID(e.g.,pulse-monitor@pbs!pulse) andPBS_TOKEN_SECRET.
Required Permissions
- Proxmox VE: The
PVEAuditorrole assigned at path/withPropagateenabled is recommended.Permissions included in PVEAuditor (Click to Expand)
- `Datastore.Audit` - `Permissions.Read` (implicitly included) - `Pool.Audit` - `Sys.Audit` - `VM.Audit` - Proxmox Backup Server: The
Auditrole assigned at path/withPropagateenabled is recommended.
🚀 Deployment
Choose one of the following methods to deploy Pulse.
Running with Docker Compose
Using Docker Compose is the recommended way for most users.
Prerequisites:
- Docker (Install Docker)
- Docker Compose (Install Docker Compose)
Steps:
- Create a Directory: Make a directory on your Docker host where Pulse configuration will live:
mkdir pulse-config cd pulse-config - Create
.envfile: Create a file named.envin this directory and add your Proxmox connection details. See Configuration for details and required permissions. Minimally, you need:# .env file PROXMOX_HOST=https://your-proxmox-ip:8006 PROXMOX_TOKEN_ID=your_user@pam!your_token_id PROXMOX_TOKEN_SECRET=your_secret_uuid_here # Optional: Set to true if using self-signed certs # PROXMOX_ALLOW_SELF_SIGNED_CERTS=true # Optional: Add PBS details if desired # PBS_HOST=https://your-pbs-ip:8007 # PBS_NODE_NAME=your-pbs-node-hostname # Important! See config docs. # PBS_TOKEN_ID=pbs_user@pbs!token_id # PBS_TOKEN_SECRET=pbs_secret_uuid_here # PBS_ALLOW_SELF_SIGNED_CERTS=true - Create
docker-compose.ymlfile: Create a file nameddocker-compose.ymlin the same directory with the following content:# docker-compose.yml services: pulse-server: image: rcourtman/pulse:latest # Pulls the latest pre-built image container_name: pulse restart: unless-stopped ports: # Map host port 7655 to container port 7655 # Change the left side (e.g., "8081:7655") if 7655 is busy on your host - "7655:7655" env_file: - .env # Load environment variables from .env file # Optional: Uncomment to map a volume for potential future config/log persistence # volumes: # - ./data:/data - Run: Start the container:
docker compose up -d - Access: Open your browser to
http://<your-docker-host-ip>:7655.
Stopping:
docker compose down
Note: Restart the container (docker compose down && docker compose up -d) if you change .env after starting.
Alternative: Inline Variables in `docker-compose.yml` (Click to Expand)
You can define environment variables directly in docker-compose.yml instead of using .env. Replace placeholder values before running docker compose up -d.
version: '3.8'
services:
pulse:
image: rcourtman/pulse:latest
container_name: pulse_monitor
restart: unless-stopped
ports:
- "7655:7655" # Map container port 7655 to host port 7655
environment:
# --- Required Proxmox Connection Details ---
PROXMOX_HOST: "https://your-proxmox-ip-or-hostname:8006"
PROXMOX_TOKEN_ID: "your-user@pam!your-token-name"
PROXMOX_TOKEN_SECRET: "your-api-token-secret-uuid"
# --- Optional Settings ---
PROXMOX_ALLOW_SELF_SIGNED_CERTS: "false"
# PBS_HOST: "https://your-pbs-ip:8007"
# PBS_TOKEN_ID: "your-pbs-user@pbs!token"
# PBS_TOKEN_SECRET: "your-pbs-secret"
# PBS_NODE_NAME: "your-pbs-hostname"
# Optional: Mount a local directory for potential future config needs
# volumes:
# - ./pulse_config:/config
networks:
default:
driver: bridge
Running with LXC Installation Script
An installation script is available for setting up Pulse inside an existing Debian/Ubuntu-based Proxmox VE LXC container.
Prerequisites:
- A running Proxmox VE host.
- An existing Debian or Ubuntu LXC container with network access to Proxmox.
- Tip: Use Community Scripts to easily create one:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/debian.sh)"
- Tip: Use Community Scripts to easily create one:
Steps:
- Access LXC Console: Log in to your LXC container (usually as
root). - Download and Run Script:
# Ensure you are in a suitable directory, like /root or /tmp curl -sLO https://raw.githubusercontent.com/rcourtman/Pulse/main/scripts/install-pulse.sh chmod +x install-pulse.sh ./install-pulse.sh - Follow Prompts: The script guides you through:
- Installing dependencies (
git,curl,nodejs,npm,sudo). - Entering your Proxmox Host URL, API Token ID, Secret, and self-signed cert preference.
- (Optional) Entering PBS connection details if desired.
- Setting up Pulse as a
systemdservice (pulse-monitor.service). - Optionally enabling automatic updates via cron.
- Installing dependencies (
- Access Pulse: The script will display the URL (e.g.,
http://<LXC-IP-ADDRESS>:7655).
Updating and Managing the LXC Installation (Click to Expand)
Updating Pulse:
Re-run the script from the directory where you downloaded it:
./install-pulse.sh
Or run non-interactively (e.g., for cron):
./install-pulse.sh --update
Managing the Pulse Service:
Use standard systemctl commands:
- Check Status:
sudo systemctl status pulse-monitor.service - Stop Service:
sudo systemctl stop pulse-monitor.service - Start Service:
sudo systemctl start pulse-monitor.service - View Logs:
sudo journalctl -u pulse-monitor.service -f - Enable/Disable on Boot:
sudo systemctl enable/disable pulse-monitor.service
Automatic Updates:
If enabled via the script, a cron job runs ./install-pulse.sh --update Daily/Weekly/Monthly. Logs are in /var/log/pulse_update.log. Manage with sudo crontab -l -u root or sudo crontab -e -u root.
Running from Release Tarball
For users who prefer not to use Docker or the LXC script, pre-packaged release tarballs are available.
Prerequisites:
- Node.js (Version 18.x or later recommended)
- npm (comes with Node.js)
tarcommand (standard on Linux/macOS, available via tools like 7-Zip or WSL on Windows)
Steps:
- Download: Go to the Pulse GitHub Releases page. Download the
pulse-vX.Y.Z.tar.gzfile for the desired release. - Extract: Create a directory and extract the tarball:
mkdir pulse-app cd pulse-app tar -xzf /path/to/downloaded/pulse-vX.Y.Z.tar.gz # This creates a directory like pulse-vX.Y.Z/ cd pulse-vX.Y.Z - Configure: Copy the environment file template and edit it with your details (see Configuration):
cp .env.example .env nano .env # Or your preferred editor - Run: Start the application using npm:
(Note: The tarball includes pre-installed production dependencies, so
npm startnpm installis not typically required unless you encounter issues.) - Access: Open your browser to
http://<your-server-ip>:7655(or the port configured in.env).
️ Running the Application (Node.js - Development)
For development purposes or running directly from source, see the DEVELOPMENT.md guide. This involves cloning the repository, installing dependencies using npm install in both the root and server directories, and running npm run dev or npm run start.
✨ Features
- Lightweight monitoring for Proxmox VE nodes, VMs, and Containers.
- Real-time status updates via WebSockets.
- Simple, responsive web interface.
- Efficient polling: Stops API polling when no clients are connected.
- Docker support.
- Multi-environment PVE monitoring support.
- Proxmox Backup Server (PBS) monitoring support.
- LXC installation script.
💻 System Requirements
- Node.js: Version 18.x or later (if building/running from source).
- NPM: Compatible version with Node.js.
- Docker & Docker Compose: Latest stable versions (if using container deployment).
- Proxmox VE: Version 7.x or 8.x recommended.
- Proxmox Backup Server: Version 2.x or 3.x recommended (if monitored).
- Web Browser: Modern evergreen browser.
📝 Contributing
Contributions are welcome! Please read our Contributing Guidelines.
🔒 Privacy
- No Data Collection: Pulse does not collect or transmit any telemetry or user data externally.
- Local Communication: Operates entirely between your environment and your Proxmox/PBS APIs.
- Credential Handling: Credentials are used only for API authentication and are not logged or sent elsewhere.
📜 License
This project is licensed under the MIT License - see the LICENSE file.
™️ Trademark Notice
Proxmox® and Proxmox VE® are registered trademarks of Proxmox Server Solutions GmbH. This project is not affiliated with or endorsed by Proxmox Server Solutions GmbH.
❤️ Support
File issues on the GitHub repository.
If you find Pulse useful, consider supporting its development:
❓ Troubleshooting
Common connection issues:
- Pulse Application Logs: Check container logs (
docker logs pulse_monitor) or service logs (sudo journalctl -u pulse-monitor.service -f) for errors (401 Unauthorized, 403 Forbidden, connection refused, timeout). .envConfiguration: VerifyPROXMOX_HOST,PROXMOX_TOKEN_ID,PROXMOX_TOKEN_SECRET, andPROXMOX_ALLOW_SELF_SIGNED_CERTS. For PBS, also checkPBS_HOST,PBS_TOKEN_ID,PBS_TOKEN_SECRET,PBS_ALLOW_SELF_SIGNED_CERTS, and especiallyPBS_NODE_NAME. Ensure no placeholder values remain.- Network Connectivity: Can the machine running Pulse reach the PVE/PBS hostnames/IPs and ports (usually 8006 for PVE, 8007 for PBS)? Check firewalls.
- API Token Permissions: Ensure the correct roles (
PVEAuditorfor PVE,Auditfor PBS) are assigned at the root path (/) withPropagateenabled in the respective UIs.




