/
vcenter.conf
31 lines (26 loc) · 911 Bytes
/
vcenter.conf
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
## Read realtime metrics from vCenter
[[inputs.vsphere]]
vcenters = [ "https://192.168.0.47/sdk" ]
username = "administrator@vsphere.local"
password = "YOUR_PASSWORD"
vm_metric_include = []
host_metric_include = []
#cluster_metric_include = []
datastore_metric_exclude = ["*"]
max_query_metrics = 256
timeout = "60s"
insecure_skip_verify = true
## Read Historical metrics from vCenter
[[inputs.vsphere]]
interval = "300s"
vcenters = [ "https://192.168.0.47/sdk" ]
username = "administrator@vsphere.local"
password = "YOUR_PASSWORD"
datastore_metric_include = [ "disk.capacity.latest", "disk.used.latest", "disk.provisioned.latest"]
insecure_skip_verify = true
force_discover_on_init = true
host_metric_exclude = ["*"] # Exclude realtime metrics
vm_metric_exclude = ["*"] # Exclude realtime metrics
datacenter_metric_include = []
max_query_metrics = 256
collect_concurrency = 3