aboutsummaryrefslogtreecommitdiff
path: root/network/node_exporter/README
blob: c8741f09db97eccc765355f21ba716c4b73eb125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Node exporter is a Go program that collects and exports metrics from
 *NIX kernels to Prometheus. It supports various collectors for CPU,
disk, network, filesystem, and more.

To have the node_exporter daemon start with your host,
add to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.node_exporter ]; then
    /etc/rc.d/rc.node_exporter start
  fi

To enable TLS, create file /etc/node_exporter/web.yml containing:

  tls_server_config:
    cert_file: /etc/node_exporter/node_exporter.crt
    key_file: /etc/node_exporter/node_exporter.key

and place key and cert to the same directory.
In /etc/default/node_exporter modify NODE_EXPORTER_ARGS to:

  NODE_EXPORTER_ARGS="--web.config.file=/etc/node_exporter/web.yml"


NOTE: google-go-lang is only needed at compile time - not needed for
runtime.