From owner-freebsd-ports@FreeBSD.ORG Wed May 6 11:33:16 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4506106566B for ; Wed, 6 May 2009 11:33:16 +0000 (UTC) (envelope-from sergey.kobzar@mail.ru) Received: from mx28.mail.ru (mx28.mail.ru [94.100.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9148FC08 for ; Wed, 6 May 2009 11:33:16 +0000 (UTC) (envelope-from sergey.kobzar@mail.ru) Received: from mx40.mail.ru (mx40.mail.ru [94.100.176.54]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id C4A2E795FFA for ; Wed, 6 May 2009 13:47:38 +0400 (MSD) Received: from [92.113.174.169] (port=14866 helo=localhost) by mx40.mail.ru with asmtp id 1M1dit-0006Hw-00; Wed, 06 May 2009 13:47:31 +0400 Date: Wed, 6 May 2009 12:47:31 +0300 From: "Sergey A. Kobzar" X-Mailer: The Bat! (v4.0.24) Professional X-Priority: 3 (Normal) Message-ID: <554220569.20090506124731@mail.ru> To: Lupe Christoph In-Reply-To: <20090506092040.GG10207@lupe-christoph.de> References: <20090506092040.GG10207@lupe-christoph.de> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Spam: Not detected X-Mras: Ok Cc: ports@freebsd.org, munin-users@lists.sourceforge.net Subject: Re: [munin-users] Replacement for "hdparm -C"? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey A. Kobzar" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 11:33:17 -0000 Wednesday, May 6, 2009, 12:20:40 PM, Lupe wrote: > I just received a PR for munin-node, complaining about error messages > related to the lack of a hdparm command on FreeBSD. > The munin-plugin hddtemp_smartctl tries to find out if a disk is spun > down by invoking hdparm -C $fulldev. The plugin will skip the invocation > of smartctl on such disks. > Since it is really a bad idea to spin up a disk to ask it for its > temperature - with what can I replace that command on FreeBSD? AFAIK you can get HDD temp using sysutils/smartmontools on FreeBSD only. 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 :) > Thanks for your help, > Lupe Christoph --=20 Sergey