pcp
[Top] [All Lists]

RE: Replacement for pcp-ise / pcp-pro

To: Nathan Scott <nathans@xxxxxxxxxx>, Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>
Subject: RE: Replacement for pcp-ise / pcp-pro
From: Uher Marek <Marek.Uher@xxxxxxxxxxxx>
Date: Fri, 24 May 2013 16:44:39 +0200
Accept-language: cs-CZ
Acceptlanguage: cs-CZ
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <130080755.11061044.1369349161918.JavaMail.root@xxxxxxxxxx>
References: <DF85F1E58EA9F14C80398BE791ABC195033AB8DEDB43@xxxxxxxxxxxxxxxxxxxxx> <297040775.6857931.1369087178367.JavaMail.root@xxxxxxxxxx> <DF85F1E58EA9F14C80398BE791ABC195033AB8DEDBD0@xxxxxxxxxxxxxxxxxxxxx> <1323977182.8728117.1369170456455.JavaMail.root@xxxxxxxxxx> <DF85F1E58EA9F14C80398BE791ABC195033AB8DEDD1C@xxxxxxxxxxxxxxxxxxxxx> <1920747277.9867519.1369266692595.JavaMail.root@xxxxxxxxxx> <DF85F1E58EA9F14C80398BE791ABC195034D2E6B72FC@xxxxxxxxxxxxxxxxxxxxx> <130080755.11061044.1369349161918.JavaMail.root@xxxxxxxxxx>
Thread-index: Ac5VXl0pROpj4rLxQWKdTDqNRJI6vQjSRuqPCKd/FwAx0exoqkLkzxbQ8OmW7rD1FmXyIOtZtMKQ1YTebIA=
Thread-topic: Replacement for pcp-ise / pcp-pro
        Hi Nathan & Jeff,

-----Original Message-----
From: Nathan Scott [mailto:nathans@xxxxxxxxxx] 
Sent: Friday, May 24, 2013 12:46 AM
To: Uher Marek; Josef 'Jeff' Sipek
Cc: pcp@xxxxxxxxxxx
Subject: Re: Replacement for pcp-ise / pcp-pro

>
>> I also put new packages to web site (if anyone wants to download
>> them):
>> 
>> http://uher.info/debian/dists/wheezy-backports/main/binary-amd64/
>> 
>> Repository listed above is not apt-getable (manual download and
>> installation is necessary) and binaries for amd64 distro are
>> backported only.
>> 
>
> OK, thanks Marek.
>

No problem :-)

>
>> Finally I also downloaded today pcp-graph sources from jeffpc git
>> repository. After installation of some missing dev libraries on my
>> system I was able to build pcp-graph binary. Problem is that there
>> isnât included any documentation or manual page. Program itself
>> requires configuration file on startup. I tried to find any example
>> but I was not successful. Therefore I would like to ask you or Jeff
>> to provide some documentation, man page, example or any other
>
> I've CC'd Jeff for further info.
>

Thanks. 

>
>> In parallel I am trying to revive (just for fun) a piece of pcp-ise
>> which used Xvfb and pmchart to provide graph rendering.
>
> Something similar exists - have a look at pmsnap(1) in the pcp-gui git
> tree, code at pcp-gui/src/snap & man page pcp-gui/man/man1/pmsnap.1
> The advantage of pcp-graph is that it doesn't need an X server, but if
> you don't mind that it might work out for you (I haven't used this for
> awhile, but it used to work & automates the Xvfb startup IIRC).
>

So, I analyzed old pcp-ise script and I tried to update it to follow
latest Debian Wheeze standards. I was partially successful. I rewrote the
init script itself but unfortunately there are used some configuration
files and metrics which are not available anymore (i.e. web metric for pcp,
customized Xresources for Xvfb server, etc.).

It was just a good exercise in bash programming with any usable result.
And as you wrote â there is one big disadvantage: old pcp-ise requires
Xvfb running on server. I am convinced that pcp-graph will be better
solution. I will wait for requested documentation and afterwards I will
try to solve my problem using pcp-graph. Have a nice weekend.

Cheers,

Marek

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