Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Array temperature missing parity drive

Featured Replies

Unraid version: 7.2.3

API version: 4.28.2

Hello 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 by fackovunraid
formatting

Solved by SimonF

  • Community Expert
  • Solution
7 minutes ago, fackovunraid said:

Unraid version: 7.2.3

API version: 4.28.2

Hello 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

Different 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

}

}

}

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.