VictoriaMetrics/docs/data-ingestion/Proxmox.md
2024-07-16 10:41:06 +02:00

3 KiB

title weight sort menu aliases
Proxmox 1 1
docs
identifier parent weight
proxmox data-ingestion 1
/data-ingestion/proxmox.html
/data-ingestion/Proxmox.html

Proxmox Data Ingestion

Since Proxmox Virtual Environment(PVE) and Proxmox Backup Server(PBS) support sending data using the InfluxDB We can use the InfluxDB write support built into VictoriaMetrics Currently PVE and PBS only support using an Authorization Token for authentication and does not support basic auth or a username and password.

Proxmox Virtual Environment (PVE)

If want help Sending your data to Managed VictoriaMetrics check out our blog.

  1. Login to PVE as an administrator
  2. Go to DataCenter > MetricServer > Add > InfluxDB
PVE Metric Navigation
  1. Set the parameters as follows:
  • Name: VictoriaMetrics (can be changed to any string)
  • Server: the hostname or IP of your VictoriaMetrics Instance
  • Port: This will vary depending how you are sending data to VictoriaMetrics, but the defaults for all components are listed in the data ingestion documentation
  • Protocol: use HTTPS if you have TLS/SSL configured otherwise use HTTP
  • Organization: leave empty since it doesn't get used
  • Bucket: leave empty since it doesn't get used
  • Token: your token from vmauth or leave blank if you don't have authentication enabled
  • If you need to ignore TLS/SSL errors check the advanced box and uncheck the verify certificate box
  1. Click the Create button
PVE Metric Form
  1. Run system_uptime{object="nodes"} in vmui or in the explore view in Grafana to verify metrics from PVE are being sent to VictoriaMetrics. You should see 1 time series per node in your PVE cluster.

Proxmox Backup Server (PBS)

  1. Login to PBS as an administrator
  2. Go to Configuration > Metrics Server > Add > InfluxDB
PBS Metric Navigation
  1. Set the parameters as follows:
  • Name: VictoriaMetrics (can be set to any string)
  • URL: http(s)://<ip_or_host>:
    • set the URL to https if you have TLS enabled and http if you do not
    • Port: This will vary depending how you are sending data to VictoriaMetrics, but the defaults for all components are listed in the data ingestion documentation
  • Organization: leave empty since it doesn't get used
  • Bucket: leave empty since it doesn't get used
  • Token: your token from vmauth or leave blank if you don't have authentication enabled
  1. Click the Create button
PBS Metric Form
  1. Run cpustat_idle{object="host"} in vmui or in the explore view in Grafana to verify metrics from PBS are being to VictoriaMetrics.

References