[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Temperature status formatting for graphs
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Temperature status formatting for graphs
- From: Robert Edeker <idxman01 (at) gmail.com>
- Date: Fri, 25 Feb 2005 09:50:08 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RHMULarQ+X68tYXQnvWIN3ag/lJGk54NEWl1XmEgdlTq1qkSPa7UeLU/Ng4A3RIjJKHIwO7fI55Jaipgk26aiilV1nwScu/hQt4iFEbyAajIRWVrDBrYaGBbnPlAOoGbMJFz3wXPxTRxk/gpq9n2FH/S1KfNe9bUc4WbojAIcmQ=
- References: <dc9eccaf05022414272091d4b0@mail.gmail.com> <20050225065641.GA15206@hswn.dk>
On Fri, 25 Feb 2005 07:56:41 +0100, Henrik Stoerner <henrik (at) hswn.dk> wrote:
> On Thu, Feb 24, 2005 at 05:27:35PM -0500, Robert Edeker wrote:
> >
> > So does the data need to be in _exactly_ the same format as sampled
> > in do_temperature.c or can there be extra columns and more spaces?
> > I'd like to add the warn/panic thresholds to the status output for the
> > computer operators..
>
> But your suggestions does make sense. How about this:
>
> Device Temp(C) Temp(F)
> --------------------------------------
> &green Motherboard#0 31 87 (Warn: 40, Panic: 50)
>
> i.e. your extra information is inside parenthesis ? I'd just strip
> everything from '(' to ')' from the line before processing it, and
> then handle the rest of the report as I do now - so you can put
> whatever info you like there.
Sounds like good solution.. (...and I was wondering why my rrd
filenames were coming out as `temperature.AMBIENT____________26.rrd
:D )
Thank You,
-r