-
Notifications
You must be signed in to change notification settings - Fork 36
/
harvest.yml
84 lines (75 loc) · 2.12 KB
/
harvest.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Admin:
# Listen address for Prometheus HTTP service discovery end-point
# The endpoint is reachable at SCHEMA://<listen>/api/v1/sd
# Should be one of: localhost:port, :port, or ip:port
# httpsd:
# listen: :8887
# listen: localhost:8887
# Basic auth for - /api/v1/sd
# auth_basic:
# username: admin
# password: admin
# create self-signed certs with 'bin/harvest admin tls create server'
# tls:
# cert_file: cert/admin-cert.pem
# key_file: cert/admin-key.pem
Tools:
# grafana_api_token: 'aaa-bbb-ccc-ddd'
# autosupport_disabled: true
Exporters:
prometheus:
exporter: Prometheus
local_http_addr: 0.0.0.0
port: 12990
prometheus1:
exporter: Prometheus
port_range: 13000-14000
Defaults:
collectors:
- Zapi
- ZapiPerf
- Ems
use_insecure_tls: false
Pollers:
# This is an optional poller that provides stats about harvest itself.
# To remove it, simply delete the "unix" section
unix:
datacenter: local
addr: localhost
collectors:
- Unix
exporters:
- prometheus
# add your cDOT / 7Mode pollers below, example:
# cluster-01:
# datacenter: DC-01
# addr: 10.0.0.1
# auth_style: basic_auth
# credentials_file: path/to/credentials.yml # read credentials from the file
# username: myuser
# password: mypasw
# use_insecure_tls: true # Disable TLS verification when connecting to ONTAP cluster
# exporters:
# - prometheus1
# no need to add collectors, since they're already defined in Defaults
# example with certificate authentication
# See https://netapp.github.io/harvest/latest/prepare-cdot-clusters/#using-certificate-authentication
# cluster-01:
# datacenter: DC-01
# addr: 10.0.0.2
# auth_style: certificate_auth
# ssl_cert: /path/to/cert.pem
# ssl_key: /path/to/key.key
# ca_cert: /path/to/server.crt
# exporters:
# - prometheus1
# StorageGRID example
# grid-01:
# datacenter: DC-01
# addr: 10.0.0.3
# username: myuser
# password: mypass
# exporters:
# - prometheus1
# collectors:
# - StorageGrid