Date: Sun, 23 Aug 2009 17:08:49 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: "=?ISO-8859-1?Q?Aur=E9lien_M=E9r=E9?=" <aurelien.mere@amc-os.com> Cc: Gonzalo Nemmi <gnemmi@gmail.com>, Oliver Pinter <oliver.pntr@gmail.com>, Marc Balmer <marc@msys.ch>, freebsd-hackers@FreeBSD.org Subject: Re: Common interface for sensors/health monitoring Message-ID: <20090823170849.00000fdb@unknown> In-Reply-To: <C1C76364BD5341C887C0AEA906BB5763@kmlaptop> References: <D3D19C706C2842389C87590424D0A8CB@kmlaptop> <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> <19e9a5dc0908212303j28a6913er604bfd06e7df81ec@mail.gmail.com> <2DC22872-96F5-4C0A-82E4-F9755A10E245@msys.ch> <20090822182923.000064e0@unknown> <C1C76364BD5341C887C0AEA906BB5763@kmlaptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Aug 2009 21:02:32 +0200 "Aur=E9lien M=E9r=E9" <aurelien.mere@amc-os.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090823170849.00000fdb>