pcp
[Top] [All Lists]

Re: [pcp] Documentation on FreeBSD support (#63)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: Re: [pcp] Documentation on FreeBSD support (#63)
From: Markiyan Kushnir <notifications@xxxxxxxxxx>
Date: Tue, 26 Jan 2016 03:29:05 -0800
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1453807745; bh=mc8ToPcbAyZEjzIRvSNEnreH9QYgINJeeLbX5MfaKQk=; h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=UVLddNVZ6PckfVr0cANEBoS92Z9U9P24yZCS6j023IeVbC2XbPY5jzMcthYWaGktm uooK8QCRIwljuDr2Ps6dYIpmsNjoaoorCuTALtGPpUHeWuNp9FV2T1DDoKozJo0cbx NdQR3fNE/ob9kGWG2I+nF4s/vz55Xjnb3swuxEug=
In-reply-to: <performancecopilot/pcp/issues/63@xxxxxxxxxx>
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b69f898128af031b9fa5f4e0e7b87457c69b7293a892cf0000000112bf1a8192a169ce07a8238f@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b69f898128af031b9fa5f4e0e7b87457c69b7293a892cf0000000112bf1a8192a169ce07a8238f@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItruLwMgCjbEJd58e9aFGH8qWmWcSks5pd1ABgaJpZM4HLVeY>
References: <performancecopilot/pcp/issues/63@xxxxxxxxxx>
Reply-to: performancecopilot/pcp <reply+00bd08b69f898128af031b9fa5f4e0e7b87457c69b7293a892cf0000000112bf1a8192a169ce07a8238f@xxxxxxxxxxxxxxxx>
2016-01-26 8:43 GMT+02:00 Robert Ãkerblom-Andersson <notifications@xxxxxxxxxx>:
> Hi @kmcdonell, thanks for the input.
>
> I understand the FreeBSD support background better now. I got stuck when I
> could not figure out how to install sadf, the systat command is part of the
> core OS I believe and I can not find any package called systat to installed
> (the systat command does work). You can see the output below. I assume "QA
> optional" packages are not needed, the warnings, well I guess those are not
> critical. /etc/hosts and pcp user I could fix, for the conf file
> /etc/pcp.conf error, is an empty file okay or do I need some proper conf to
> compile? The initialize policy plugin I'm not sure what it means.
>
> Missing: sadf [sysstat]
> Missing: socat [(QA optional)]
> Missing: avahi-browse [avahi-tools or avahi-utils (QA optional)]
> Missing: valgrind [(QA optional)]
> Warning: Package libmicrohttpd not known to pkg-config , need > 0.9.9
> Warning: Package cairo not known to pkg-config , need >= 1.2
> Warning: Package cairo-ft not known to pkg-config , need >= 1.2
> Warning: Package cairo-png not known to pkg-config , need >= 1.2
> No /etc/hosts entry for XXXXXXXXXXXXXXX
> Warning: "/etc/pcp.conf" is missing
> sudo: unknown user: pcp
> sudo: unable to initialize policy plugin
> Error: /home/robert is not searchable by user "pcp"
>
> Do you have some script you use to setup the FreeBSD servers or do you
> install required packages manually?
>
> As far as packaging goes I don't think that has been FreeBSD strongest suit
> historically, however recently (the last few years) a new more "modern"
> package manager has been introduced called "pkgng", I think it works quite
> good, on newer systems it's executable is just called just pkg. I install
> most thing with pkg install [packageName]. I have yet to create any packages
> myself so far but I think it should not be too hard, it's documented here. I
> do have some experience of creating startup rc scripts though, to integrate
> with the service XXX start/stop/restart commands, it is very easy to do.
>
> Locally on the server I use these tools today zfs-stat (it's a script
> fetching zfs data) and the continuous output from this command zpool iostat
> -v 1. The NFS command nfsstat gives lots of NFS stats, it has helped me in
> the past so that's my main tool for NFS stats.
>
> If I could get pcp running on my own that would of course be the best
> solution, but I would appreciate you taking the time to send an email as
> well. You could send the stats for FreeBSD 10.2-RELEASE if you get some time
> over for that, robert at dartvoid.com is my work address, it would be
> interesting to see the output.
>

I've just put together a simple port of the current pcp snapshot
(cf5e23a93d88420bca29b5be206b800845e55546) for FreeBSD, you can see if
it fits your needs (attached). Since the port is based on a snapshot,
I had to make some bugfixes and portability fixes in it, which I
otherwise would upstream.

If it works, we might just post it to FreeBSD Ports.

--
Markiyan.



> â
> Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

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