Proxmox metrics to InfluxDB Cloud

alexc

Renowned Member
Apr 13, 2015
138
4
83
I found InfluxDB Cloud service and they even have free tier (pay as you go but retention up to 30 days seems to be free), and I really wonder if someone tried this. I tried to connect my lab server and have no success, but I'm not a pro with InfluxDB.

The idea I have is that even with lab server I'd better collect some metrics to check the load and some basic numbers.

May you please know how to connect Proxmox VE to any hosted DB supported by PVE?
 
I found InfluxDB Cloud service and they even have free tier (pay as you go but retention up to 30 days seems to be free), and I really wonder if someone tried this. I tried to connect my lab server and have no success, but I'm not a pro with InfluxDB.

The idea I have is that even with lab server I'd better collect some metrics to check the load and some basic numbers.

May you please know how to connect Proxmox VE to any hosted DB supported by PVE?
Yes, the setup you described (Proxmox + InfluxDB Cloud) works well.

In summary:
1. In InfluxDB Cloud:
• Create a bucket (e.g., name it “proxmox” for convenience).
• Generate an API key for that bucket (write permissions should suffice).

2. In Proxmox:
• Create a new metric server configuration (select “InfluxDB”).
• Use the provided screenshot as a reference for the final configuration.



Important notes:
Naming: Ensure the configuration name has no spaces, as this causes an obscure error (likely a Proxmox bug).
Server: Use the InfluxDB endpoint for your cloud region (e.g., eu-central-1-1.aws.cloud2.influxdata.com).
• Do not include https:// or any trailing /.
Port: Set to 443.
Protocol: Use https.
Organization: Enter the name you used when creating your InfluxDB Cloud account.
Bucket and Token: Use the details generated in the earlier steps.
 

Attachments

  • Screenshot 2024-12-05 at 12.37.13.png
    Screenshot 2024-12-05 at 12.37.13.png
    30.5 KB · Views: 6
Yes, the setup you described (Proxmox + InfluxDB Cloud) works well.

In summary:
1. In InfluxDB Cloud:
• Create a bucket (e.g., name it “proxmox” for convenience).
• Generate an API key for that bucket (write permissions should suffice).

2. In Proxmox:
• Create a new metric server configuration (select “InfluxDB”).
• Use the provided screenshot as a reference for the final configuration.



Important notes:
Naming: Ensure the configuration name has no spaces, as this causes an obscure error (likely a Proxmox bug).
Server: Use the InfluxDB endpoint for your cloud region (e.g., eu-central-1-1.aws.cloud2.influxdata.com).
• Do not include https:// or any trailing /.
Port: Set to 443.
Protocol: Use https.
Organization: Enter the name you used when creating your InfluxDB Cloud account.
Bucket and Token: Use the details generated in the earlier steps.
Thank you! That was what I tried but seems my fault was because of space in name.
Now need to connect Grafana to it the cloud db, still on it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!