hddtemp passthrough to influxdb LXC?

kidwellj

New Member
Jul 10, 2022
1
0
1
I'm working on getting everything into InfluxDB + Grafana. So far so good, I have InfluxDB2 and Grafana LXCs each set up and running fine. Home assistant, proxmox metric server, and lmsensors (via telegraf) are all getting their data into influxdb. But I can't seem to get hddtemp data to passthrough. Is there a simple way to get hard drive data accessible to that LXC? Obviously:

```
[[inputs.hddtemp]]
address = "127.0.0.1:7634"
```

is erroring with "connect: connection refused"
 
According to your configuration, Telegraf only listens on localhost. You can either change "127.0.0.1" to the IP address of the system running hddtemp or remove it altogether if you want to listen for all incoming connections. Alternatively, you can listen on a Unix socket with unix:///tmp/hddtemp.sock and then pass the socket through to the container with a mount point.
 

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!