[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Questions about hobbitd_rrd
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Questions about hobbitd_rrd
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Wed, 19 Sep 2007 10:44:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=O/x/gNav6A/0PWD7qI0GTrRj7aknBz2Am+I2GBF4sGY=; b=MaZ4KR2cQKb6u5MIWxoM/5uErKAR0+utvsbSzkdFjnuAv3SJ6qgCu3RP6GOmJ/x5A1cLUh8RAxo24ajAsIoBaJNk8J4dUIa6J7HbYR3bfjACxAcZY7YvirEb5yxTvv6eA7Ur7kWy/hpOk7qFZ4TcQUo0OcBOHdWtTbbzr+OUH3o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JDV6icf8Nwaj790YBmBgz0TnVOSvIsCBPqqwzi4RJDaylh92QjrTcnsX8Yl4urXbfQaIxQUfdLSg3tVL7Gw3GmlOHpEWfVQ0P1f5JPcOYPF3G4dzAjtTVaK0t8FdZrCusbvAGYa7Jf6JFTLPE8FymIsnB3XyWQzX/qKubTa2Bnk=
- References: <5FE94042A3B7764CA4E47D5F670889ED0994E913 (at) reddo.geosoft.com>
On 9/19/07, Jason Chambers <Jason.Chambers (at) geosoft.com> 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