pcp
[Top] [All Lists]

Re: pmwebd: Defining the directory for PCP Archives

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Sun, 07 Dec 2014 09:12:43 +1100
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20141206212156.GE5088@xxxxxxxxxx>
References: <1417459116.12396.15.camel@tardis> <y0ma9376psv.fsf@xxxxxxxx> <1417499687.17867.23.camel@tardis> <20141202121245.GP5088@xxxxxxxxxx> <1417556631.941.12.camel@tardis> <20141202230914.GQ5088@xxxxxxxxxx> <1417647290.948.20.camel@tardis> <20141205151437.GD5088@xxxxxxxxxx> <1417898573.20915.7.camel@tardis> <20141206212156.GE5088@xxxxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
Hello Frank,

OK, I do see data when I use the JSON format. Does this look right ?

[{"target":"-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients",
 "datapoints":[[null, 1417816509],[null, 1417816594],[null, 1417816679],[null, 
1417816764],[null, 1417816849],[null, 1417816934],[null, 1417817019],[null, 
1417817104],[null, 1417817189],[null, 1417817274],[null, 1417817359],[null, 
1417817444],[null, 1417817529],[null, 1417817614],[null, 1417817699],[null, 
1417817784],[null, 1417817869],[null, 1417817954],[null, 1417818039],[null, 
1417818124],[null, 1417818209],[null, 1417818294],[null, 1417818379],[null, 
1417818464],[null, 1417818549],[null, 1417818634],[null, 1417818719],[null, 
1417818804],[null, 1417818889],[null, 1417818974],[null, 1417819059],[null, 
1417819144],[null, 1417819229],[null, 1417819314],[null, 1417819399],[null, 
1417819484],[null, 1417819569],[null, 1417819654],[null, 1417819739],[null, 
1417819824],[null, 1417819909],[null, 1417819994],[null, 1417820079],[null, 
1417820164],[null, 1417820249],[null, 1417820334],[null, 1417820419],[null, 
1417820504],[null, 1417820589],[null, 1417820674],[null, 1417820759],[null, 
1417820844],[null, 1417820929],[null, 1417821014],[null, 1417821099],[null, 
1417821184],[null, 1417821269],[null, 1417821354],[null, 1417821439],[null, 
1417821524],[null, 1417821609],[null, 1417821694],[null, 1417821779],[null, 
1417821864],[null, 1417821949],[null, 1417822034]

I will also try Grafana. 

On Sat, 2014-12-06 at 16:21 -0500, Frank Ch. Eigler wrote:
> Hi -
> 
> > I have been very careful and clicked only once.
> > Each time I click, I see the icon on the Graphite composer window blink,
> > and the following entries in the log
> 
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] HTTP/1.1 GET 
> > /graphite/render/ _salt=1417898098.642 height=421 
> > target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients
> >  
> > target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.disk.all.avactive
> >  width=533
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for 
> > archives under /var/logdata/pmlogger/
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 metrics
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for 
> > archives under /var/logdata/pmlogger/
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 metrics
> > [Sat Dec  6 20:34:58] pmwebd(2993): [10.17.1.18:36430] digested 2 metrics, 
> > timespan [1417811698-1417898098 by 85], in 3.459ms
> 
> OK.  Those should result in some data.  A network or syscall trace
> should show data flowing out of pmwebd.
> 
> > The icon on the Graphite compose points to :
> > http://pmlog.inf.mel.mmd:44323/graphite/render/?width=533&height=421&_salt=1417898098.642&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.disk.all.avactive
> 
> The URL looks fine; that machine is not on the internet so I can't
> poke at it directly.   Append  &format=json  to see a non-PNG textual
> rendering of the result. 
> 
> 
> > Please help. We have put some new servers in production, and have a real
> > need to display data from these.
> 
> Have you tried the grafana frontend?  One can edit/create-new charts,
> and browse through the metric tree interactively, or
> export/edit/import the json dashboard-description.
> 
> 
> - FChE

<Prev in Thread] Current Thread [Next in Thread>