On 9/19/07, <b class="gmail_sendername">Jason Chambers</b> <<a href="mailto:Jason.Chambers@geosoft.com">Jason.Chambers@geosoft.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-CA">

<div>

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

<p> </p>

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

<p> </p>

<p><span style="font-size: 10pt;">Total:
3520W</span></p>

<p><span style="font-size: 10pt;">Reserved:
1223W</span></p>

<p><span style="font-size: 10pt;">Used:
1223W</span></p>

<p><span style="font-size: 10pt;">Remaining:
2297W</span></p>

<p> </p>

<p>And also, spaces in the data, such as:</p>

<p> </p>

<pre>+5 Volts: +4.81 Volts</pre>

<p> </p>

<p>With this look like NCV_bladecentervolts="+5
Volts:GAUGE" ?</p></div></div></blockquote><div><br><br>According to the help page (Hobbit menu -> Help -> Custom Graphs):<br><br>       note that Hobbit strips off any part of the name that is not a letter
or a number;</div><br>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<br><br>   The CPU Temp: 45C<br><br>would result in an RRD variable called "TheCPUTemp".
<br><br>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.
<br><br>Ralph Mitchell<br><br></div>