Xymon Mailing List Archive search

Custom graph not showing up. Possible RRD problem?

list Johann Eggers
Fri, 8 Dec 2006 17:22:12 +0100
Message-Id: <user-33b566c7fffd@xymon.invalid>

-----Original Message-----
From: Val Polyakov [mailto:user-f80f448eb4ab@xymon.invalid] On Behalf Of Jon
Hittner
Sent: Freitag, 8. Dezember 2006 17:14
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Custom graph not showing up. Possible RRD
problem?

What do you mean?
Here's our ncv definition:
NCV_inqGraph="DIHM11a:GAUGE,DRE11a:GAUGE,MIRR11b:GAUGE"
                    --^          --^           --^
                      
I see all caps in there...
And these are your DEF's:

DEF:DIHM11Ajon=inqGraph.rrd:DIHM11A:AVERAGE
                                --^

DEF:DRE11ajon=inqGraph.rrd:DRE11A:AVERAGE
                              --^

DEF:MIRR11bjon=inqGraph.rrd:MIRR11B:AVERAGE
                                --^
Please clarify what you mean ?

-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid]
Sent: Friday, December 08, 2006 11:06 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Custom graph not showing up. Possible RRD
problem?

-----Original Message-----
From: Val Polyakov [mailto:user-f80f448eb4ab@xymon.invalid] On Behalf Of Jon
Hittner
Sent: Freitag, 8. Dezember 2006 17:00
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Custom graph not showing up. Possible RRD
problem?

True, but it doesn't matter
Didn't notice it was in there when the email was sent out - the
variable
names are the same now (and have been for a while)... but still no
graphs


-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid]
Sent: Friday, December 08, 2006 10:17 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Custom graph not showing up. Possible RRD
problem?

-----Original Message-----
From: Jon Hittner [mailto:user-419d78321edc@xymon.invalid]
Sent: Freitag, 8. Dezember 2006 16:11
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Custom graph not showing up. Possible RRD
problem?

Hi-

I am trying to create a custom graph

On the client, in /opt/hobbit/client/ext I have a "inqGraph" that
has
this
in it:

#!/bin/sh

. /opt/bb/etc/bbdef.sh


$BB $BBDISP "status `hostname`.inqGraph green `date`

`cat /tmp/queues.txt`

"


exit 0


/tmp/queues has this in it:

DIHM11a : 0

DRE11a : 9

MIRR11b : 5


===================

hobbitserver.cfg

===================

TEST2RRD="......,inqGraph=ncv"


NCV_inqGraph="DIHM11a:GAUGE,DRE11a:GAUGE,MIRR11b:GAUGE"

GRAPHS="......,inqGraph"


===================

hobbitgraph.cfg

===================

[inqGraph]

      Title Queue info

      YAXIS Files

      DEF:DIHM11Ajon=inqGraph.rrd:DIHM11A:AVERAGE

      DEF:DRE11ajon=inqGraph.rrd:DRE11A:AVERAGE

      DEF:MIRR11bjon=inqGraph.rrd:MIRR11B:AVERAGE
I don't know if the DS definitions are case-sensitive, Just a hint:
In your NCV-definition you don't use all upper case letters
      LINE2:DIHM11ajon#00CCCC:DIHM1_1a

      LINE2:DRE11ajon#FF0000:DRE1_1a

      LINE2:MIRR11bjon#FF00CC:MIRR1_1b

      COMMENT:\n

      GPRINT:DIHM11a:LAST:DIHM1_1a \: %5.1lf%s (cur)

      GPRINT:DIHM11a:MAX: \: %5.1lf%s (max)

      GPRINT:DIHM11a:MIN: \: %5.1lf%s (avg)\n

      GPRINT:DRE11a:LAST:DIHM1_1a \: %5.1lf%s (cur)

      GPRINT:DRE11a:MAX: \: %5.1lf%s (max)

      GPRINT:DRE11a:MIN: \: %5.1lf%s (avg)\n

      GPRINT:MIRR11b:LAST:DIHM1_1a \: %5.1lf%s (cur)

      GPRINT:MIRR11b:MAX: \: %5.1lf%s (max)

      GPRINT:MIRR11b:MIN: \: %5.1lf%s (avg)\n


The inqGraph.rrd is being created, however it seems a little
strange.
Your DEF and your GPRINT lines differs:

e.g: DEF:DIHM11Ajon=inqGraph.rrd:DIHM11A:AVERAGE
     GPRINT:DIHM11a:LAST:DIHM1_1a \: %5.1lf%s (cur)

Johann