I am trying to Proxmox to report Metrics via InfluxDB.
I have an LXC container, on the Proxmox machine, running Telegraf acting as an InfluxDB listener on:
. (the V1 API would also be available).
This works fine, as I can send to it from my PC, and can contact it from Proxmox using either the hostname, or the IP address (without certificate verification).
From Proxmox:
What my configuration looks like:
Whenever I try to enable it in the GUI, I get this error:
.
It is contacting the server though - I can, on the server, get the following in the Telegraf logs when the host is contacted via IP, but enabled certificate verification:
I have tried with various combinations of bucket / organization, which should not be necessary. Other hosts can send to this endpoint without problems. I can disable the certificate verification, but this does not help.
I have put various variations / parts of
in API path prefix, without success - I keep getting a 404.
Where can I get more information on what Proxmox is doing? The Telegraf instance isn't showing anything useful..
I have an LXC container, on the Proxmox machine, running Telegraf acting as an InfluxDB listener on:
Code:
https://influx.domain.com:8186/
This works fine, as I can send to it from my PC, and can contact it from Proxmox using either the hostname, or the IP address (without certificate verification).
From Proxmox:
Code:
curl -i -XPOST 'https://influx.domain.com:8186/api/v2/write' --data-binary 'cpu_load_short,host=s
erver01,region=us-west value=1.13' --header 'Authorization: Token TokenGoesHereInClearText'
HTTP/1.1 204 No Content
Date: Tue, 22 Oct 2024 11:26:09 GMT
What my configuration looks like:
Code:
root@pma:~# cat /etc/pve/status.cfg
influxdb: Influx
disable
port 8186
server influx.domain.com
influxdbproto https
Whenever I try to enable it in the GUI, I get this error:
Code:
404 (Not found)
It is contacting the server though - I can, on the server, get the following in the Telegraf logs when the host is contacted via IP, but enabled certificate verification:
Code:
2024-10-22T11:46:37Z I! http: TLS handshake error from 10.xx.x.20:39330: local error: tls: bad record MAC
I have tried with various combinations of bucket / organization, which should not be necessary. Other hosts can send to this endpoint without problems. I can disable the certificate verification, but this does not help.
I have put various variations / parts of
Code:
/api/v2/write
Where can I get more information on what Proxmox is doing? The Telegraf instance isn't showing anything useful..