<div dir="ltr">I am really rusty on dealing with NCV stuff..I know there is a way to do what you want, but not sure offhand of the proper syntax and whatnot.<br><br>As you suspect, look at the disk definition in hobbitgraph.cfg. Note that it is basically using variables for the DEF, LINE2, and GPRINT options. There is also the use of a wildcard in the rrd name definition, which comes in handy if there are multiple rrd files you are dealing with, in which case you would use:<br>
FNPATTERN (.*).web<br><br>However, from your description it sounds like you probably have a single rrd file that has multiple DS entries in it, which I have never dealt with.<br><br>Looking at the [vmstat] definition, I can see an example of pulling
multiple values from a single rrd file, but you want to do it
dynamically, using a variable for the DS instead of static definitions...hmm<br><br>I just had a look at some of the source code (hobbitgraph.c), and so far it looks to me like that feature is just not implemented. :(<br>
<br>Unless Henrik or someone can reveal the way to do it, it sounds like you are stuck with defining static DS names. Have a look at the [vmstat] definition in hobbitgraph.cfg, which should give you a good idea of how to build your own [jvm] graph definition, by using multiple DEF entries which specific the explicit DS names, example:<br>
DEF:jvm_mn17=jvm.rrd:jvm_mn17:AVERAGE<br>DEF:jvm_mn18=jvm.rrd:jvm_mn18:AVERAGE<br>DEF:jvm_mn19=jvm.rrd:jvm_mn19:AVERAGE<br><br>P.S.  The man page for "rrdcreate" gives some great insight into the structure and use of rrd files.<br>
P.S.S. You could also consider using something external like Cacti to create and display those particular graphs. <br><br>-Charles<br><br><br><div class="gmail_quote">On Thu, Aug 14, 2008 at 11:25 AM, Michael Hobbs <span dir="ltr"><<a href="mailto:michael.hobbs@infusionsoft.com">michael.hobbs@infusionsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size: 9pt;">Hi all,<br>
<br>
I have spent the last day reading documentation and searching the "tubes" for an answer without any luck. Here is my scenario.<br>
<br>
I have multiple hosts reporting JVM free memory numbers in the following format. Each line is a different JVM name with its current free memory number.<br>
<br>
 mn17camp.web: 846<br>
 mn18camp.web: 669<br>
 mn19camp.web: 337<br>
 mn30camp.web: 938<br>
 mn31camp.web: 750<br>
 mn32camp.web: 812<br>
 mn33camp.web: 723<br>
 mn5camp.web: 785<br>
 mn63camp.web: 179<br>
 mn65camp.web: 518<br>
 mn6camp.web: 597<br>
 mp3camp.web: 673<br>
 tbo1camp.web: 461<br>
 tbo2camp.web: 1030<br>
 tbo3camp.web: 490<br>
<br>
I have hobbit saving them to an rrd file using the data channel in the ncv format. Is there a way to graph these without explicitly defining each jvm name? i.e. Can I iterate through whatever names are in the file? Or can I have hobbit create different rrd files based on content of the ncv file? I'm guessing it could be similar to how the disk test does it. <br>

<br>
Thanks,<br>
<br>
-- <br>
Michael S. Hobbs<br>
sr. systems administrator<br>
<br>
Phone: 480.289.6832 | Fax: 480.807.0665<br>
<a href="http://michael.hobbs@infusionsoft.com" target="_blank">michael.hobbs@infusionsoft.com</a> | <a href="http://www.infusionsoft.com" target="_blank">www.infusionsoft.com</a><br>
<br>
<img src="cid:3301557926_12416683"><br>
</span></font>
</div>


</blockquote></div><br></div>