From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 23 15:15: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 A62F0106568D for ; Sun, 23 Aug 2009 15:15:07 +0000 (UTC) (envelope-from marc@msys.ch) Received: from sleipnir.msys.ch (smtp.msys.ch [157.161.101.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1423B8FC12 for ; Sun, 23 Aug 2009 15:15:06 +0000 (UTC) Received: from mail.msys.ch (smtp.msys.ch [157.161.101.10]) by sleipnir.msys.ch (8.14.3/8.14.1) with ESMTP id n7NFDhBZ016781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 23 Aug 2009 17:13:43 +0200 (CEST) Received: from [192.168.17.107] (gw.vnode.ch [62.12.170.129]) (authenticated bits=0) by mail.msys.ch (8.14.3/8.14.1) with ESMTP id n7NFDg7x016208 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 23 Aug 2009 17:13:42 +0200 (CEST) Message-Id: <7306B4ED-D9AF-4946-9FCE-BD1CE7685AC2@msys.ch> From: Marc Balmer To: Alexander Leidinger In-Reply-To: <20090823170849.00000fdb@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Aug 2009 17:13:42 +0200 References: <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> <19e9a5dc0908212303j28a6913er604bfd06e7df81ec@mail.gmail.com> <2DC22872-96F5-4C0A-82E4-F9755A10E245@msys.ch> <20090822182923.000064e0@unknown> <20090823170849.00000fdb@unknown> X-Mailer: Apple Mail (2.936) X-SMTP-Vilter-Version: 1.3.6 X-Spamd-Symbols: AWL Cc: =?ISO-8859-1?Q?=22Aur=E9lien_M=E9r=E9=22?= , 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 15:15:07 -0000 Am 23.08.2009 um 17:08 schrieb Alexander Leidinger: > 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. such a script would indeed be much nicer than a well crafted framework =20= for the job. > If someone not @FreeBSD.org wants to maintain such a page, feel free =20= > to > register in the wiki and tell me (or another committer), I will hand =20= > out > write permission then. I hope people spend their time on thinking what was bad with the =20 sensor framework last time and improve on that, instead. > > Bye, > Alexander.