[munin-users] Replacement for "hdparm -C"?
Sergey A. Kobzar
sergey.kobzar at mail.ru
Wed May 6 11:29:08 UTC 2009
Wednesday, May 6, 2009, 2:12:42 PM, Lupe wrote:
> On Wednesday, 2009-05-06 at 12:47:31 +0300, Sergey A. Kobzar wrote:
>> Wednesday, May 6, 2009, 12:20:40 PM, Lupe wrote:
>> AFAIK you can get HDD temp using sysutils/smartmontools on FreeBSD
>> only.
> The plugin use the smartctl command.
>> I never tried to do this for disks which are spin down. But why do you
>> need check temperature of such disks? One time someone will ask you to
>> minitor temperature for suspended server... IMHO it's not fully
>> correct :)
> The plugin is run every five minutes for all disks it is told to watch. A
> disk that is always spun down should not be on that list ;-)
This should help:
SMARTCTL(8):
-n POWERMODE, --nocheck=POWERMODE
Specifieds if smartctl should exit before performing any checks
when the device is in a low-power mode. It may be used to pre-
vent a disk from being spun-up by smartctl. The power mode is
ignored by default. The allowed values of POWERMODE are:
Something like:
# smartctl -n standby -a /dev/ad0 | grep -i temp
;)
> Lupe Christoph
--
Sergey
More information about the freebsd-ports
mailing list