NCV Graph not showing up
Maxeiner, Christian
christian.maxeiner at usd.de
Tue Apr 25 15:13:59 CEST 2006
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
More information about the Xymon
mailing list