<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ohh that sounds like it would be handy.  Please let us know if you find
it.<br>
<br>
-Charles<br>
<br>
Galen Johnson wrote:
<blockquote
 cite="mid:6C2B32F89382AF42875672B6F5BEB68202DFC87C@MERCMBX07.na.sas.com"
 type="cite">
  <pre wrap="">I thought I had seen a script that allowed a user to select the servers and graphs they wanted to show on one graph...similar to the admintools script but a dynamic form-based rrd tool...I'll dig around some more to see if I can find it again...if I remember right, it didn't care how many rrds or their relationships on a graph...so you could potentially have 15 servers on one graph (all showing different info but only the first one's y-axis...)

=G=  

-----Original Message-----
From: Henrik Stoerner [<a class="moz-txt-link-freetext" href="mailto:henrik@hswn.dk">mailto:henrik@hswn.dk</a>] 
Sent: Tuesday, May 01, 2007 4:02 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a>
Subject: Re: [hobbit] Need help getting multi-process graphs (Metrics Report) working

Hi Charles,

didn't you get the mail I sent you friday ? Here is it again:

!Date: Fri, 27 Apr 2007 13:05:55 +0200
!From: Henrik Stoerner <a class="moz-txt-link-rfc2396E" href="mailto:henrik@hswn.dk"><henrik@hswn.dk></a>
!Subject: Re: Quick questions about multi-host graphs
!To: Charles Jones <address snipped>
!
!The hobbitgraph code currently cannot handle the combination of multiple !hosts and multiple files for one host. So when you define a multi-host !graph, you must use an FNPATTERN which matches a single file.
!
!I haven't figured out a sensible way of presenting multiple graphs for !multiple hosts in one image - hence this restriction. If you have any !ideas on how this can be done, let me know. The images get awfully !crowded very quickly, and difficult to interpret.
!
!
!Regards,
!Henrik


On Tue, May 01, 2007 at 11:38:47AM -0700, Charles Jones wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm trying to make multi-host graphs out of the following rrd's:

[hobbit@mon rrd]$ find . -name processes\* |egrep 'web-12|web-13'
./web-12/processes.Apache_app1.rrd
./web-12/processes.Apache_main.rrd
./web-12/processes.Apache_app2.rrd
./web-12/processes.Apache_app4.rrd
./web-12/processes.Apache_app3.rrd
./web-12/processes.Apache_app3.rrd
./web-13/processes.Apache_app1.rrd
./web-13/processes.Apache_main.rrd
./web-13/processes.Apache_app2.rrd
./web-13/processes.Apache_app4.rrd
./web-13/processes.Apache_app3.rrd
./web-13/processes.Apache_app3.rrd

The rrds are simple process counts with "count" as the DS:
[hobbit@mon rrd]$ rrdtool dump ./web-12/processes.Apache_app1.rrd |grep name
               <name> count </name>

Here is my hobbitgraph.cfg definition:

[processes-multi]
       FNPATTERN processes.(.+).rrd
       TITLE Multi-host Process counts
       YAXIS #
       DEF:cnt@RRDIDX@=@RRDFN@:count:AVERAGE
       -l 0 -A
       LINE2:cnt@RRDIDX@#@COLOR@:@RRDPARAM@
       GPRINT:cnt@RRDIDX@:LAST: \: %10.1lf (cur)
       GPRINT:cnt@RRDIDX@:MAX: \: %10.1lf (max)
       GPRINT:cnt@RRDIDX@:MIN: \: %10.1lf (min)
       GPRINT:cnt@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

This looks to me like it should work, at least assuming that there are 
the same number of .rrd per host (there are), but I'm getting a broken 
graph image when I try to do a metrics report for multi-host processes 
counts.  I have found that if I do a metrics report on a SINGLE host, 
the graph displays properly.  Any idea what could be wrong?

To unsubscribe from the hobbit list, send an e-mail to 
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->

To unsubscribe from the hobbit list, send an e-mail to <a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>



To unsubscribe from the hobbit list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>
  </pre>
</blockquote>
<br>
</body>
</html>