Closed brantje closed 8 months ago
Disk temperature was added in 1.1 since it was initially bugged in TrueNAS. https://github.com/Supporterino/truenas-graphite-to-prometheus/releases/tag/v1.1.0 you just need to update the image.
Updated to the latest image:
graphite-exporter:
image: ghcr.io/supporterino/truenas-graphite-to-prometheus:latest
mem_limit: 512M
container_name: graphite-exporter
ports:
- 9109:9109/udp
- 9109:9109
- 9108:9108
restart: unless-stopped
networks:
- monitor-net
However the disk_temperature doesn't show:
But the plain metric does get picked up by graphite:
Fixed it, for me i needed to change the regex to this
- match: "truenas.*.smart_log_smart.disktemp.*.*"
name: "disk_temperature"
labels:
job: "truenas"
instance: "${1}"
serial: "${2}"
All works fine now :)
Interesting your key varies from mine. Will also take your variant into the main file. Will be included in v1.1.1
Hi! Thanks for the config, it's really helpful.
However, the mapped drives temperatures don't get exported for me.
Docker compose.
Container logs upon start:
The only thing i noticed is the rule for mapping the drives missing.
Logs from incoming lines: