January 8Jan 8 Unraid version: 7.2.3API version: 4.28.2Hello dear Unraiders, I have simple setup of an array with one data disk and one parity drive.I wanted to obtain HDD temperature of both parity and the data disk.This query however:curl -X POST http://192.168.1.10/graphql -H "Content-Type: application/json" -H "X-API-Key: d61........x" -d '{"query": "query { array { disks { name size status temp } } } "}'Returns only disk1 temperature{"data":{"array":{"disks":[{"name":"disk1","size":17578328012,"status":"DISK_OK","temp":31}]}}}As I wanted to regulate an external FAN speed based on this not having all drives temperatures is an issue....(Of course in case the HDD is sleeping, unraid should not spin-up the drive)Thanks for any suggestions Edited January 8Jan 8 by fackovunraid formatting
January 8Jan 8 Community Expert Solution 7 minutes ago, fackovunraid said:Unraid version: 7.2.3API version: 4.28.2Hello dear Unraiders, I have simple setup of an array with one data disk and one parity drive.I wanted to obtain HDD temperature of both parity and the data disk.This query however:curl -X POST http://192.168.1.10/graphql -H "Content-Type: application/json" -H "X-API-Key: d61........x" -d '{"query": "query { array { disks { name size status temp } } } "}'Returns only disk1 temperature{"data":{"array":{"disks":[{"name":"disk1","size":17578328012,"status":"DISK_OK","temp":31}]}}}As I wanted to regulate an external FAN speed based on this not having all drives temperatures is an issue....(Of course in case the HDD is sleeping, unraid should not spin-up the drive)Thanks for any suggestionsDifferent query for parity and will be the different for pools. Note temps will not show if drives are spun down.query ExampleQuery {array {parities {temp}}}
January 9Jan 9 Author That has helped.Thanks!curl -X POST http://192.168.1.10/graphql -H "Content-Type: application/json" -H "X-API-Key: d61...x" -d '{"query": "query { array { disks { name size status temp } parities { name status temp } } } "}'
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.