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: Tue, 02 Dec 2014 16:54:47 +1100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0ma9376psv.fsf@xxxxxxxx>
References: <1417459116.12396.15.camel@tardis> <y0ma9376psv.fsf@xxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
Hello Frank,
Thanks for that. I have got a bit further, and hopefully you will be
able to get me over the hump.

When I run PCP+Graphite, I can see the archives and can select a metric.
But I do not get a graph when I click on the metric.

The tree I see is on the left hand is:
Graphite
|-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141117-2E-meta
|-disk
|-filesys
   |-avail
   |-blocksize
   |-capacity
   |-free
      |-2F-dev-2F-dm-2D-0
      |-2F-dev-2F-dm-2D-1
      |-2F-dev-2F-vda1
      |-2F-dev-2F-vda2
      |-2F-dev-2F-vda3

I click on the last item, -2F-dev-2F-vda3, and would have expected a
graph to appear on the right hand.

I see a window titled "Graphite Composer" on the right hand, with a
broken icon. The link pointed to by the icon
is:http://pmlog.inf.mel.mmd:44323/graphite/render/?width=1413&height=846&_salt=1417498242.534&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141117-2E-meta.filesys.free.-2F-dev-2F-vda3
which returns : PMWEBD error, code -22: Invalid argument

I will send a screen shot off list to you.



On Mon, 2014-12-01 at 16:08 -0500, Frank Ch. Eigler wrote:
> Chandana De Silva <chandana@xxxxxxxxxxxxx> writes:
> 
> > [...]
> > I do not see an option to define the location of the archives. If I have
> > them in /path/to/pcparchives, how do I define that ?
> > [...]
> > # Graphite
> > OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A $PCP_LOG_DIR -G"
> 
> As per "man pmwebd", the option you're looking for is the -A $DIR above.
> 
> 
> - FChE

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