Oh. Well, you'll have to learn about ganglia plugins. There's documentation
on them, and the source to the default plugins, along with examples, comes
with the distribution. The files I attached are an example of how we handled
disk i/o metrics. The rest, as they say, is up to you.

peace, david

On Tue, Mar 29, 2011 at 11:00 AM, Ron Cavallo <ron_cava...@s5a.com> wrote:

>  Thanks. What should I do with them? (I’m sorry if that sounds so noob,
> but I don’t know coding only scripting)
>
>
>
> *Ron Cavallo*
> *Sr. Director, Infrastructure*
> Saks Fifth Avenue / Saks Direct
> 12 East 49th Street
> New York, NY 10017
> 212-451-3807 (O)
> 212-940-5079 (fax)
> 646-315-0119(C)
> www.saks.com
>
>   ------------------------------
>
> *From:* David Young [mailto:dyo...@saffrontech.com]
> *Sent:* Tuesday, March 29, 2011 10:50 AM
> *To:* Ron Cavallo
> *Cc:* ganglia-general
> *Subject:* Re: [Ganglia-general] Best method for collecting disk I/O
>
>
>
> We did it with a C plugin. I've attached two of the relevant source files.
> They're part of a larger collection of plugins we've done, and I've been
> wanting to add them to the ganglia plugin collection but haven't had time.
> Perhaps you'll find them useful.
>
>
>
> peace, david
>
> On Tue, Mar 29, 2011 at 10:44 AM, Ron Cavallo <ron_cava...@s5a.com> wrote:
>
> Hey there folks.
>
> I am running a 3.1.7 backend and a 3.1.7 gmond. I am interested in
> collecting disk i/o metrics. Any suggestions for the best method?
>
> A module or should I do it with gmetric?
>
> -RC
>
> Ron Cavallo
> Sr. Director, Infrastructure
> Saks Fifth Avenue / Saks Direct
> 12 East 49th Street
> New York, NY 10017
> 212-451-3807 (O)
> 212-940-5079 (fax)
> 646-315-0119(C)
> www.saks.com
>
>
> -----Original Message-----
> From: Jesse Becker [mailto:haw...@gmail.com]
> Sent: Tuesday, March 29, 2011 10:27 AM
> To: indran...@rediff-inc.com
> Cc: ganglia-general
> Subject: Re: [Ganglia-general] How to assign a CDEF:MAX or VDEF value to
> aPHP variable?
>
> You can certainly do this, you just have to write code for it.  You
> have half of it already, the other half is making a call to rrdtool to
> get the value.
>
> You need to make a custom chart, which is mostly straightforward.  See
> the copiously documented examples in <wwwroot>/ganglia/graphs.d/
>
>
> On Tue, Mar 29, 2011 at 09:50, Indranil Chakravorty
> <indran...@rediff-inc.com> wrote:
> > Thanks Jesse, but no I was not looking for that. I was curious if we
> could
> > do something like this,
> > $my_php_variable = max_total_reqm;
> > where max_total_reqm= the VDEF you defined in previous post.
> > In anycase I think the inability of Ganglia to retain MAX values and show
> > absolute values over a long duration is a big spoiler w.r.t my need. As
> such
> > I do not think even knowing what I wanted to know would have helped me
> > much.
> > Thanks,
> > Neel
> >
> > On Tue, 29 Mar 2011 16:37:56 +0530 Jesse Becker <haw...@gmail.com> wrote
> >>you want a VDEF for this.
> >>
> >> VDEF:max_total_reqm=total_reqm,MAXIMUM
> >>
> >> On Tue, Mar 29, 2011 at 01:41, Indranil Chakravorty
> >> <indran...@rediff-inc.com> wrote:
> >> > Suppose I create a CDEF as such in my metric.php file,
> >> >
> >> > ."CDEF:'total_reqm'='erm','orm',+ "
> >> >
> >> > Could anyone please tell me how could I assign "'total_reqm':MAX:" to
> a
> >> > PHP
> >> > variable? Thanks a ton.
> >> >
> >> > Thanks,
> >> > Neel
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Enable your software for Intel(R) Active Management Technology to meet
> >> > the
> >> > growing manageability and security demands of your customers.
> Businesses
> >> > are taking advantage of Intel(R) vPro (TM) technology - will your
> >> > software
> >> > be a part of the solution? Download the Intel(R) Manageability Checker
> >> > today! http://p.sf.net/sfu/intel-dev2devmar
> >> > _______________________________________________
> >> > Ganglia-general mailing list
> >> > Ganglia-general@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Jesse Becker
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Enable your software for Intel(R) Active Management Technology to meet
> the
> >> growing manageability and security demands of your customers. Businesses
> >> are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> >> be a part of the solution? Download the Intel(R) Manageability Checker
> >> today! http://p.sf.net/sfu/intel-dev2devmar
> >> _______________________________________________
> >> Ganglia-general mailing list
> >> Ganglia-general@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >>
>
>
>
> --
> Jesse Becker
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
>
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to