Commit graph

4 commits

Author SHA1 Message Date
Tim Connors
00413326be hddtemp, smart-intercept-spindown: handle idle, add --numeric, --no-device
Filter out temperature=255 at this stage rather than in clients who
use us

Allow hddtemp to output a simpler format if --no-device --numeric is
requested

Ignore idle disks as well in order not to bring them out of idle mode
and thus reset timer
2025-09-13 04:20:15 +10:00
Tim Connors
7c831f1f52 Make use of smart-intercept-spindown and smartctlnvme
Migrate smart-intercept-spindown and smartctlnvme into this repo from
my ansible-initial-server-setup playbooks, so they can be published in
a self-contained repo.  Ansible then distributes these files anyway
via including this repo.

This enables us to get rid of the spindown test code we duplicated
here, plus ensure we're actually distributing smartctlnvme
2025-09-13 04:20:15 +10:00
Tim Connors
7e4a2338d3 code unified with ansible-initial-server-setup/.../hddtemp
Synced with https://github.com/spacelama/ansible-initial-server-setup
-> hddtemp

purpose comment taken from
ansible-initial-server-setup/.../smart-intercept-spindown
2025-08-05 13:58:47 +10:00
Tim Connors
5cd92f2b55 Include hddtemp and upadte instructions for using it 2022-12-07 12:52:59 +11:00