From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 23 16:25:07 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AAFD1065672 for ; Sun, 23 Aug 2009 16:25:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id C3EE58FC0A for ; Sun, 23 Aug 2009 16:25:06 +0000 (UTC) Received: from outgoing.leidinger.net (pD954F4BC.dip.t-dialin.net [217.84.244.188]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id AEB85844877; Sun, 23 Aug 2009 18:24:59 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.2.103]) by outgoing.leidinger.net (Postfix) with ESMTP id A6D8768466; Sun, 23 Aug 2009 18:24:56 +0200 (CEST) Date: Sun, 23 Aug 2009 18:24:54 +0200 From: Alexander Leidinger To: Marc Balmer Message-ID: <20090823182454.00006387@unknown> In-Reply-To: <7306B4ED-D9AF-4946-9FCE-BD1CE7685AC2@msys.ch> References: <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> <19e9a5dc0908212303j28a6913er604bfd06e7df81ec@mail.gmail.com> <2DC22872-96F5-4C0A-82E4-F9755A10E245@msys.ch> <20090822182923.000064e0@unknown> <20090823170849.00000fdb@unknown> <7306B4ED-D9AF-4946-9FCE-BD1CE7685AC2@msys.ch> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: AEB85844877.CAD9B X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1251649501.789@+eRXTBgs+5QQo1mqKuL+IA X-EBL-Spam-Status: No X-Mailman-Approved-At: Sun, 23 Aug 2009 16:47:39 +0000 Cc: =?ISO-8859-1?Q?Aur=E9lien_M=E9r=E9?= , Oliver Pinter , Gonzalo Nemmi , freebsd-hackers@FreeBSD.org Subject: Re: Common interface for sensors/health monitoring X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 16:25:07 -0000 On Sun, 23 Aug 2009 17:13:42 +0200 Marc Balmer wrote: >=20 > Am 23.08.2009 um 17:08 schrieb Alexander Leidinger: >=20 > > On Sat, 22 Aug 2009 21:02:32 +0200 "Aur=E9lien M=E9r=E9" > > wrote: > > > >> I'm just afraid by reading your email that the situation doesn't > >> seem to have evolved since the discussion regarding the SoC, maybe > >> even more taboo, and that I'll have to keep writing my own > >> software and drivers to get the data I want in the future if I > >> want to get this data under FreeBSD.. Is it the case ? > > > > It is not "taboo", it is just that nobody wants to spend his spare =20 > > time > > with something like this now. > > > > And yes, as far as I know you have to keep writting our own stuff. > > But maybe we can set up a wiki page where people can share their > > FreeBSD specific stuff. Someone just has to be willing to invest > > some time to add stuff. I have a little script which adds 24 values > > to ganglia, and it's extensible (4 lines for wach value), e.g.: > > ---snip--- > > metrics=3D"${metrics} HD3_Temp" > > HD3_Temp_value=3D"$(smartctl -A ad3 |awk '/Temperature_Celsius/ > > { print $10 }')" HD3_Temp_type=3D"uint8" > > HD3_Temp_unit=3D"Celsius" > > > > metrics=3D"${metrics} logins" > > logins_value=3D"$(who -q | grep users | cut -d ' ' -f 4)" > > logins_type=3D"uint8" > > logins_unit=3D"Users" > > > > metrics=3D"${metrics} SwapIn" > > SwapIn_value=3D"$(sysctl vm.stats.vm.v_swapin | cut -d ' ' -f 2)" > > SwapIn_type=3D"uint32" > > SwapIn_unit=3D"Units" > > ---snip--- > > > > I would add my script to such a wiki page, if some else is willing > > to start such a page. >=20 > > such a script would indeed be much nicer than a well crafted > framework for the job. > Indeed... > > If someone not @FreeBSD.org wants to maintain such a page, feel > > free to > > register in the wiki and tell me (or another committer), I will > > hand out > > write permission then. >=20 > I hope people spend their time on thinking what was bad with the =20 > sensor framework last time and improve on that, instead. Go and read in the archives about it, maybe you understand why there's not much motivation to spend spare time on such a topic. Bye, Alexander.