Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Documentation on FreeBSD support #63
Comments
Scorpiion
commented
Jan 25, 2016
|
Hi @mkushnir, I did see your issue here about building on FreeBSD 11-CURRENT. Are you just trying out pcp for personal usage or do you guys use pcp on FreeBSD at Limelight Networks? (saw that you worked at Limelight Networks on your Github profile) |
|
2016-01-25 6:42 GMT+02:00 Robert Åkerblom-Andersson notifications@github.com:
Hello Robert, Our syseng are evaluating different products/tools for collecting Markiyan.
|
Scorpiion
commented
Jan 26, 2016
|
Hi Markiyan, thanks for the feedback, appreciate it. I understand, I have not tried too hard yet to get pcp running on FreeBSD, I'm a little bit time constrained unfortunately. I'm not really supposed to look at monitoring systems at all right at this point in time, I just could not help myself to do some research and try out some open source solutions yesterday. I tried compiling pcp from source on FreeBSD but when I could not get the "qa/admin/check-vm" script to not give any errors I gave up for now. Got it running on the Linux servers though and the Netflix Vector makes it really easy to get some simple graphs up and running within just 5-10 minutes when you have a host you can connect to. The pcp desktop client worked too but it seemed it requires some work to build all graphs... I ran Vector locally with I can also recommend this podcast where @kmcdonell is being interviewed about the pcp project, I listen to it yesterday and it gave a very nice background of the whole pcp project. |
|
Robert, The FreeBSD version of PCP was mostly done by me (a) as an exercise in code portability (the more platforms we can make the code work on, the less likely we are to have embraced some obscure feature of the Linux+gcc-toolchain ecosystem that will come back to bite later) and (b) to see how hard it is to get kernel metrics out of FreeBSD and into PCPland. I have the following *BSD systems in my QA environment and the code builds and part of the QA suite runs there on a regular basis: I used qa/admin/check-vm to set up these machines, so if you're having difficulties there, please send me the details. There is no packaging for *BSD (I don't know anything about how this should be done), so the "build" generates a tarball that can be installed relative to / ... so that probably explains why you can't find a "FreeBSD port" ... and we should add something in the INSTALL file to explain the current status here. In the freebsd PMDA there is basic coverage of cpu, disk, mem and network (interface) metrics. There is no nfs and no zfs ... this does not mean it would be difficult, I just haven't had anyone ask before which would be the trigger for having a look. The available metrics for each operating system vary widely, and for some there are thousands of metrics and hundreds of thousands of metric values, so listing them is probably not helpful ... if your FreeBSD version matches any in the list above, let me know and I'll send you the list of metrics in email. |
Scorpiion
commented
Jan 26, 2016
|
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
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 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 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 |
|
2016-01-26 8:43 GMT+02:00 Robert Åkerblom-Andersson notifications@github.com:
I've just put together a simple port of the current pcp snapshot If it works, we might just post it to FreeBSD Ports. Markiyan.
|
|
Could not send an attachment .tgz from my gmail account, so submitted a pull-request (details please see at #64) |
|
@KenJ with all the recent FreeBSD code & docs you merged, can this be closed? |
|
@natoscott I think we're done here. I'll reply to @Scorpiion in email to answer the 2 questions I did not answer when this was going around the first time. |
Scorpiion commentedJan 25, 2016
Hi,
I'm trying to figure out if and to what extent FreeBSD is supported by/with pcp. The introduction page here suggest that FreeBSD is supported. However, I can't find any FreeBSD port or installation instructions, it's not mentioned at all in the INSTALL file for example. At the same time I could find some mentions of it being compiled on FreeBSD in issues here on Github and online in mailing list archives.
So, if FreeBSD is supported (?), it would be great if that could be stated a little bit clearer. I guess most of the pcp developers use Linux of course, but if it would be possible to provide a little better information about how to get started for FreeBSD that would be really great.
I am evaluating different monitoring solutions at the moment and if we end up using pcp I could maybe help out improving some FreeBSD related docs in the future. One of the requirements for this monitoring solution is full or at least "good enough" FreeBSD support, the basics of cpu/mem/disk/network and potentially some extra NFS and ZFS data would be nice. The things we run on FreeBSD on mainly ZFS+NFS and Nginx (not on the same servers).
Is there some list somewhere listing what is supported for different OSes or something like that? Do you know of any company using pcp and FreeBSD in production or are all users 100% Linux deployments? I know Netflix uses FreeBSD for their open connect CDN, so that could be a potential use I guess but not sure how much or where Netflix use pcp.
Ps. Hope it's okay that I ask this here, I can admit that this might be better to post on the mailing list, not sure, but Github is easier and if some more docs should/will be added then an issue to track that should be okay. Ds.