Date: Thu, 25 Oct 2007 06:33:49 +1000 From: Sam Lawrance <boris@brooknet.com.au> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org Subject: Re: sensors fun.. Message-ID: <A1147DC1-D1BD-4DF9-92FA-38541B9A2922@brooknet.com.au> In-Reply-To: <200710171245.36949.jhb@freebsd.org> References: <200710171245.36949.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18/10/2007, at 2:45 AM, John Baldwin wrote: > [Trying to redirect this off cvs-all & friends.. ] > > So as I said previously, I thought about this some more offline > last night / > this morning and looked at the code some and here are my thoughts: > > Things I like about the current sensors code: > > - I like the actual sensor object used to represent a sensor. It > has a few > basic things like a string for a name, a type (I would have just done > a "units" for the value, but the type is basically that), and a > basic alarm > state. (I might have done 4 states, think green, yellow, orange, > red mapped > to good, warning, critical, bad. However, the 3 states in the > current code > is fine. 4 states might be overkill.) Perhaps an "unknown" state would be useful for those times when things aren't going quite right.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1147DC1-D1BD-4DF9-92FA-38541B9A2922>