Xymon Mailing List Archive search

Questions about hobbitd_rrd

list Jason Chambers
Wed, 19 Sep 2007 12:19:48 -0400
Message-Id: <user-ac35857d7d76@xymon.invalid>

Would this work for multiple different datasets off of the same page, or do I need to separate them out?

EG. Put in all the data into the same rrd (temp, voltage, power, fan speed, etc.) then retrieve them one at a time later?


Thanks for all the advice and help guys,


Cheers,

Jason Chambers     I.T. Helpdesk Associate     [cid:image001.jpg at 01C7FAB7.601F9470] <http://www.geosoft.com/>;
XX Richmond St W<http://maps.google.com/maps?f=q&hl=en&q=geosoft&sll=43.650833,-79.382853&sspn=0.00708,0.013411&ie=UTF8&om=1&ll=43.653027,-79.382368&spn=0.00708,0.013433&z=17&iwloc=A&iwd=1&cid=43650833,-79382853,2112187895585156655&dtab=0>; - Toronto, ON, CA - M5H 2C9 - Tel: XXX.XXX.XXXX<skype:+14163690111> ext XXX - Fax: XXX.XXX.XXXX

From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: September-19-07 11:44 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Questions about hobbitd_rrd

On 9/19/07, Jason Chambers <user-3fa671c0a30d@xymon.invalid<mailto:user-3fa671c0a30d@xymon.invalid>> wrote:

I'm just looking at the NCV_ stuff with the hobbit_rrd, and have some questions about it (for my first time setup)


I was wondering how it would handle letters in the data stream, such as:


Total: 3520W

Reserved: 1223W

Used: 1223W

Remaining: 2297W


And also, spaces in the data, such as:


+5 Volts: +4.81 Volts


With this look like NCV_bladecentervolts="+5 Volts:GAUGE" ?


According to the help page (Hobbit menu -> Help -> Custom Graphs):

       note that Hobbit strips off any part of the name that is not a letter or a number;

I don't know how it would handle your "+5 Volts", but it does strip spaces from everything before the colon to get the label, so

   The CPU Temp: 45C

would result in an RRD variable called "TheCPUTemp".

There's an alternative way of doing this, which give you more control.  Take a look at the hobbitd_rrd manual page (Hobbit Menu -> Help -> Manual Pages -> hobbitd_rrd.  You can specify a script that processes the message to generate the RRD definitions and the data values to store.  This allows you much more flexibility when extracting the data from the message.

Ralph Mitchell