mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
80 lines
3.1 KiB
Bash
80 lines
3.1 KiB
Bash
# Pulse Configuration Example
|
|
# ----------------------------
|
|
|
|
# --- Proxmox VE Primary Endpoint (Required) ---
|
|
# Only API Token authentication is supported.
|
|
PROXMOX_HOST=your-proxmox-ip-or-hostname
|
|
PROXMOX_TOKEN_ID=your-api-token-id@pam!your-token-name
|
|
PROXMOX_TOKEN_SECRET=your-api-token-secret-uuid
|
|
# Optional: Specify custom port if not default 8006
|
|
# PROXMOX_PORT=8006
|
|
# Optional: Provide a display name for this endpoint in the UI
|
|
# PROXMOX_NODE_NAME=My Primary Proxmox
|
|
# Optional: Set to true to allow self-signed certificates (default: true)
|
|
# PROXMOX_ALLOW_SELF_SIGNED_CERTS=true
|
|
# Optional: Enable/Disable this endpoint (defaults to true if omitted)
|
|
# PROXMOX_ENABLED=true
|
|
|
|
# --- Proxmox VE Additional Endpoints (Optional) ---
|
|
# Use consecutive numbers (_2, _3, ...) for additional PVE instances
|
|
# Only API Token authentication is supported.
|
|
# PROXMOX_HOST_2=second-proxmox-ip
|
|
# PROXMOX_TOKEN_ID_2=second-token-id@pve!my-token
|
|
# PROXMOX_TOKEN_SECRET_2=second-token-secret
|
|
# PROXMOX_PORT_2=8006
|
|
# PROXMOX_NODE_NAME_2=My Secondary Proxmox
|
|
# PROXMOX_ALLOW_SELF_SIGNED_CERTS_2=true
|
|
# PROXMOX_ENABLED_2=true
|
|
|
|
# --- Proxmox Backup Server (PBS) Integration (Optional) ---
|
|
# Only API Token authentication is supported.
|
|
# Use consecutive numbers (_2, _3, ...) for additional PBS instances.
|
|
|
|
# PBS Primary Instance
|
|
# PBS_HOST=your-pbs-ip-or-hostname
|
|
# PBS_TOKEN_ID=your-pbs-token-id@pbs!my-token
|
|
# PBS_TOKEN_SECRET=your-pbs-token-secret
|
|
# Optional: Specify custom port if not default 8007
|
|
# PBS_PORT=8007
|
|
# Required (Unless Token has Sys.Audit): Internal hostname of the PBS server.
|
|
# Found using 'hostname' command on the PBS server via SSH.
|
|
# See README for details on why this is usually required with API tokens.
|
|
# PBS_NODE_NAME=your-pbs-internal-hostname
|
|
# Optional: Set to true to allow self-signed certificates (default: true)
|
|
# PBS_ALLOW_SELF_SIGNED_CERTS=true
|
|
|
|
# PBS Additional Instance Example (suffix with _2, _3, etc.)
|
|
# PBS_HOST_2=second-pbs-ip-or-hostname
|
|
# PBS_TOKEN_ID_2=second-pbs-token-id@pbs!my-token
|
|
# PBS_TOKEN_SECRET_2=second-pbs-token-secret
|
|
# PBS_PORT_2=8007
|
|
# PBS_NODE_NAME_2=second-pbs-internal-hostname
|
|
# PBS_ALLOW_SELF_SIGNED_CERTS_2=true
|
|
|
|
# --- Pulse Service Settings (Optional) ---
|
|
# Interval in milliseconds for fetching detailed VM/Container metrics (default: 2000)
|
|
# PULSE_METRIC_INTERVAL_MS=2000
|
|
# Interval in milliseconds for fetching structural data (nodes, VM/CT list, storage) (default: 30000)
|
|
# PULSE_DISCOVERY_INTERVAL_MS=30000
|
|
|
|
# --- Alert System Configuration (Optional) ---
|
|
# Enable/disable specific alert types (default: true for all)
|
|
# ALERT_CPU_ENABLED=true
|
|
# ALERT_MEMORY_ENABLED=true
|
|
# ALERT_DISK_ENABLED=true
|
|
# ALERT_DOWN_ENABLED=true
|
|
|
|
# Alert thresholds (percentages, defaults shown)
|
|
# ALERT_CPU_THRESHOLD=85
|
|
# ALERT_MEMORY_THRESHOLD=90
|
|
# ALERT_DISK_THRESHOLD=95
|
|
|
|
# Alert durations - how long condition must persist before alerting (milliseconds)
|
|
# ALERT_CPU_DURATION=300000 # 5 minutes
|
|
# ALERT_MEMORY_DURATION=300000 # 5 minutes
|
|
# ALERT_DISK_DURATION=600000 # 10 minutes
|
|
# ALERT_DOWN_DURATION=60000 # 1 minute
|
|
|
|
# --- Development Settings (Optional) ---
|
|
# Enable/disable hot reloading for frontend changes (default: true)
|
|
# ENABLE_HOT_RELOAD=true |