prometheus-node-exporter-service

Example:

# Install the prometheus node exporter.
- prometheus-node-exporter-service:
    web_listen_address: 192.168.1.12:9100

Description

n/a

Resources

Variables

Name Type Default Description

disabled_collectors

list --

List of disabled collectors. By default node_exporter disables collectors listed here.

enabled_collectors

list --

List of additionally enabled collectors. It adds collectors to those enabled by default.

textfile_dir

string --

Directory used by the Textfile Collector. To get permissions to write metrics in this directory, users must be in node-exp system group.

Defaults to "/var/lib/node_exporter".

version

string --

The version of the node exporter.

web_listen_address

string --

Address on which the node exporter will listen. Defaults to '0.0.0.0:9100'

Examples

Example 1

Install the prometheus node exporter.

Code
- prometheus-node-exporter-service:
    web_listen_address: 192.168.1.12:9100

Command-line

frecklecute prometheus-node-exporter-service --help

Usage: frecklecute prometheus-node-exporter-service [OPTIONS]

  Installs the Prometheus node exporter.

Options:
  --disable-collector COLLECTOR   List of disabled collectors.
  --enable-collector COLLECTOR    List of additionally enabled collectors.
  --textfile-dir TEXTFILE_DIR     Directory used by the Textfile Collector.
  --version VERSION               The version of the node exporter.
  --web-listen-address WEB_LISTEN_ADDRESS
                                  Address on which the node exporter will
                                  listen.
  --help                          Show this message and exit.