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: Robert Ãkerblom-Andersson <notifications@xxxxxxxxxx>
Date: Mon, 25 Jan 2016 22:43:14 -0800
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1453790594; bh=3DdD8s3gbqf6D96Kkp5rm2ZYAWksvW5b1upFV5/pLNo=; h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=AOYq5XT7LRSJnEuzysTmpjuX4rOcZymrck9mJ8fOrOCEcs8WHMg6aX+aPxn8iq53Z vSFq1yDrntPB/kBrOHlQUY8P8JKrrww3F6RC+/7adGd4A++CB0MreDvFoSash7uSU3 fKHRJOO1TFEWHQN4yRIweA7uN1XbA0y4hAv8FraA=
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+00bd08b61ad3104533831d391e0051441c73122d88ab230192cf0000000112bed78292a169ce07a8238f@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b61ad3104533831d391e0051441c73122d88ab230192cf0000000112bed78292a169ce07a8238f@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItuLtGBdKiuQK0IU17PrTh92WAgeyks5pdw0CgaJpZM4HLVeY>
References: <performancecopilot/pcp/issues/63@xxxxxxxxxx>
Reply-to: performancecopilot/pcp <reply+00bd08b61ad3104533831d391e0051441c73122d88ab230192cf0000000112bed78292a169ce07a8238f@xxxxxxxxxxxxxxxx>

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.


Reply to this email directly or view it on GitHub.

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