Hello Team
I’m using Telegraf to collect data from Vcenter,then stored in Influxdb and used by grafana.
It worked fine with 7 Vcenter , but one Vcenter it returns with 0 objects in the telegraf log , below some exmaple
[inputs.vsphere] Collecting metrics for 0 objects of type cluster for “Vcenter name”
[inputs.vsphere] Collecting metrics for 0 objects of type vm for “vcente rname”
here my config
Realtime instance
[[inputs.vsphere]]
List of vCenter URLs to be monitored. These three lines must be uncommented
and edited for the plugin to work.
interval = “5m”
vcenters = [ “https://vcentername” ]
username = “user”
password = “password”
vm_metric_include =
host_metric_include =
cluster_metric_exclude = [“”]
datastore_metric_exclude = [“”]
max_query_metrics = 256
timeout = “60s”
insecure_skip_verify = true
Historical instance
[[inputs.vsphere]]
interval = “30m”
vcenters = [ “https://vcentername” ]
username = “user”
password = “password”
datastore_metric_include = [ “disk.capacity.latest”, “disk.used.latest”, “disk.provisioned.latest”]
insecure_skip_verify = true
force_discover_on_init = true
cluster_metric_include = [“”]
datacenter_metric_include = [“”]
host_metric_exclude = [“”] # Exclude realtime metrics
vm_metric_exclude = [“”] # Exclude realtime metrics
max_query_metrics = 256
collect_concurrency = 3
for Security reason I haven’t provided Vcenter name.
However I’m sure that the service account that we are using is having access to all Object in Vcenter , this is well tested
Also I tested the network connectivity .
Vcenter version : 7.0.3 ,Collecting data is enabled as well
Anything I can check in my Vcenter ? any setting to compare with the working Vcenters ones ?
Thanks in advance