Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 17:13:42 +0200
From:      Marc Balmer <marc@msys.ch>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        =?ISO-8859-1?Q?=22Aur=E9lien_M=E9r=E9=22?= <aurelien.mere@amc-os.com>, Oliver Pinter <oliver.pntr@gmail.com>, Gonzalo Nemmi <gnemmi@gmail.com>, freebsd-hackers@FreeBSD.org
Subject:   Re: Common interface for sensors/health monitoring
Message-ID:  <7306B4ED-D9AF-4946-9FCE-BD1CE7685AC2@msys.ch>
In-Reply-To: <20090823170849.00000fdb@unknown>
References:  <D3D19C706C2842389C87590424D0A8CB@kmlaptop> <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> <19e9a5dc0908212303j28a6913er604bfd06e7df81ec@mail.gmail.com> <2DC22872-96F5-4C0A-82E4-F9755A10E245@msys.ch> <20090822182923.000064e0@unknown> <C1C76364BD5341C887C0AEA906BB5763@kmlaptop> <20090823170849.00000fdb@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 23.08.2009 um 17:08 schrieb Alexander Leidinger:

> 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 =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.

<sarcasm >
such a script would indeed be much nicer than a well crafted framework =20=

for the job.
</sarcasm>

> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7306B4ED-D9AF-4946-9FCE-BD1CE7685AC2>