Last step in graphing a custom test is being elusive
I've successfully modified the extra script to capture the data from my custom test. It looks like the rrd file is being populated (the timestamp changes). I've added the test name to TEST2RRD and GRAPHS (the last one got me the most traction so far).
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?
Thanks.
Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
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
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&dis...
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
participants (2)
-
henrik@hswn.dk
-
rsmrcina@wi.rr.com