[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ganglia-general
Subject:    [Ganglia-general] Fw: All the custom metrics are not plotted as graphs in the browser
From:       Manjunath K E <manjunath.ke () iiitb ! org>
Date:       2017-09-27 11:06:24
Message-ID: KL1PR01MB0709F22D6352CCDAFB09A7F89F780 () KL1PR01MB0709 ! apcprd01 ! prod ! exchangelabs ! com
[Download RAW message or body]

Hi Brent,

Thank you very much for the reply.

And sorry for the delayed response.

I followed the steps provided by you.

The rrds files are not getting created for all the 183 metrics.

There is no error shown by gmond (when run 1ith -d 2). But, my observation is that \
all the 183 metrics are collected and sent to gmetad by gmond.


But, Only 96 metrics are getting saved to the rrds folder.

i.e.. "saving metadata for metric: <custom-metric> host: <host-name>"
These  kind of sentences are shown only for the 96 metrics and all those metrics are \
available in rrds directory.


Is it required to change "time_threshold" and "collect_every" variable values in \
gmond.conf and *.pyconf files??

Could you please suggest me something on this.

Thanks
Manjunath


----- Message from brent_henderson@tx.rr.com<mailto:brent_henderson@tx.rr.com> \
---------  Date: Wed, 20 Sep 2017 10:59:49 -0400
   From: brent_henderson@tx.rr.com<mailto:brent_henderson@tx.rr.com>
Subject: Re: [Ganglia-general] All the custom metrics are not plotted as graphs in \
                the browser
     To: ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>



> Hi Manjunath,
> 
> Not sure if I can help you or not, but let me ask a couple of
> clarifying questions.
> 1.  Are you trying to display all of the custom metrics in one graph
> or are you
> trying to show 183 separate graphs on the 'host report' page?
> (guessing the latter)
> 2.  Assuming in separate graphs, are you seeing broken links to the
> graphs, or they
> are just missing altogether?
> 3.  In your rrds directory for this host, do you see your custom
> metric rrd files?
> e.g.
> /var/lib/ganglia/rrds/localhost/{custom_metric1,custom_metric2,...}.rrd
> 
> My guess is that it is a collection side issue so when you look for
> the rrd file for some
> of the metrics they are missing.  If it is the case, pick just one
> that is missing and move
> all but the .pyconf file for that metric out of the conf.d directory
> and try running gmond
> on the command line with the -d 2 option.  This will keep the daemon
> in the foreground and
> let you see any error messages as they go by.
> 
> Hope it helps!
> 
> brent
> 
> ---- Manjunath K E <manjunath.ke@iiitb.org<mailto:manjunath.ke@iiitb.org>> wrote:
> > Hi All,
> > 
> > 
> > I have installed ganglia (gmetad & gmond) on RHEL linux server. I
> > have written python modules to collect few custom metrics and plot
> > them. There are 183 custom metrics to be collected and separate
> > scripts are written for  each of the custom metrics. But, out of 183
> > metrics, only 96 metrics are getting plotted on the browser.
> > 
> > 
> > I have set the following variables in the ".pyconf" file as :
> > time_threshold = 180
> > 
> > collect_every = 600
> > 
> > 
> > 
> > Could anyone help me, so that I would be able to get the graph
> > plotted for all the 183 custom metrics
> > 
> > Thanks & Regards,
> > 
> > Manjunath K E
> > +91 9620469651
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/ganglia-general

Thanks and Regards,

Manjunath K E
________________________________


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} \
--></style> </head>
<body dir="ltr">
<div id="divtagdefaultwrapper" \
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" \
dir="ltr"> <br>
<div style="color: rgb(0, 0, 0);">
<div id="divRplyFwdMsg" dir="ltr"></div>
<div>
<p>Hi Brent,<br>
<br>
Thank you very much for the reply.<br>
<br>
And sorry for the delayed response.<br>
<br>
I followed the steps provided by you.<br>
<br>
The rrds files are not getting created for all the 183 metrics.<br>
<br>
There is no error shown by gmond (when run 1ith -d 2). But, my observation is that \
all the 183 metrics are collected and sent to gmetad by gmond.<br> <br>
<br>
But, Only 96 metrics are getting saved to the rrds folder.<br>
<br>
i.e.. <strong>&quot;saving metadata for metric: &lt;custom-metric&gt; host: \
&lt;host-name&gt;&quot;&nbsp;&nbsp;</strong><br> These&nbsp; kind of sentences are \
shown only for the 96 metrics and all those metrics are available in rrds \
directory.<br> <br>
<br>
Is it required to change &quot;time_threshold&quot; and &quot;collect_every&quot; \
variable values in gmond.conf and *.pyconf files??<br> <br>
Could you please suggest me something on this.<br>
<br>
Thanks<br>
Manjunath<br>
<br>
<br>
----- Message from <a \
href="mailto:brent_henderson@tx.rr.com">brent_henderson@tx.rr.com</a> ---------<br> \
&nbsp; &nbsp;Date: Wed, 20 Sep 2017 10:59:49 -0400<br> &nbsp; &nbsp;From: <a \
                href="mailto:brent_henderson@tx.rr.com">brent_henderson@tx.rr.com</a><br>
                
Subject: Re: [Ganglia-general] All the custom metrics are not plotted as graphs in \
the browser<br> &nbsp; &nbsp; &nbsp;To: <a \
href="mailto:ganglia-general@lists.sourceforge.net">ganglia-general@lists.sourceforge.net</a><br>
 <br>
<br>
&gt; Hi Manjunath,<br>
&gt;<br>
&gt; Not sure if I can help you or not, but let me ask a couple of<br>
&gt; clarifying questions.<br>
&gt; 1.&nbsp; Are you trying to display all of the custom metrics in one graph<br>
&gt; or are you<br>
&gt;&nbsp; &nbsp; &nbsp;trying to show 183 separate graphs on the 'host report' \
page?&nbsp;<br> &gt; (guessing the latter)<br>
&gt; 2.&nbsp; Assuming in separate graphs, are you seeing broken links to the<br>
&gt; graphs, or they<br>
&gt;&nbsp; &nbsp; &nbsp;are just missing altogether?<br>
&gt; 3.&nbsp; In your rrds directory for this host, do you see your custom<br>
&gt; metric rrd files?<br>
&gt;&nbsp; &nbsp; &nbsp;e.g.<br>
&gt; /var/lib/ganglia/rrds/localhost/{custom_metric1,custom_metric2,...}.rrd<br>
&gt;<br>
&gt; My guess is that it is a collection side issue so when you look for<br>
&gt; the rrd file for some<br>
&gt; of the metrics they are missing.&nbsp; If it is the case, pick just one<br>
&gt; that is missing and move<br>
&gt; all but the .pyconf file for that metric out of the conf.d directory<br>
&gt; and try running gmond<br>
&gt; on the command line with the -d 2 option.&nbsp; This will keep the daemon<br>
&gt; in the foreground and<br>
&gt; let you see any error messages as they go by.<br>
&gt;<br>
&gt; Hope it helps!<br>
&gt;<br>
&gt; brent<br>
&gt;<br>
&gt; ---- Manjunath K E &lt;<a \
href="mailto:manjunath.ke@iiitb.org">manjunath.ke@iiitb.org</a>&gt; wrote:<br> \
&gt;&gt; Hi All,<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have installed ganglia (gmetad &amp; gmond) on RHEL linux server. I<br>
&gt;&gt; have written python modules to collect few custom metrics and plot<br>
&gt;&gt; them. There are 183 custom metrics to be collected and separate<br>
&gt;&gt; scripts are written for&nbsp; each of the custom metrics. But, out of \
183<br> &gt;&gt; metrics, only 96 metrics are getting plotted on the browser.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have set the following variables in the &quot;.pyconf&quot; file as :<br>
&gt;&gt; time_threshold = 180<br>
&gt;&gt;<br>
&gt;&gt; collect_every = 600<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Could anyone help me, so that I would be able to get the graph<br>
&gt;&gt; plotted for all the 183 custom metrics<br>
&gt;&gt;<br>
&gt;&gt; Thanks &amp; Regards,<br>
&gt;&gt;<br>
&gt;&gt; Manjunath K E<br>
&gt;&gt; &#43;91 9620469651<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
 &gt; Check out the vibrant tech community on one of the world's most<br>
&gt; engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" \
target="_blank"> http://sdm.link/slashdot</a><br>
&gt; _______________________________________________<br>
&gt; Ganglia-general mailing list<br>
&gt; <a href="mailto:Ganglia-general@lists.sourceforge.net">Ganglia-general@lists.sourceforge.net</a><br>
 &gt; <a href="https://lists.sourceforge.net/lists/listinfo/ganglia-general" \
target="_blank"> https://lists.sourceforge.net/lists/listinfo/ganglia-general</a><br>
<br>
Thanks and Regards,<br>
</p>
<div>Manjunath K E</div>
<hr>
</div>
</div>
</div>
</body>
</html>


[Attachment #4 (--===============8127545265392953261==)]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic