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).
<br><br><div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I have just tried to set up a custom NCV graph to monitor the room
<br>temperature.<br><br>An external script generates a status page with the following output<br>(example):<br><br>Temperature: 22.92<br><br>I have added the following entries to my hobbitserver.cfg:<br><br>TEST2RRD="....,roomtemp=ncv"
<br><br>NCV_roomtemp="Temperature:GAUGE"<br><br>GRAPHS="...,roomtemp,ncv"<br><br>My roomtemp.rrd File has been created and updates regularly.<br>Output of rrdtool dump:<br><br><rrd><br>        <version> 0001 </version>
<br>        <step> 300 </step> <!-- Seconds --><br>        <lastupdate> 1145970097 </lastupdate> <!-- 2006-04-25 15:01:37<br>METDST --><br><br>        <ds><br>                <name> Temperature </name>
<br>                <type> GAUGE </type><br>                <minimal_heartbeat> 600 </minimal_heartbeat><br>                <min> 0.0000000000e+00 </min><br>                <max> NaN </max>
<br><br>                <!-- PDP Status --><br>                <last_ds> UNKN </last_ds><br>                <value> 2.1708600000e+03 </value><br>                <unknown_sec> 0 </unknown_sec>
<br>        </ds><br><br><br>After that, I have added the following to my hobbitgraph.cfg:<br><br>[roomtemp]<br><br>        TITLE Server Room Temperature<br><br>        YAXIS degrees<br><br>        DEF:temp=roomtemp.rrd:Temperature:AVERAGE
<br><br>        LINE2:temp#FF0000:Room Temperature<br><br>        COMMENT:\n<br><br>        GPRINT:threads:LAST: \: %5.1lf (cur)<br><br>        GPRINT:threads:MAX: \: %5.1lf (max)<br><br>        GPRINT:threads:MIN: \: %5.1lf (min)
<br><br>        GPRINT:threads:AVERAGE: \: %5.1lf (avg)\n<br><br>There is no graph showing up on status page nor on the trends page. On<br>the status page there is only a link "hobbit graph ncv:roomtemp" and on<br>
the trends page only a link "hobbit graph roomtemp".<br><br>What am I doing wrong? Do I have to configure other things than these?<br><br>Thank you in advacne for answering.<br><br>Chris<br><br><br><br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>