It seems that there are two questions here:

1) can gmetric sent metrics at a time
2) can multiple metrics be shown in a single graph.

The answer to #1 is "no, not currently (but it'd be nice to add in the future."
The answer to #2 is "yes."

In versions up to 3.0.7, you can add edit the graph.php file to add
new "report" types that consolidate multiple metrics into a single
chart.  This is how the existing CPU and Memory reports are created,
for example.  Starting with version 3.1.x, there is a new method of
creating all charts that is much more modular in nature (one short
.php file per chart), and should make it much easier to create
non-trivial metric reports.

On Tue, Jul 29, 2008 at 16:05, Craig Simpson <[EMAIL PROTECTED]> wrote:
>
> Trying to figure out how to graph multiple data point in one graph when
> sending data to gmetric?
>
> Below is what I am doing.... and this work but I have endless graphs. How
> can I consolidate this into one with multiple data points? Can I do this?
>
> #!/usr/bin/perl
>
>
> my $Mapping="/root/Ganglia_Distro/mapping.txt";
>
> $Mapping Looks like this: START
> asm01      dm-6
> asm02      dm-7
> asm03      dm-8
> asm04      dm-9
> END
>
> open( FILE, "< $Mapping" ) or die "Can't open $Mapping : $!";
>     while (<FILE>) {
>         my ($alias, $dm) = split(' ');
>
>         my $io_out=`/usr/bin/iostat -x -k -d $dm | grep $dm`;
>         my
> ($dev,$rrqm,$wrqm,$rs,$ws,$rkB,$wkB,$avgrq,$avgqu,$await,$svctm,$util)=split('
> ',$io_out);
>
>         system("/usr/bin/gmetric -t int16 -n $alias.await -v$await");
>         system("/usr/bin/gmetric -t int16 -n $alias.svctm -v$svctm");
>         system("/usr/bin/gmetric -t int16 -n $alias.rkB -v$rkB");
>         system("/usr/bin/gmetric -t int16 -n $alias.wkB -v$wkB");
>
>     }
>
>
> This is to get iostat info for my multipathed devices.
>
> THANKS!!!!!
> Craig
>
>
>
>
>
>
> --
> Get Creative!!! @ http://3rdstone.net
> Use your BRAIN @ http://brainradar.com
> Get Wisdom @ http://www.youtube.com/profile_videos?user=drturistar&p=r
>
>
> "In the circle the beginning and the end are common"
> ~ Heraclitis (540-480BC)
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
>



-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to