pcp
[Top] [All Lists]

Re: pmwebd: Defining the directory for PCP Archives

To: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Tue, 2 Dec 2014 07:12:45 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1417499687.17867.23.camel@tardis>
References: <1417459116.12396.15.camel@tardis> <y0ma9376psv.fsf@xxxxxxxx> <1417499687.17867.23.camel@tardis>
User-agent: Mutt/1.4.2.2i
Hi, Chandana -

> Thanks for that. I have got a bit further, and hopefully you will be
> able to get me over the hump.

Sounds good.

> 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.  [...]
> I see a window titled "Graphite Composer" on the right hand, with a
> broken icon. The link pointed to by the icon is: [...]  which
> returns : PMWEBD error, code -22: Invalid argument

This can happen when the raster-rendering prerequisite of pmwebd is
absent.  Check pmwebd.log for the "Cairo graphics..."  line.  If you
install cairo-devel, and reconfigure/rebuild pcp/pmwebd, it should
come back with a proud & friendly

        Graphite API enabled
        Graphite API Cairo graphics rendering compiled-in

Without cairo, web browser-side graphic rendering (such as via
graphlot or grafana) is necessary.

- FChE

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