From 109e5855d5e875f9265b4695f34411ae16748ad4 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Tue, 29 May 2018 10:21:45 +0200 Subject: [PATCH] update default configuration and readme --- README.md | 4 ++-- defaults/main.yml | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bb39e29..fab317f 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults | -------------- | ------------- | -----------------------------------| | `node_exporter_version` | 0.15.2 | Node exporter package version | | `node_exporter_web_listen_address` | "0.0.0.0:9100" | Address on which node exporter will listen | -| `node_exporter_enabled_collectors` | [ conntrack, diskstats, entropy, filefd, filesystem, hwmon, loadavg, mdadm, meminfo, netdev, netstat, stat, textfile, time, vmstat, systemd, ntp ] | List of enabled collectors | -| `node_exporter_disabled_collectors` | [ logind ] | List of disabled collectors | +| `node_exporter_enabled_collectors` | [ systemd ] | List of additionally enabled collectors. It adds collectors to those enabled by [default](https://github.com/prometheus/node_exporter#enabled-by-default) | +| `node_exporter_disabled_collectors` | [] | List of disabled collectors. By default node_exporter disables collectors listed [here](https://github.com/prometheus/node_exporter#disabled-by-default). | ## Example diff --git a/defaults/main.yml b/defaults/main.yml index 3a14279..9a081ff 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -3,11 +3,9 @@ node_exporter_version: 0.16.0 node_exporter_web_listen_address: "0.0.0.0:9100" node_exporter_enabled_collectors: - - filesystem: - ignored-mount-points: "^/(sys|proc|dev)($|/)" - ignored-fs-types: "^(sys|proc|auto)fs$" - systemd +# - filesystem: +# ignored-mount-points: "^/(sys|proc|dev)($|/)" +# ignored-fs-types: "^(sys|proc|auto)fs$" -node_exporter_disabled_collectors: - - logind - - ntp +node_exporter_disabled_collectors: []