Skip to content

Commit 4241cc7

Browse files
fix: update vSphere plugin documentation and configuration examples
1 parent e174a10 commit 4241cc7

File tree

2 files changed

+834
-87
lines changed

2 files changed

+834
-87
lines changed

src/writeData/components/telegrafInputPluginsConfigurationText/vsphere.conf

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-# Read metrics from one or many vCenters
1+
# Read metrics from one or many vCenters
22
[[inputs.vsphere]]
33
## List of vCenter URLs to be monitored. These three lines must be uncommented
44
## and edited for the plugin to work.
@@ -116,11 +116,11 @@
116116
# cluster_instances = false ## false by default
117117

118118
## Resource Pools
119-
# datastore_include = [ "/*/host/**"] # Inventory path to datastores to collect (by default all are collected)
120-
# datastore_exclude = [] # Inventory paths to exclude
121-
# datastore_metric_include = [] ## if omitted or empty, all metrics are collected
122-
# datastore_metric_exclude = [] ## Nothing excluded by default
123-
# datastore_instances = false ## false by default
119+
# resource_pool_include = [ "/*/host/**"] # Inventory path to resource pools to collect (by default all are collected)
120+
# resource_pool_exclude = [] # Inventory paths to exclude
121+
# resource_pool_metric_include = [] ## if omitted or empty, all metrics are collected
122+
# resource_pool_metric_exclude = [] ## Nothing excluded by default
123+
# resource_pool_instances = false ## false by default
124124

125125
## Datastores
126126
# datastore_include = [ "/*/datastore/**"] # Inventory path to datastores to collect (by default all are collected)
@@ -136,6 +136,16 @@
136136
datacenter_metric_exclude = [ "*" ] ## Datacenters are not collected by default.
137137
# datacenter_instances = false ## false by default
138138

139+
## VSAN
140+
# vsan_metric_include = [] ## if omitted or empty, all metrics are collected
141+
# vsan_metric_exclude = [ "*" ] ## vSAN are not collected by default.
142+
## Whether to skip verifying vSAN metrics against the ones from GetSupportedEntityTypes API.
143+
# vsan_metric_skip_verify = false ## false by default.
144+
145+
## Interval for sampling vSAN performance metrics, can be reduced down to
146+
## 30 seconds for vSAN 8 U1.
147+
# vsan_interval = "5m"
148+
139149
## Plugin Settings
140150
## separator character to use for measurement and field names (default: "_")
141151
# separator = "_"
@@ -193,3 +203,13 @@
193203
## The Historical Interval value must match EXACTLY the interval in the daily
194204
# "Interval Duration" found on the VCenter server under Configure > General > Statistics > Statistic intervals
195205
# historical_interval = "5m"
206+
207+
## Specifies plugin behavior regarding disconnected servers
208+
## Available choices :
209+
## - error: telegraf will return an error on startup if one the servers is unreachable
210+
## - ignore: telegraf will ignore unreachable servers on both startup and gather
211+
# disconnected_servers_behavior = "error"
212+
213+
## HTTP Proxy support
214+
# use_system_proxy = true
215+
# http_proxy_url = ""

0 commit comments

Comments
 (0)