Xymon Mailing List Archive search

NCV Graph not showing up

list Christian Maxeiner
Thu, 27 Apr 2006 14:46:36 +0200
Message-Id: <user-76643f963da3@xymon.invalid>

Henrik,

thank you for that tip. The problem was in hobbitgraph.cfg. I copied another section within the file and forgot to change "threads" to "temp". It all works know.

Thanks a lot. Chris

-----Ursprüngliche Nachricht-----
Von: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Gesendet: Mittwoch, 26. April 2006 12:16
An: user-ae9b8668bcde@xymon.invalid
Betreff: Re: [hobbit] NCV Graph not showing up

On Tue, Apr 25, 2006 at 03:13:59PM +0200, Maxeiner, Christian wrote:
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".
This points at some problem with generating the graph from the RRD,
using the definitions you've put into hobbitgraph.cfg. But your
definition looks sane enough ...

One way of debugging this is to run the hobbitgraph.sh script "by hand"
and see what error-messages show up. You do it like this (all on one
long line):

QUERY_STRING="host=voodoo.hswn.dk&service=ncv:roomtemp&graph=h
ourly&action=view" REQUEST_METHOD=GET SCRIPT_NAME="" REQUEST_URI="" ~hobbit/cgi-bin/hobbitgraph.sh 
Replace the "host=..." with the name of your host. What does that say ?


Regards,
Henrik