[hobbit] temperature-larrd.pl
Charles Jones
jonescr at cisco.com
Fri Jan 28 17:18:09 CET 2005
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
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 :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050128/6fd26b55/attachment.html>
More information about the Xymon
mailing list