Sha256: 7bde0a61c46c89c205f6e6dcff2c3aa2f58fa4996bfb9516c49c6ae180568c12

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 Bytes

Contents

class profile::metrics::collectd {

  class { '::collectd':
    purge_config => true,
    interval     => 5,
  }

  include ::collectd::plugin::cpu
  #include ::collectd::plugin::disk
  include ::collectd::plugin::memory
  include ::collectd::plugin::interface
  include ::collectd::plugin::df

  $monitoring_node = lookup({
    'name'          => 'puppet_enterprise::profile::master::metrics_graphite_host',
    'default_value' => false,
  })

  if $monitoring_node {
    collectd::plugin::write_graphite::carbon {'my_graphite':
      graphitehost   => $monitoring_node,
      graphiteport   => 2003,
      graphiteprefix => '',
      protocol       => 'tcp',
    }
  }

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp