prometheus
: #sammary This module manages prometheusprometheus::alertmanager
: This module manages prometheus alertmanagerprometheus::apache_exporter
: This module manages prometheus apache_exporterprometheus::beanstalkd_exporter
: This module manages prometheus beanstalkd_exporterprometheus::bird_exporter
: This module manages prometheus bird exporterprometheus::blackbox_exporter
: This module manages prometheus blackbox_exporterprometheus::collectd_exporter
: This module manages prometheus node collectd_exporterprometheus::config
: Configuration class for prometheus monitoring systemprometheus::consul_exporter
: This module manages prometheus node consul_exporterprometheus::dellhw_exporter
: This module manages prometheus node dellhw_exporterprometheus::elasticsearch_exporter
: This module manages prometheus elasticsearch_exporterprometheus::graphite_exporter
: This module manages prometheus node graphite_exporterprometheus::grok_exporter
: This module manages prometheus grok_exporterprometheus::haproxy_exporter
: This module manages prometheus haproxy_exporterprometheus::install
: Install prometheus via different methods with parameters from init Currently only the install from url is implemented, when Prometheus will deliver packages for some Linux distros I will implement the package install method as well The package method needs specific yum or apt repo settings which are not made yet by the moduleprometheus::memcached_exporter
: This module manages prometheus node memcached_exporterprometheus::mesos_exporter
: This module manages prometheus mesos_exporterprometheus::mongodb_exporter
: This module manages prometheus mongodb_exporterprometheus::mysqld_exporter
: manages prometheus mysqld_exporterprometheus::nginx_vts_exporter
: This module manages prometheus nginx_vts_exporterprometheus::node_exporter
: This module manages prometheus node node_exporterprometheus::postfix_exporter
: manages prometheus postfix_exporterprometheus::postgres_exporter
: This module manages prometheus node postgres_exporterprometheus::process_exporter
: This module manages prometheus process_exporterprometheus::puppetdb_exporter
: This module manages prometheus node puppetdb_exporterprometheus::pushgateway
: This module manages prometheus node pushgatewayprometheus::pushprox_client
: This module manages prometheus pushprox_clientprometheus::pushprox_proxy
: This module manages prometheus pushprox_proxyprometheus::rabbitmq_exporter
: This module manages prometheus rabbitmq_exporterprometheus::redis_exporter
: This module manages prometheus node redis_exporterprometheus::run_service
: This class is meant to be called from prometheus. It ensure the service is runningprometheus::server
: class to manage the actual prometheus server. This class gets called from the init.ppprometheus::snmp_exporter
: This module manages prometheus snmp_exporterprometheus::statsd_exporter
: This module manages prometheus statsd_exporterprometheus::varnish_exporter
: This module manages prometheus varnish_exporter
prometheus::service_reload
: This class implements prometheus service reload without restarting the whole service when a config changes
prometheus::alerts
: This module manages prometheus alert files for prometheusprometheus::daemon
: This define managed prometheus daemons that don't have their own classprometheus::scrape_job
: This define is used to export prometheus scrape settings from nodes to be scraped to the node running prometheus itself. This can be used to make prometheus find instances of your running service or application.
Prometheus::GsUri
Prometheus::Initstyle
Prometheus::Install
: type to enforce the different installation methods for our exporters.Prometheus::S3Uri
Prometheus::Uri
#sammary This module manages prometheus
The following parameters are available in the prometheus
class.
Data type: String[1]
the name of the configfile, defaults to prometheus.yaml or prometheus.yml on most operating systems
Default value: 'prometheus.yaml'
Data type: Boolean
Whether to create user for prometheus or rely on external code for that
Default value: true
Data type: String
User running prometheus
Data type: Boolean
Whether to create user for prometheus or rely on external code for that
Default value: true
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: String
Group under which prometheus is running
Data type: Stdlib::Absolutepath
Directory where binaries are located
Data type: Stdlib::Absolutepath
Directory where shared files are located
Data type: String[1]
Architecture (amd64 or i386)
Default value: $facts['os']['architecture']
Data type: String
Prometheus release
Data type: String
Installation method: url or package (only url is supported currently)
Data type: String[1]
Operating system (linux is supported)
Default value: downcase($facts['kernel'])
Data type: Optional[String]
Complete URL corresponding to the Prometheus release, default to undef
Data type: Prometheus::Uri
Base URL for prometheus
Data type: String
Extension of Prometheus binaries archive
Data type: String
Prometheus package name - not available yet
Data type: String
If package, then use this for package ensurel default 'latest'
Data type: String
Prometheus configuration directory (default /etc/prometheus)
Data type: Stdlib::Absolutepath
Location of prometheus local storage (storage.local argument)
Data type: Optional[String[1]]
Extra options added to prometheus startup command
Data type: Hash
Startup config hash
Default value: {}
Data type: Hash
Startup config defaults
Default value: {}
Data type: String
Configuration template to use (template/prometheus.yaml.erb)
Data type: String
Configuration file mode (default 0660)
Data type: Boolean
Whether to enable or not prometheus service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured from prometheus service (default 'running')
Default value: 'running'
Data type: String
Name of the prometheus service (default 'prometheus')
Data type: Boolean
Should puppet manage the prometheus service? (default true)
Default value: true
Data type: Boolean
Should puppet restart prometheus on configuration change? (default true) Note: this applies only to command-line options changes. Configuration options are always reloaded without restarting.
Default value: true
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Hash
Prometheus global configuration variables
Data type: Array
Prometheus rule files
Data type: Array
Prometheus scrape configs
Data type: Array
Prometheus remote_read config to scrape prometheus 1.8+ instances
Data type: Array
Prometheus remote_write config to scrape prometheus 1.8+ instances
Data type: Variant[Array,Hash]
alert rules to put in alerts.rules
Data type: Hash
Hash with extra alert rules to put in separate files.
Default value: {}
Data type: Array
Prometheus alert relabel config under alerting
Data type: Array
Prometheus managers config under alerting
Data type: String
How long to keep timeseries data. This is given as a duration like "100h" or "14d". Until prometheus 1.8.*, only durations understood by golang's time.ParseDuration are supported. Starting with prometheus 2, durations can also be given in days, weeks and years.
Data type: Optional[Variant[Stdlib::HTTPUrl, Stdlib::Unixpath, String[1]]]
The URL under which Alertmanager is externally reachable (for example, if Alertmanager is served via a reverse proxy). Used for generating relative and absolute links back to Alertmanager itself. If omitted, relevant URL components will be derived automatically.
Default value: undef
Data type: Optional[String[1]]
Custom command passed to the archive resource to extract the downloaded archive.
Data type: Optional[String[1]]
Only collect scrape jobs tagged with this label. Allowing to split jobs over multiple prometheuses.
Default value: undef
Data type: Optional[Array[Hash[String[1], Any]]]
Array of scrape_configs. Format, e.g.:
- job_name: some_exporter scheme: https The jobs defined here will be used to collect resources exported via prometheus::daemon, creating the appropriate prometheus scrape configs for each endpoint. All scrape_config options can be passed as hash elements. Only the job_name is mandatory.
Default value: []
Data type: Optional[Integer]
The maximum number of file descriptors for the prometheus server.
Defaults to undef
, but set to a large integer to override your default OS limit.
Currently only implemented for systemd based service.
Default value: undef
Data type: Stdlib::Absolutepath
if requested, we create a user for prometheus or the exporters. The default shell is nologin. It can be overwritten to any valid path.
Data type: Optional[String[1]]
--web.listen-address="0.0.0.0:9090" Address to listen on for UI, API, and telemetry.
Default value: undef
Data type: Optional[String[1]]
--web.read-timeout=5m Maximum duration before timing out read of the request, and closing idle connections.
Default value: undef
Data type: Optional[String[1]]
--web.max-connections=512 Maximum number of simultaneous connections.
Default value: undef
Data type: Optional[String[1]]
--web.route-prefix= Prefix for the internal routes of web endpoints. Defaults to path of --web.external-url.
Default value: undef
Data type: Optional[String[1]]
--web.user-assets= Path to static asset directory, available at /user.
Default value: undef
Data type: Boolean
--web.enable-lifecycle Enable shutdown and reload via HTTP request
Default value: false
Data type: Boolean
--web.enable-admin-api Enable API endpoints for admin control actions.
Default value: false
Data type: Optional[String[1]]
--web.page-title="Prometheus Time Series Collection and Processing Server" Document title of Prometheus instance.
Default value: undef
Data type: Optional[String[1]]
--web.cors.origin=".*" Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2).com'
Default value: undef
Data type: Optional[String[1]]
--storage.tsdb.retention.size=STORAGE.TSDB.RETENTION.SIZE [EXPERIMENTAL] Maximum number of bytes that can be stored for blocks. Units supported: KB, MB, GB, TB, PB. This flag is experimental and can be changed in future releases.
Default value: undef
Data type: Boolean
--storage.tsdb.no-lockfile Do not create lockfile in data directory.
Default value: false
Data type: Boolean
--storage.tsdb.allow-overlapping-blocks [EXPERIMENTAL] Allow overlapping blocks, which in turn enables vertical compaction and vertical query merge.
Default value: false
Data type: Boolean
--storage.tsdb.wal-compression Compress the tsdb WAL.
Default value: false
Data type: Optional[String[1]]
--storage.remote.flush-deadline= How long to wait flushing sample on shutdown or config reload.
Default value: undef
Data type: Optional[String[1]]
--storage.remote.read-sample-limit=5e7 Maximum overall number of samples to return via the remote read interface, in a single query. 0 means no limit. This limit is ignored for streamed response types.
Default value: undef
Data type: Optional[String[1]]
--storage.remote.read-concurrent-limit=10 Maximum number of concurrent remote read calls. 0 means no limit.
Default value: undef
Data type: Optional[String[1]]
--storage.remote.read-max-bytes-in-frame=1048576 Maximum number of bytes in a single frame for streaming remote read response types before marshalling. Note that client might have limit on frame size as well. 1MB as recommended by protobuf by default.
Default value: undef
Data type: Optional[String[1]]
--rules.alert.for-outage-tolerance=1h Max time to tolerate prometheus outage for restoring "for" state of alert.
Default value: undef
Data type: Optional[String[1]]
--rules.alert.for-grace-period=10m Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period.
Default value: undef
Data type: Optional[String[1]]
--rules.alert.resend-delay=1m Minimum amount of time to wait before resending an alert to Alertmanager.
Default value: undef
Data type: Optional[String[1]]
--alertmanager.notification-queue-capacity=10000 The capacity of the queue for pending Alertmanager notifications.
Default value: undef
Data type: Optional[String[1]]
--alertmanager.timeout=10s Timeout for sending alerts to Alertmanager.
Default value: undef
Data type: Optional[String[1]]
[REMOVED, v1 ONLY] -alertmanager.url Comma-separated list of Alertmanager URLs to send notifications to. In Prometheus v2, Alertmanager must be discovered via service discovery
Default value: undef
Data type: Optional[String[1]]
--query.lookback-delta=5m The maximum lookback duration for retrieving metrics during expression evaluations.
Default value: undef
Data type: Optional[String[1]]
--query.timeout=2m Maximum time a query may take before being aborted.
Default value: undef
Data type: Optional[String[1]]
--query.max-concurrency=20 Maximum number of queries executed concurrently.
Default value: undef
Data type: Optional[String[1]]
--query.max-samples=50000000 Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return.
Default value: undef
Data type: Optional[String[1]]
[REMOVED, v1 ONLY] -query.staleness-delta=5m0s Staleness delta allowance during expression evaluations.
Default value: undef
Data type: Optional[String[1]]
[REMOVED, v1 ONLY] -web.telemetry-path="/metrics" Path under which to expose metrics
Default value: undef
Data type: Boolean
[REMOVED, v1 ONLY] -web.enable-remote-shutdown=false Enable remote service shutdown.
Default value: false
Data type: Optional[Enum['debug', 'info', 'warn', 'error', 'fatal']]
--log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error] Value of 'fatal' is also allowed in prometheus v1
Default value: undef
Data type: Optional[Enum['logfmt', 'json']]
--log.format=logfmt Output format of log messages. One of: [logfmt, json]
Default value: undef
Data type: Boolean
Whether to show prometheus configuration file diff in the Puppet logs.
Default value: true
Data type: Array
Extra groups of which the user should be a part
Data type: Stdlib::Absolutepath
Data type: Boolean
Data type: Boolean
This module manages prometheus alertmanager
The following parameters are available in the prometheus::alertmanager
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Stdlib::Absolutepath
The path to put the configuration file
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: Hash
The global alertmanager configuration. Example (also default): prometheus::alertmanager::global: smtp_smarthost: 'localhost:25' smtp_from: 'alertmanager@localhost'
Data type: String[1]
Group under which the binary is running
Data type: Array
An array of inhibit rules. Example (also default): prometheus::alertmanager::inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal:
- 'alertname'
- 'cluster'
- 'service'
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: String[1]
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: $prometheus::os
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Array
An array of receivers. Example (also default): prometheus::alertmanager::receivers:
- name: 'Admin'
email_configs:
- to: 'root@localhost'
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Hash
The top level route. Example (also default): prometheus::alertmanager::route: group_by: - 'alertname' - 'cluster' - 'service' group_wait: '30s' group_interval: '5m' repeat_interval: '3h' receiver: 'Admin'
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the alertmanager service (default 'alertmanager')
Default value: 'alertmanager'
Data type: Stdlib::Absolutepath
The storage path to pass to the alertmanager. Defaults to '/var/lib/alertmanager'
Data type: Array
The array of template files. Defaults to [ "${config_dir}/*.tmpl" ]
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Stdlib::Absolutepath
Data type: Boolean
Default value: false
Data type: Boolean
Default value: true
This module manages prometheus apache_exporter
The following parameters are available in the prometheus::apache_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[Prometheus::Uri]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array[String[1]]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: String[1]
The URI for the Apache status page
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'apache_exporter')
Default value: 'apache_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9117
Data type: String[1]
Default value: 'apache'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus beanstalkd_exporter
The following parameters are available in the prometheus::beanstalkd_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Path to configuration file that stores beanstalkd address
Data type: String[1]
Path to configuration file with tubes mappings (not implemented)
Data type: String[1]
Address of beanstalkd, defaults to localhost
Data type: String[1]
Address to bind beanstalkd_exporter to. Default is different than upstream (*:9371)
Data type: String[1]
Extension for the release binary archive
Data type: Variant[Undef,String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the beanstalkd exporter service (default 'beanstalkd_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 8080
Data type: String[1]
Default value: 'beanstalkd'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus bird exporter
The following parameters are available in the prometheus::bird_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: '/usr/local/bin'
Data type: String
Extension for the release binary archive
Default value: ''
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Default value: 'https://github.com/czerwonk/bird_exporter/releases'
Data type: Array[String]
Extra groups to add the binary user to
Default value: ['bird']
Data type: String[1]
Extra options added to the startup command
Default value: '-bird.v2 -web.listen-address=127.0.0.1:9324 -format.new=true'
Data type: String[1]
Group under which the binary is running
Default value: 'bird-exporter'
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: 'url'
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Default value: 'installed'
Data type: String[1]
The binary package name - not available yet
Default value: 'bird_exporter'
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the bird exporter service (default 'bird_exporter')
Default value: 'bird_exporter'
Data type: String[1]
User which runs the service
Default value: 'bird-exporter'
Data type: String[1]
The binary release version
Default value: '1.2.4'
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9324
Data type: String[1]
Default value: 'bird'
Data type: Optional[Hash]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Example for configuring named blackbox modules via hiera details of the format: https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md prometheus::blackbox_exporter::modules: simple_ssl: prober: http timeout: 10s http: fail_if_not_ssl: true easy_tcp: prober: tcp tcp: preferred_ip_protocol: ip4
The following parameters are available in the prometheus::blackbox_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Absolute path to configuration file (blackbox module definitions)
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array[String]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: Hash
Structured, array of blackbox module definitions for different probe types
Default value: {}
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'blackbox_exporter')
Default value: 'blackbox_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9115
Data type: String[1]
Default value: 'blackbox'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node collectd_exporter
The following parameters are available in the prometheus::collectd_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String[1]]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: String
Options added to the startup command
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the collectd exporter service (default 'collectd_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9103
Data type: String[1]
Default value: 'collectd'
Data type: Optional[Hash]
Default value: undef
Configuration class for prometheus monitoring system
This module manages prometheus node consul_exporter
The following parameters are available in the prometheus::consul_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
HTTP API address of a Consul server or agent. (prefix with https:// to connect over HTTPS) (default "http://localhost:8500")
Data type: Boolean
Generate a health summary for each service instance. Needs n+1 queries to collect all information. (default true)
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: String[1]
Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "info")
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the consul exporter service (default 'consul_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: String[1]
Address to listen on for web interface and telemetry. (default ":9107")
Data type: String[1]
Path under which to expose metrics. (default "/metrics")
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9107
Data type: String[1]
Default value: 'consul'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node dellhw_exporter
The following parameters are available in the prometheus::dellhw_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Default value: 'tar.gz'
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Default value: 'https://github.com/galexrt/dellhw_exporter/releases'
Data type: Array[String]
Extra groups to add the binary user to
Default value: []
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Default value: 'dellhw-exporter'
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Default value: 'present'
Data type: String[1]
The binary package name - not available yet
Default value: 'dellhw_exporter'
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the dellhw exporter service (default 'dellhw_exporter')
Default value: 'dellhw_exporter'
Data type: String[1]
User which runs the service
Default value: 'dellhw-exporter'
Data type: String[1]
The binary release version
Default value: '1.6.0'
Data type: Stdlib::Unixpath
The file path to the omReport executable (default "/opt/dell/srvadmin/bin/omreport")
Default value: '/opt/dell/srvadmin/bin/omreport'
Data type: String
The ip address that the exporter will to listen to (default '')
Default value: ''
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9137
Data type: String[1]
Default value: 'dellhw'
Data type: Optional[Hash]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
This module manages prometheus elasticsearch_exporter
The following parameters are available in the prometheus::elasticsearch_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The URI to obtain elasticsearch stats from
Data type: String[1]
Timeout for trying to get stats from elasticsearch URI
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Since version 1.1.0, the elasticsearch exporter uses kingpin, thus this param to define how we call the es.uri and es.timeout in the $options https://github.com/justwatchcom/elasticsearch_exporter/blob/v1.1.0/CHANGELOG.md
Data type: String[1]
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9114
Data type: String[1]
Default value: 'elasticsearch'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node graphite_exporter
The following parameters are available in the prometheus::graphite_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: String
Options added to the startup command
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the graphite exporter service (default 'graphite_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9108
Data type: String[1]
Default value: 'graphite'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus grok_exporter
The following parameters are available in the prometheus::grok_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Hash
Hash of configuration, see https://github.com/fstab/grok_exporter/blob/master/CONFIG.md for available options
Data type: String[1]
Path to config file, it will be generated from config param
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[Prometheus::Uri]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array[String[1]]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'grok_exporter')
Default value: 'grok_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9144
Data type: String[1]
Default value: 'grok'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus haproxy_exporter
The following parameters are available in the prometheus::haproxy_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Variant[Stdlib::HTTPUrl, Pattern[/unix:(?:\/.+)+/]]
The URI to obtain HAProxy stats from
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the haproxy exporter service (default 'haproxy_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9101
Data type: String[1]
Default value: 'haproxy'
Data type: Optional[Hash]
Default value: undef
Install prometheus via different methods with parameters from init Currently only the install from url is implemented, when Prometheus will deliver packages for some Linux distros I will implement the package install method as well The package method needs specific yum or apt repo settings which are not made yet by the module
This module manages prometheus node memcached_exporter
The following parameters are available in the prometheus::memcached_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Default value: 'tar.gz'
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Default value: 'https://github.com/prometheus/memcached_exporter/releases'
Data type: Array[String]
Extra groups to add the binary user to
Default value: []
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Default value: 'memcached-exporter'
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Default value: 'present'
Data type: String[1]
The binary package name - not available yet
Default value: 'memcached_exporter'
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the memcached exporter service (default 'memcached_exporter')
Default value: 'memcached_exporter'
Data type: String[1]
User which runs the service
Default value: 'memcached-exporter'
Data type: String[1]
The binary release version
Default value: '0.6.0'
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9150
Data type: String[1]
Default value: 'memcached'
Data type: Optional[Hash]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
This module manages prometheus mesos_exporter
The following parameters are available in the prometheus::mesos_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Specify target type master or slave
Data type: String[1]
The URI to obtain mesos stats from
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the mesos exporter service (default 'mesos_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9105
Data type: String[1]
Default value: 'mesos'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus mongodb_exporter
The following parameters are available in the prometheus::mongodb_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The URI to obtain MongoDB stats from
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the mongodb exporter service (default 'mongodb_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Since version 0.7.0, the mongodb exporter uses kingpin, thus this param to define how we call the mongodb.uri in the $options https://github.com/percona/mongodb_exporter/blob/v0.7.0/CHANGELOG.md
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9216
Data type: String[1]
Default value: 'mongodb'
Data type: Optional[Hash]
Default value: undef
manages prometheus mysqld_exporter
The following parameters are available in the prometheus::mysqld_exporter
class.
Data type: Stdlib::Absolutepath
The path to put the my.cnf file
Default value: '/etc/.my.cnf'
Data type: Stdlib::Host
The mysql host.
Default value: localhost
Data type: Variant[Sensitive[String],String]
The mysql user password.
Default value: 'password'
Data type: Stdlib::Port
The port for which the mysql host is running.
Default value: 3306
Data type: Optional[Stdlib::Absolutepath]
The socket which the mysql host is running. If defined, host and port are not used.
Default value: undef
Data type: String[1]
The mysql user to use when connecting.
Default value: login
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[Prometheus::Uri]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the mysqld exporter service (default 'mysqld_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9104
Data type: String[1]
Default value: 'mysql'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus nginx_vts_exporter
The following parameters are available in the prometheus::nginx_vts_exporter
class.
Data type: String
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String
The URI to obtain nginx JSON stats from
Data type: String
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String
Group under which the binary is running
Data type: String
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: String
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: String
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the nginx-vts exporter service (default 'nginx-vts-exporter')
Data type: String
User which runs the service
Data type: String
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9913
Data type: String[1]
Default value: 'nginx_vts'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node node_exporter
The following parameters are available in the prometheus::node_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Optional[Array[String]]
deprecated, unused kept for migration scenatrios will be removed in next release
Default value: undef
Data type: Array[String]
Collectors to enable, addtionally to the defaults https://github.com/prometheus/node_exporter#enabled-by-default
Default value: []
Data type: Array[String]
disable collectors which are enabled by default https://github.com/prometheus/node_exporter#enabled-by-default
Default value: []
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array[String]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'node_exporter')
Default value: 'node_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Boolean
Default value: false
Data type: Stdlib::Port
Default value: 9100
Data type: String[1]
Default value: 'node'
Data type: Optional[Hash]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
manages prometheus postfix_exporter
include prometheus::postfix_exporter
The following parameters are available in the prometheus::postfix_exporter
class.
Data type: Enum['url','package']
Installation method: url
or package
. (Note package
is not available on most OSes.)
Default value: 'url'
Data type: Optional[Stdlib::HTTPUrl]
Complete URL corresponding to the where the release can be downloaded. (This option is only relevant when install_method
is url
.)
Default value: undef
Data type: Stdlib::HTTPUrl
Base URL for the binary archive. (This option is only relevant when install_method
is url
.)
Default value: 'https://github.com/kumina/postfix_exporter/releases'
Data type: String
Extension for the release binary archive. (This option is only relevant when install_method
is url
.)
Default value: ''
Data type: String[1]
The binary release version. (This option is only relevant when install_method
is url
.)
Default value: '0.2.0'
Data type: String[1]
Used when install_method
is package
.
Default value: 'installed'
Data type: String[1]
Used when install_method
is package
.
Default value: 'postfix_exporter'
Data type: Boolean
Whether to create and manage the exporter's user. This can eg. be set to false
if your package already creates a user for you.
Default value: true
Data type: String[1]
User which runs the service.
Default value: 'postfix-exporter'
Data type: Boolean
Whether to create and manage the exporter's group. This can eg. be set to false
if your package already creates a group for you.
Default value: true
Data type: String[1]
Group to run the service as.
Default value: 'postfix-exporter'
Data type: Array[String[1]]
Extra groups to add the exporter user to.
Default value: []
Data type: Boolean
Should puppet manage the service?
Default value: true
Data type: Optional[Prometheus::Initstyle]
Service startup scripts style. When not set, the correct default for your OS will be used.
Can also be set to none
when you don't want the class to create a startup script/unit_file for you.
Typically this can be used when a package is already providing the file.
Default value: undef
Data type: String[1]
The name of the service.
Default value: 'postfix_exporter'
Data type: Stdlib::Ensure::Service
Desired state for the service.
Default value: 'running'
Data type: Boolean
Whether to enable the service from puppet.
Default value: true
Data type: String
Extra options added to the startup command. Override these if you want to monitor a logfile instead of systemd.
Default value: '--systemd.enable --systemd.unit=\'postfix.service\' --postfix.logfile_path=\'\''
Data type: Boolean
Should puppet restart the service on configuration change?
Default value: true
Data type: Boolean
Whether to export a prometheus::scrape_job
to puppetDB for collecting on your prometheus server.
Default value: false
Data type: Stdlib::Port
The port to use in the scrape job. This won't normally need to be changed unless you run the exporter with a non-default port by overriding extra_options
.
Default value: 9154
Data type: String[1]
The name of the scrape job. When configuring prometheus with this puppet module, the jobs to be collected are configured with prometheus::collect_scrape_jobs
.
Default value: 'postfix'
Data type: Optional[Hash]
Labels to configure on the scrape job. If not set, the prometheus::daemon
default ({ 'alias' => $scrape_host }
) will be used.
Default value: undef
Data type: Optional[Stdlib::Host]
Default value: undef
This module manages prometheus node postgres_exporter
The following parameters are available in the prometheus::postgres_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Hash[String[1],String[1]]
Hash of key:value pair to use for alternate environment variables when using param 'postgres_auth_method'
Default value: {}
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array[String[1]]
Extra groups to add the binary user to
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'postgres_exporter')
Default value: 'postgres_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Optional[String]
User to authenticate against postgres
Default value: undef
Data type: Optional[String]
Password to authenticate against postgres
Default value: undef
Data type: Enum['custom', 'env', 'file']
method for presenting username and password to the exporter This can be file, or env (default 'env') Using 'custom' requires 'data_source_custom' values
Data type: String[1]
Uri on howto connect to the database
Data type: String
Default value: ''
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9187
Data type: String[1]
Default value: 'postgres'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus process_exporter
class { 'prometheus::process_exporter':
version => '0.6.0',
arch => 'amd64',
os => 'linux',
bin_dir => '/usr/local/bin',
install_method => 'url',
hash_watched_processes => {
'process_names' => [
{
'name' => "{{.Matches}}",
'cmdline' => [".*process1.*"]
},
{
'name' => "{{.Matches}}",
'cmdline' => [".*process2.*"]
}
]
}
The following parameters are available in the prometheus::process_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[Prometheus::Uri]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the process exporter service (default 'process-exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Hash
A hash of processes to monitor with the ability to pass different options Don't set if you want to use only the Array version of it (watched_processes)
Default value: {}
Data type: Stdlib::Absolutepath
Data type: Array
Default value: []
Data type: String[1]
Default value: $prometheus::config_mode
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9256
Data type: String[1]
Default value: 'process'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node puppetdb_exporter
The following parameters are available in the prometheus::puppetdb_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Default value: 'tar.gz'
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Default value: 'https://github.com/camptocamp/prometheus-puppetdb-exporter/releases'
Data type: Array[String]
Extra groups to add the binary user to
Default value: []
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Default value: 'puppetdb-exporter'
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Default value: 'present'
Data type: String[1]
The binary package name - not available yet
Default value: 'puppetdb_exporter'
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the puppetdb exporter service (default 'puppetdb_exporter')
Default value: 'puppetdb_exporter'
Data type: String[1]
User which runs the service
Default value: 'puppetdb-exporter'
Data type: String[1]
The binary release version
Default value: '1.0.0'
Data type: Stdlib::HTTPUrl
The URI to PuppetDB with http/https protocol at the beginning and /pdb/query
at the end
Default value: 'http://127.0.0.1:8080/pdb/query'
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9635
Data type: String[1]
Default value: 'puppetdb'
Data type: Optional[Hash]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
This module manages prometheus node pushgateway
The following parameters are available in the prometheus::pushgateway
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: String[1]
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: $prometheus::os
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'pushgateway')
Default value: 'pushgateway'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
This module manages prometheus pushprox_client
The following parameters are available in the prometheus::pushprox_client
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array[String[1]]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: String[1]
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: $prometheus::os
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the pushprox_client service (default 'pushprox_client')
Default value: 'pushprox_client'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Hash[String, Scalar]
The environment variable to pass to the daemon
Default value: {}
Data type: String[1]
This module manages prometheus pushprox_proxy
The following parameters are available in the prometheus::pushprox_proxy
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array[String[1]]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $prometheus::init_style
Data type: String[1]
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: $prometheus::os
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the pushprox_proxy service (default 'pushprox_proxy')
Default value: 'pushprox_proxy'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
This module manages prometheus rabbitmq_exporter
The following parameters are available in the prometheus::rabbitmq_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array[String]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the rabbitmq exporter service (default 'rabbitmq_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: String[1]
URL of the RabbitMQ management plugin
Data type: String[1]
User to authenticate against RabbitMQ
Data type: String[1]
Password to authenticate against RabbitMQ
Data type: String[1]
Regular expression used by the exported to chose which queues to export
Data type: String[1]
Regular expression used by the exported to chose which queues NOT to export
Data type: Array[String]
Special capabilities supported by the RabbitMQ version. See README for more details. (default '')
Data type: Array[String]
Which exporter modules should be loaded by default (default 'exchange,node,overview,queue')
Data type: Hash[String,String]
Additional environment variables that should be supplied to the exporter, as a hash of key:value (default {})
Default value: {}
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9090
Data type: String[1]
Default value: 'rabbitmq'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus node redis_exporter
The following parameters are available in the prometheus::redis_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: Array[String]
Array of address of one or more redis nodes. Defaults to redis://localhost:6379
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array[String]
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command For a full list of the exporter's supported extra options please refer to https://github.com/oliver006/redis_exporter
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Namespace for the metrics, defaults to redis
.
Default value: 'redis'
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the node exporter service (default 'redis_exporter')
Default value: 'redis_exporter'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9121
Data type: String[1]
Default value: 'redis'
Data type: Optional[Hash]
Default value: undef
This class is meant to be called from prometheus. It ensure the service is running
class to manage the actual prometheus server. This class gets called from the init.pp
The following parameters are available in the prometheus::server
class.
Data type: String
Default value: $prometheus::configname
Data type: String
Default value: $prometheus::user
Data type: String
Default value: $prometheus::group
Data type: Array
Default value: $prometheus::extra_groups
Data type: Stdlib::Absolutepath
Default value: $prometheus::bin_dir
Data type: Stdlib::Absolutepath
Default value: $prometheus::shared_dir
Data type: String
Default value: $prometheus::version
Data type: String
Default value: $prometheus::install_method
Data type: Prometheus::Uri
Default value: $prometheus::download_url_base
Data type: String
Default value: $prometheus::download_extension
Data type: String
Default value: $prometheus::package_name
Data type: String
Default value: $prometheus::package_ensure
Data type: String
Default value: $prometheus::config_dir
Data type: Stdlib::Absolutepath
Default value: $prometheus::localstorage
Data type: String
Default value: $prometheus::config_template
Data type: String
Default value: $prometheus::config_mode
Data type: Hash
Default value: $prometheus::global_config
Data type: Array
Default value: $prometheus::rule_files
Data type: Array
Default value: $prometheus::scrape_configs
Data type: Array
Default value: $prometheus::remote_read_configs
Data type: Array
Default value: $prometheus::remote_write_configs
Data type: Variant[Array,Hash]
Default value: $prometheus::alerts
Data type: Array
Default value: $prometheus::alert_relabel_config
Data type: Array
Default value: $prometheus::alertmanagers_config
Data type: String
Default value: $prometheus::storage_retention
Data type: Stdlib::Absolutepath
Default value: $prometheus::env_file_path
Data type: Hash
Default value: $prometheus::extra_alerts
Data type: Boolean
Default value: $prometheus::service_enable
Data type: Stdlib::Ensure::Service
Default value: $prometheus::service_ensure
Data type: String[1]
Default value: $prometheus::service_name
Data type: Boolean
Default value: $prometheus::manage_service
Data type: Boolean
Default value: $prometheus::restart_on_change
Data type: Prometheus::Initstyle
Default value: $facts['service_provider']
Data type: Optional[String[1]]
Default value: $prometheus::extra_options
Data type: Hash
Default value: $prometheus::config_hash
Data type: Hash
Default value: $prometheus::config_defaults
Data type: String[1]
Default value: $prometheus::os
Data type: Optional[String]
Default value: $prometheus::download_url
Data type: String[1]
Default value: $prometheus::real_arch
Data type: Boolean
Default value: $prometheus::manage_group
Data type: Boolean
Default value: $prometheus::purge_config_dir
Data type: Boolean
Default value: $prometheus::manage_user
Data type: Boolean
Default value: $prometheus::manage_config
Data type: Optional[Variant[Stdlib::HTTPurl, Stdlib::Unixpath, String[1]]]
Default value: $prometheus::external_url
Data type: Optional[Array[Hash[String[1], Any]]]
Default value: $prometheus::collect_scrape_jobs
Data type: Optional[String[1]]
Default value: $prometheus::collect_tag
Data type: Optional[Integer]
Default value: $prometheus::max_open_files
Data type: Stdlib::Absolutepath
Default value: $prometheus::usershell
This module manages prometheus snmp_exporter
The following parameters are available in the prometheus::snmp_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: String[1]
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Absolute path to configuration file
Data type: String[1]
Configuration file mode (default 0660)
Default value: $prometheus::config_mode
Data type: String
Configuration template to use. If empty, uses upstream config (default "")
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: String[1]
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the snmp exporter service (default 'snmp_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9116
Data type: String[1]
Default value: 'snmp'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus statsd_exporter
The following parameters are available in the prometheus::statsd_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The permissions of the configuration files
Default value: $prometheus::config_mode
Data type: String[1]
Extension for the release binary archive
Data type: Optional[Prometheus::Uri]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the statsd exporter service (default 'statsd_exporter')
Data type: Array[Hash]
The hiera array for mappings:
- map: 'test.dispatcher...*' name: 'dispatcher_events_total' labels: processor: '$2' action: '$1'
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Stdlib::Absolutepath
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9102
Data type: String[1]
Default value: 'statsd'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus varnish_exporter
The following parameters are available in the prometheus::varnish_exporter
class.
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
Extension for the release binary archive
Data type: Optional[String]
Complete URL corresponding to the where the release binary archive can be downloaded
Default value: undef
Data type: Prometheus::Uri
Base URL for the binary archive
Data type: Array
Extra groups to add the binary user to
Data type: String
Extra options added to the startup command
Default value: ''
Data type: String[1]
Group under which the binary is running
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd)
Default value: $facts['service_provider']
Data type: Prometheus::Install
Installation method: url or package (only url is supported currently)
Default value: $prometheus::install_method
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: String[1]
Operating system (linux is the only one supported)
Default value: downcase($facts['kernel'])
Data type: String[1]
If package, then use this for package ensure default 'latest'
Data type: String[1]
The binary package name - not available yet
Data type: Boolean
Purge config files no longer generated by Puppet
Default value: true
Data type: Boolean
Should puppet restart the service on configuration change? (default true)
Default value: true
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: String[1]
Name of the varnish exporter service (default 'varnish_exporter')
Data type: String[1]
User which runs the service
Data type: String[1]
The binary release version
Data type: Boolean
Default value: false
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Stdlib::Port
Default value: 9131
Data type: String[1]
Default value: 'varnish'
Data type: Optional[Hash]
Default value: undef
This module manages prometheus alert files for prometheus
The following parameters are available in the prometheus::alerts
defined type.
Data type: Variant[Array,Hash]
Array (< prometheus 2.0.0) or Hash (>= prometheus 2.0.0) of alerts (see README).
Data type: String[1]
Where to create the alert file for prometheus
Default value: "${prometheus::config_dir}/rules"
Data type: String[1]
Default value: $prometheus::version
Data type: String[1]
Default value: $prometheus::user
Data type: String[1]
Default value: $prometheus::group
Data type: String[1]
Default value: $prometheus::bin_dir
This define managed prometheus daemons that don't have their own class
The following parameters are available in the prometheus::daemon
defined type.
Data type: String[1]
The binary release version
Data type: Prometheus::Uri
Complete URL corresponding to the where the release binary archive can be downloaded
Data type: Any
The service to notify when something changes in this define
Data type: String[1]
User which runs the service
Data type: Prometheus::Install
Installation method: url or package
Default value: $prometheus::install_method
Data type: String
Extension for the release binary archive
Default value: $prometheus::download_extension
Data type: String[1]
Operating system (linux is the only one supported)
Default value: $prometheus::os
Data type: String[1]
Architecture (amd64 or i386)
Default value: $prometheus::real_arch
Data type: Stdlib::Absolutepath
Directory where binaries are located
Default value: $prometheus::bin_dir
Data type: String[1]
The name of the binary to execute
Default value: $name
Data type: Optional[String]
The binary package name
Default value: undef
Data type: String[1]
If package, then use this for package ensure default 'installed'
Default value: 'installed'
Data type: Boolean
Whether to create user or rely on external code for that
Default value: true
Data type: Array
Extra groups of which the user should be a part
Default value: []
Data type: Boolean
Whether to create a group for or rely on external code for that
Default value: true
Data type: Stdlib::Ensure::Service
State ensured for the service (default 'running')
Default value: 'running'
Data type: Boolean
Whether to enable the service from puppet (default true)
Default value: true
Data type: Boolean
Should puppet manage the service? (default true)
Default value: true
Data type: Optional[String[1]]
Custom command passed to the archive resource to extract the downloaded archive.
Default value: $prometheus::extract_command
Data type: Stdlib::Absolutepath
Path where to find extracted binary
Default value: '/opt'
Data type: Stdlib::Absolutepath
Path to the binary in the downloaded archive.
Default value: "/opt/${name}-${version}.${os}-${arch}/${name}"
Data type: Prometheus::Initstyle
Service startup scripts style (e.g. rc, upstart or systemd).
Can also be set to none
when you don't want the class to create a startup script/unit_file for you.
Typically this can be used when a package is already providing the file.
Default value: $facts['service_provider']
Data type: String[1]
Data type: Boolean
Default value: true
Data type: String
Default value: ''
Data type: Hash[String, Scalar]
Default value: {}
Data type: Optional[String]
Default value: $prometheus::env_file_path
Data type: Boolean
Default value: false
Data type: Stdlib::Host
Default value: $facts['networking']['fqdn']
Data type: Optional[Stdlib::Port]
Default value: undef
Data type: String[1]
Default value: $name
Data type: Hash
Default value: { 'alias' => $scrape_host }
Data type: Stdlib::Absolutepath
Default value: $prometheus::usershell
This define is used to export prometheus scrape settings from nodes to be scraped to the node running prometheus itself. This can be used to make prometheus find instances of your running service or application.
The following parameters are available in the prometheus::scrape_job
defined type.
Data type: String[1]
The name of the scrape job. This will be used when collecting resources on the prometheus node. Corresponds to the prometheus::collect_scrape_jobs parameter.
Data type: Array[String[1]]
Array of hosts and ports in the form "host:port"
Data type: Hash[String[1], String[1]]
Labels added to the scraped metrics on the prometheus side, as label:values pairs
Default value: {}
Data type: Stdlib::Absolutepath
Directory used for collecting scrape definitions. NOTE: this is a prometheus setting and will be overridden during collection.
Default value: undef
The Prometheus::GsUri data type.
Alias of Pattern[/^gs:\/\//]
The Prometheus::Initstyle data type.
Alias of Enum['sysv', 'redhat', 'systemd', 'sles', 'debian', 'launchd', 'upstart', 'none']
type to enforce the different installation methods for our exporters.
Alias of Enum['url', 'package', 'none']
The Prometheus::S3Uri data type.
Alias of Pattern[/^s3:\/\//]
The Prometheus::Uri data type.
Alias of Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl, Prometheus::S3Uri, Prometheus::GsUri]