Xymon Mailing List Archive search

Questions about hobbitd_rrd

list Ralph Mitchell
Wed, 19 Sep 2007 10:44:13 -0500
Message-Id: <user-56bf061f43be@xymon.invalid>

On 9/19/07, Jason Chambers <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