Defined Type: collectd::plugin::oracle::query

Defined in:
manifests/plugin/oracle/query.pp

Overview

Parameters:

  • statement (String)
  • results (Array)
  • query (String) (defaults to: $name)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/plugin/oracle/query.pp', line 2

define collectd::plugin::oracle::query (
  String $statement,
  Array $results,
  String $query = $name,
) {
  include collectd
  include collectd::plugin::oracle

  $conf_dir = $collectd::plugin_conf_dir

  concat::fragment { "collectd_plugin_oracle_query_${name}":
    order   => '10',
    content => template('collectd/plugin/oracle/query.conf.erb'),
    target  => "${conf_dir}/15-oracle.conf",
  }
}