Date: Wed, 6 May 2009 14:29:05 +0300 From: "Sergey A. Kobzar" <sergey.kobzar@mail.ru> To: Lupe Christoph <lupe@lupe-christoph.de> Cc: ports@freebsd.org, munin-users@lists.sourceforge.net Subject: Re[2]: [munin-users] Replacement for "hdparm -C"? Message-ID: <883388359.20090506142905@mail.ru> In-Reply-To: <20090506111242.GD24549@lupe-christoph.de> References: <20090506092040.GG10207@lupe-christoph.de> <554220569.20090506124731@mail.ru> <20090506111242.GD24549@lupe-christoph.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3DPOWERMODE Specifieds if smartctl should exit before performing any che= cks when the device is in a low-power mode. It may be used to p= re- 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 --=20 Sergey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?883388359.20090506142905>