[hobbit] Temperature status formatting for graphs

Robert Edeker idxman01 at gmail.com
Fri Feb 25 15:50:08 CET 2005


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



More information about the Xymon mailing list