[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] temperature-larrd.pl
- To: hobbit (at) hswn.dk
- Subject: RE: [hobbit] temperature-larrd.pl
- From: "Thiesfeld, Gordon" <GThiesfeld (at) webmd.net>
- Date: Thu, 3 Feb 2005 11:41:58 -0600
Is this something that is going to be implemented into hobbit in the future?
If not, I'd appreciate some help modifying hobbitd_larrd. The only thing I
can do with C is spell it:-)
I'm not using temperature.sh on the client side, but I can format my script
so that the output will match it for consistency.
Thanks,
Gordon
_____
From: Charles Jones [mailto:jonescr (at) cisco.com]
Sent: Friday, January 28, 2005 10:18 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] temperature-larrd.pl
Henrik Stoerner wrote:
On Fri, Jan 28, 2005 at 04:47:27AM -0700, Charles Jones wrote:
I'm assuming this wont work with Hobbit, since Hobbit stores the rrd
files differently. Do you think temperature-larrd.pl could be modified
to run on the Hobbit server and work? Or should I instead attempt to
hack the client temperature.sh to send the temp as a data message and
then create a do_temp.c module?
I looked at converting temperature-larrd.pl when doing the Hobbit
larrd stuff, but I couldn't find the script that feeds it - and
without some idea of what the input data looks like, it's a bit hard
to do the data collection.
Where can I find the client side script ? Or perhaps you can just send
me a sample of the status it reports.
The client script is on deadcat.net -
http://www.deadcat.net/viewfile.php?fileid=501
<http://www.deadcat.net/viewfile.php?fileid=501>
Here is a sample status message, from my BigBrother server that is using it:
logs]# cat *temp
green Fri Jan 28 09:13:19 MST 2005 Temperature status:
Device Temp(C) Temp(F)
-----------------------------------
&green AMBIENT 24 75
&green CPU0 40 104
&green CPU1 40 104
&green CPU2 40 104
&green CPU3 40 104
-----------------------------------
Status green: All devices look okay
Status unchanged in 5.12 hours
Status message received from 1.2.3.4
Note that the output can vary depending on which kind of machine
temperature.sh is run on, but I believe they all have AMBIENT so thats the
main value we want to grab and trend
Speaking of this, it sure would be nice to have some sort of plugin
system, or something for easily creating custom graphs. I can think of
many uses for simple one-element graphs (temperature, emails sent per
day, etc).
You mean doing it in C is too hard :-)
Okay ya got me there :P
The current work-around is to enable the hobbitd_filestore module to
save status- and data-reports to files, the way Big Brother does.
There's an option for hobbitd_filestore so you need not save all
status logs on disk, but only the ones you want to process with some
other tool.
Blah...I'm trying to not use any of the backwards compatible features...I
want new and improved all the way :-)