Puppet Class: collectd::plugin::write_prometheus

Defined in:
manifests/plugin/write_prometheus.pp

Overview

Parameters:

  • port (Stdlib::Port) (defaults to: 9103)
  • ensure (Any) (defaults to: 'present')


1
2
3
4
5
6
7
8
9
10
11
# File 'manifests/plugin/write_prometheus.pp', line 1

class collectd::plugin::write_prometheus (
  Stdlib::Port $port = 9103,
  $ensure = 'present',
) {
  include collectd

  collectd::plugin { 'write_prometheus':
    ensure  => $ensure,
    content => template('collectd/plugin/write_prometheus.conf.erb'),
  }
}