Re: Common interface for sensors/health monitoring

2009-08-23 Thread Marc Balmer


Am 23.08.2009 um 17:08 schrieb Alexander Leidinger:


On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
 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.



such a script would indeed be much nicer than a well crafted framework  
for the job.



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.


I hope people spend their time on thinking what was bad with the  
sensor framework last time and improve on that, instead.




Bye,
Alexander.


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Common interface for sensors/health monitoring

2009-08-23 Thread Marc Balmer


Am 23.08.2009 um 18:24 schrieb Alexander Leidinger:


On Sun, 23 Aug 2009 17:13:42 +0200 Marc Balmer  wrote:




Am 23.08.2009 um 17:08 schrieb Alexander Leidinger:


On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
 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.



such a script would indeed be much nicer than a well crafted
framework for the job.



Indeed...


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.


I hope people spend their time on thinking what was bad with the
sensor framework last time and improve on that, instead.


Go and read in the archives about it, maybe you understand why
there's not much motivation to spend spare time on such a topic.



Everyone should have the right to come back with a subject, if work is  
put into it.  Or is the stanza that once there has been a heated  
discussion about a topic, there is no possibility to come back to it,  
maybe making it better a seccond time?  And no, I have no plans to do  
so... I am just a bit astonished about the attitude...


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Common interface for sensors/health monitoring

2009-08-23 Thread Alexander Leidinger
On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Common interface for sensors/health monitoring

2009-08-23 Thread Alexander Leidinger
On Sun, 23 Aug 2009 17:13:42 +0200 Marc Balmer  wrote:


> 
> Am 23.08.2009 um 17:08 schrieb Alexander Leidinger:
> 
> > On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
> >  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.
> 
> 
> such a script would indeed be much nicer than a well crafted
> framework for the job.
> 

Indeed...

> > 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.
> 
> I hope people spend their time on thinking what was bad with the  
> sensor framework last time and improve on that, instead.

Go and read in the archives about it, maybe you understand why
there's not much motivation to spend spare time on such a topic.

Bye,
Alexander.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Common interface for sensors/health monitoring

2009-08-23 Thread Rui Paulo
On Sun, Aug 23, 2009 at 06:38:12PM +0200, Marc Balmer wrote:
> Everyone should have the right to come back with a subject, if work
> is put into it.  Or is the stanza that once there has been a heated
> discussion about a topic, there is no possibility to come back to
> it, maybe making it better a seccond time?  And no, I have no plans
> to do so... I am just a bit astonished about the attitude...

I think what Alexander was trying to say was that, given the heated discussion
last time, people are now reluctant to restart another discussion. From what I
remember, it was very hard to understand why such a large number of messages was
being created for such a small detail.

Topics, such as these, pose a high risk of making your FreeBSD developer
experience more painful than it should be. And since I believe a lot of people
here like to work on FreeBSD, sometimes these types of discussions are avoided
for a long time just because the developer(s) doesn't(don't) want to make their
FreeBSD development experience any more painful. I believe that if we keep
insisting on the same bikesheds for a long time, developers will defintely go
away.

So, there's no ``stanza'' or whatever, just human nature.

Regardless of what I just said, the topic keeps coming back and that's a clear
sign that a framework should be developed and, possibly, in a way that appeals
to both parties.

-- 
Rui Paulo
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Common interface for sensors/health monitoring

2009-08-23 Thread Antony Mawer
On Mon, Aug 24, 2009 at 2:38 AM, Marc Balmer wrote:
> Am 23.08.2009 um 18:24 schrieb Alexander Leidinger:
>> On Sun, 23 Aug 2009 17:13:42 +0200 Marc Balmer  wrote:
>>> Am 23.08.2009 um 17:08 schrieb Alexander Leidinger:
 On Sat, 22 Aug 2009 21:02:32 +0200 "Aurélien Méré"
  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.

>>>
>>> I hope people spend their time on thinking what was bad with the
>>> sensor framework last time and improve on that, instead.
>>
>> Go and read in the archives about it, maybe you understand why
>> there's not much motivation to spend spare time on such a topic.
>
> Everyone should have the right to come back with a subject, if work is put
> into it.  Or is the stanza that once there has been a heated discussion
> about a topic, there is no possibility to come back to it, maybe making it
> better a seccond time?  And no, I have no plans to do so... I am just a bit
> astonished about the attitude...

I for one would be quite happy to contribute towards such an effort. I
would much rather contribute towards a project-wide monitoring
solution rather than continuing to extend/maintain my own ad-hoc
monitoring scripts. I am sure many others are in a similar position...
it seems crazy that we are all re-inventing the wheel instead of
contributing to a common effort.

Is there a summary (perhaps something suitable to go on the Project
Ideas page) that outlines:

- An outline of what such a system should provide
- What it should NOT provide (ie. what would be "out of scope")
- What lessons should be learned from the SoC effort (ie. both good
points and what NOT to do)
- Suggested starting points

Maybe that would go a long way to ensuring anyone wanting to start
such an effort without getting to the end and having their efforts
rejected... Yes, bits of this can be found in the past mailing list
posts, but it would nice to have an clear "official" summary of this
so that any volunteer effort has the best chance of being accepted...

-- Antony
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"