[hobbit] Custom graph not showing up. Possible RRD problem?
Johann Eggers
Johann.Eggers at teleatlas.com
Fri Dec 8 16:17:01 CET 2006
> -----Original Message-----
> From: Jon Hittner [mailto:jhittner at vmsinfo.com]
> Sent: Freitag, 8. Dezember 2006 16:11
> To: hobbit at hswn.dk
> 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
>
> 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
More information about the Xymon
mailing list