Common interface for sensors/health monitoring

Alexander Leidinger Alexander at Leidinger.net
Sun Aug 23 15:09:01 UTC 2009


On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
<aurelien.mere at 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="${metrics} HD3_Temp"
HD3_Temp_value="$(smartctl -A ad3 |awk '/Temperature_Celsius/ { print
$10 }')" HD3_Temp_type="uint8"
HD3_Temp_unit="Celsius"

metrics="${metrics} logins"
logins_value="$(who -q | grep users | cut -d ' ' -f 4)"
logins_type="uint8"
logins_unit="Users"

metrics="${metrics} SwapIn"
SwapIn_value="$(sysctl vm.stats.vm.v_swapin | cut -d ' ' -f 2)"
SwapIn_type="uint32"
SwapIn_unit="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.


More information about the freebsd-hackers mailing list