<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>It seems that a lot of people (including me) have a need to 
create custom graphs that require building an ext script for even the simplest 
guage type graphs. I'm about to go through the NCV docs and attempt to create a 
guage-type graph to track tomcat garbage collection times.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What would be cool is if hobbit had a way of 
handling simple tasks like this, defined on the server side in client-local.cfg, 
similar to the LOG option.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is an example of a tomcat garbage collection 
log:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$ tail -5 gc.log<BR>15424.931: [Full GC 
48511K->48216K(1022400K), 0.4856710 secs]<BR>15485.431: [Full GC 
48540K->48217K(1022400K), 0.4745360 secs]<BR>15545.927: [Full GC 
48513K->48218K(1022400K), 0.4845780 secs]<BR>15606.449: [Full GC 
48513K->48215K(1022400K), 0.5136750 secs]<BR>15667.010: [Full GC 
48511K->48216K(1022400K), 0.5008330 secs]<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>It would be so cool if you could make a definition 
in client-local.cfg similar to:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>"graph:filename:PATTERN:x-axis_name:y-axis_name"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So an example usage of this would be:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>graph:/var/log/tomcat/gc.log:"%.+%d.%d 
secs":"Garbage Collection":seconds</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Just an idea for the drawing board :) Hmm this 
would also solve my problem of ext scripts having unique names in a shared 
directory :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Charles</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>