pcp
[Top] [All Lists]

Re: pmwebd: Defining the directory for PCP Archives

To: Chandana De Silva <chandana@xxxxxxxxxxxxxxxxxxx>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Sat, 6 Dec 2014 16:21:56 -0500
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1417898573.20915.7.camel@tardis>
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>
User-agent: Mutt/1.4.2.2i
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>