treydock-pcp

PCP module


Keywords
monitoring, metrics
License
Apache-2.0
Install
puppet module install treydock-pcp --version 1.8.0

Documentation

puppet-module-pcp

Puppet Forge Build Status

  1. Overview
  2. Usage - Configuration options
  3. Reference - Parameter and detailed reference to all options
  4. Compatibility
  5. Development - Guide for contributing to the module

Overview

This module manages Performance Co-Pilot (PCP)

Only PCP >= 3.11.3 is supported

Usage

To install PCP to log locally

class { 'pcp': }

Example of using PCP without default logger and pmie as well as disabling pmlogger log archival

class { '::pcp':
  include_default_pmlogger => false,
  include_default_pmie     => false,
  pmlogger_daily_args      => '-M -k forever',
}

Define a new primary logger that logs to a shared location

pcp::pmlogger { 'supremm':
  ensure         => 'present',
  hostname       => 'LOCALHOSTNAME',
  primary        => true,
  socks          => false,
  log_dir        => '/data/supremm/pmlogger/LOCALHOSTNAME',
  args           => '-r -c config.default',
}

Install and enable a PMDA

pcp::pmda { 'slurm': }

Reference

http://treydock.github.io/puppet-module-pcp/

Compatibility

This module only works with PCP >= 3.11.3

Tested using

  • CentOS 6
  • CentOS 7

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake beaker