From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 23 15:09:01 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 DB349106568B for ; Sun, 23 Aug 2009 15:09:01 +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 8F5EE8FC08 for ; Sun, 23 Aug 2009 15:09:01 +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 0F4B7844877; Sun, 23 Aug 2009 17:08:55 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.2.103]) by outgoing.leidinger.net (Postfix) with ESMTP id B711D88A50; Sun, 23 Aug 2009 17:08:51 +0200 (CEST) Date: Sun, 23 Aug 2009 17:08:49 +0200 From: Alexander Leidinger To: "=?ISO-8859-1?Q?Aur=E9lien_M=E9r=E9?=" Message-ID: <20090823170849.00000fdb@unknown> In-Reply-To: References: <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> <19e9a5dc0908212303j28a6913er604bfd06e7df81ec@mail.gmail.com> <2DC22872-96F5-4C0A-82E4-F9755A10E245@msys.ch> <20090822182923.000064e0@unknown> 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: 0F4B7844877.371B4 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: 1251644936.52941@Ec3rXq+oL5h4zcV2esaE3g X-EBL-Spam-Status: No X-Mailman-Approved-At: Sun, 23 Aug 2009 16:47:28 +0000 Cc: Gonzalo Nemmi , Oliver Pinter , Marc Balmer , 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 15:09:01 -0000 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 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. 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. Bye, Alexander.