ci_agent

Install the OneAPM Cloud Insight monitoring agent and run.

fanguanghui

oneapm

6,955 downloads

6,746 latest version

2.2 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Nov 16th 2015
This version is compatible with:
  • Puppet Enterprise 3.2.x
  • Puppet >=2.7.20 <4.0.0
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    Fedora
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

oneapm/ci_agent — version 0.1.2 Nov 16th 2015

Puppet & oneapm-ci_agent

Description

A module to install the oneapm-ci-agent.

Requirements

Puppet 2.7.x or 3.x.

Installation

Install oneapm-ci_agent as a module in your Puppet master's module path.

puppet module install oneapm-ci_agent

Usage

  1. To deploy the oneapm ci agent on nodes, add to your manifests this parametrized class with your license key

    node "app.mydomain.com" {
      class { 'ci_agent':
        license_key => "yourkey",
        # parameters go here.
      }
    }
    
  2. To use a specific agent check or integration on one your nodes, you can refer to each manifest for a sample usage. Here is an example for the mongo integration:

    node "mongo.mydomain.com" {
      class { "ci_agent":
         license_key => "your license key"
      }
      include 'ci_agent::integrations::mongo'
    }
    

Parameters

  • license_key - Required. The OneAPM Cloud Insight license key to associate your Agent's data with your organization.
  • hostname - Default node hostname. Force the hostname to whatever you want if you want.
  • tags - Set the host's tags.
  • log_level - Default INFO.
  • proxy_host - Your proxy server.
  • proxy_port - Your proxy server port.
  • proxy_user - Your proxy account.
  • proxy_password - Your proxy account password.
  • proxy_forbid_method_switch - Default no. To be used with some proxys that return a 302 which make curl switch from POST to GET.
  • skip_ssl_validation - Default no. Might want to set to yes if run agent behind haproxy.