Xymon Mailing List Archive search

Last step in graphing a custom test is being elusive

list Rich Smrcina
Sat, 01 Oct 2005 08:29:21 -0500
Message-Id: <user-845204c3c81a@xymon.invalid>

Here's the URL that comes up when I click on it:

http://192.168.201.12/hobbit-cgi/hobbitgraph.sh?host=vm1&service=sp_util&disp=vm1&action=menu

Here's the section in hobbitgraph.cfg that I'm using:

[sp_util]
         TITLE Spool Utilization
         YAXIS Spool Utilization
         DEF:avg=sp_util.rrd:sp_util:AVERAGE
         CDEF:sp_util=avg,100,/
         AREA:SP_UTIL#00CC00:Spool Utilization
         -u 1.0
         GPRINT:sp_util:LAST: \: %3.0lf (cur)
         GPRINT:sp_util:MAX: \: %3.0lf (max)
         GPRINT:sp_util:MIN: \: %3.0lf (min)
         GPRINT:sp_util:AVERAGE: \: %3.0lf (avg)\n

Admittedly, I just took an existing definition and changed the names.

Thanks.

Henrik Stoerner wrote:
On Sat, Oct 01, 2005 at 01:28:51AM -0500, Rich Smrcina wrote:
Now on the status page for the custom test, I get a link with the name 
'hobbit graph sp_util'.  If I click on it, I get four more on a page by 
themselves.

What's the last step in the process to actually get the graph image to 
appear?

That link should also contain an "<img src=/cgi-bin/hobbitgraph.cgi..."
link to pull in the actual graph. The key thing in that URL is the
"service=foo" part. "foo" is the key into the graph definitions in
hobbitgraph.cfg.

It sounds as if you dont have an [sp_util] section in hobbitgraph.cfg,
detailing how to build the graph from the RRD file.


Henrik

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006