[hobbit] Need help getting multi-process graphs (Metrics Report) working

Galen Johnson gjohnson at trantor.org
Thu May 3 06:56:11 CEST 2007


Can't find it...but I have been playing around with drraw a bit...not 
successfully, but if they ever get it working with rrd 1.2 it'll be a 
nice option to use with hobbit...

=G=

Galen Johnson wrote:
> 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 [mailto:henrik at hswn.dk] 
> Sent: Tuesday, May 01, 2007 4:02 PM
> To: hobbit at hswn.dk
> 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 <henrik at hswn.dk>
> !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:
>   
>> I'm trying to make multi-host graphs out of the following rrd's:
>>
>> [hobbit at 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 at 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 at RRDIDX@=@RRDFN@:count:AVERAGE
>>        -l 0 -A
>>        LINE2:cnt at RRDIDX@#@COLOR@:@RRDPARAM@
>>        GPRINT:cnt at RRDIDX@:LAST: \: %10.1lf (cur)
>>        GPRINT:cnt at RRDIDX@:MAX: \: %10.1lf (max)
>>        GPRINT:cnt at RRDIDX@:MIN: \: %10.1lf (min)
>>        GPRINT:cnt at 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?
>>     
>   





More information about the Xymon mailing list