[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Custom script, rrd file, GAUGE datatype , UNKN



On Mon, Jun 2, 2008 at 5:01 AM, Anna Jonna Armannsdottir <annaj (at) hi.is>
wrote:

> On fös, 2008-05-30 at 16:03 -0400, Josh Luthman wrote:
> > Would you mind posting what you did wrong here should someone come
> > across the same situation and want to learn from your mistake?
>
> Of course. :)
> I expected the data in the rrd file to reflect directly
> on the data that appears on the test page in Hobbit.
> When the datatype is DERIVE, the number shown on the test
> page in Hobbit - in this particular case flexlm and the
> data shown is [ MATLAB : 2 ] - then this reflects directly
> on <last_ds> field, the value is 2.
>
> When the dataset is changed to GAUGE, the picture changes.
> The value in the <last_ds> field, is always unknown.
> The value field seems to be an integrated or averaged
> function of the data shown in the test in Hobbit.


This is a feature of rrdtool.  When the rrd file is created, it is built
with a specific start time and update interval.  If your data is inserted
precisely on the update interval, it should be recorded as given.  If the
update is *not* precisely on the update interval, it will be adjusted to fit
a curve based on previous values.

Ralph Mitchell