Hi,

This is an example from the apache "module".

The script is in perl.

system("/usr/bin/gmetric --type='float' --name='Apache_$out{$_}'
--value='$stat->{$_}' --unit='$out{$_}'");

Maybe its to quick and dirty? :)

/D

On Tue, Jul 7, 2009 at 8:28 PM, Bernard Li <[email protected]> wrote:

> Hi Daniel:
>
> On Tue, Jul 7, 2009 at 11:10 AM, Daniel Kolvik<[email protected]> wrote:
>
> > Yes, I've 3 custom metric scripts.
> > I'ts only the graphs corresponding to those scripts that don't show
> > regularly.
>
> Okay, that narrows it down.  Can you show us how you are calling gmetric?
>
> Something worth trying out down the road is to convert your gmetric
> calls to Python metric modules:
>
> http://ganglia.wiki.sourceforge.net/ganglia_gmond_python_modules
>
> Cheers,
>
> Bernard
>
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to