[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] NCV Graph not showing up
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] NCV Graph not showing up
- From: "Gary B." <gmbfly98 (at) gmail.com>
- Date: Tue, 25 Apr 2006 17:38:11 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SD/7un2aQ42FZuCgkr6CMdHgFUg4lB/eWEKnlYGI2qy1eqURygI3Ow5b/2IlZRLtlE2odJX+UGUo3uqSkDLqGxvMk6c7jHYRzamJaD/7uTJau7BkTVWr/0SUU5eBjJVHr+xPBn8tF28FNDJPnGQCi8XPvHIucF1dCrW65e9Vb0w=
- References: <0B2A6897945DB84DACCFF1527AD0907D222790@s2k-msx1.itknowhow.org>
Try replacing "roomtemp" in hobbitserver.cfg with "Temperature". I'm not
sure if that makes a difference or not, though. Also, make sure the script
doesn't generate any other text besides "Temperature: <value>"... I had a
script that output some non-value text before the actual text, which was
causing NCV to try to parse that into a number (and thus "NaN" - Not a
Number).
Hi all,
>
> I have just tried to set up a custom NCV graph to monitor the room
> temperature.
>
> An external script generates a status page with the following output
> (example):
>
> Temperature: 22.92
>
> I have added the following entries to my hobbitserver.cfg:
>
> TEST2RRD="....,roomtemp=ncv"
>
> NCV_roomtemp="Temperature:GAUGE"
>
> GRAPHS="...,roomtemp,ncv"
>
> My roomtemp.rrd File has been created and updates regularly.
> Output of rrdtool dump:
>
> <rrd>
> <version> 0001 </version>
> <step> 300 </step> <!-- Seconds -->
> <lastupdate> 1145970097 </lastupdate> <!-- 2006-04-25 15:01:37
> METDST -->
>
> <ds>
> <name> Temperature </name>
> <type> GAUGE </type>
> <minimal_heartbeat> 600 </minimal_heartbeat>
> <min> 0.0000000000e+00 </min>
> <max> NaN </max>
>
> <!-- PDP Status -->
> <last_ds> UNKN </last_ds>
> <value> 2.1708600000e+03 </value>
> <unknown_sec> 0 </unknown_sec>
> </ds>
>
>
> After that, I have added the following to my hobbitgraph.cfg:
>
> [roomtemp]
>
> TITLE Server Room Temperature
>
> YAXIS degrees
>
> DEF:temp=roomtemp.rrd:Temperature:AVERAGE
>
> LINE2:temp#FF0000:Room Temperature
>
> COMMENT:\n
>
> GPRINT:threads:LAST: \: %5.1lf (cur)
>
> GPRINT:threads:MAX: \: %5.1lf (max)
>
> GPRINT:threads:MIN: \: %5.1lf (min)
>
> GPRINT:threads:AVERAGE: \: %5.1lf (avg)\n
>
> There is no graph showing up on status page nor on the trends page. On
> the status page there is only a link "hobbit graph ncv:roomtemp" and on
> the trends page only a link "hobbit graph roomtemp".
>
> What am I doing wrong? Do I have to configure other things than these?
>
> Thank you in advacne for answering.
>
> Chris
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>