Hi
Below is the my telegraf.conf file;
# Configuration for telegraf agent
[agent]
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
## Override default hostname, if empty use os.Hostname()
hostname = ""
## If set to true, do no set the "host" tag in the telegraf agent.
omit_hostname = false
[[outputs.influxdb_v2]]
## The URLs of the InfluxDB cluster nodes.
##
## Multiple URLs can be specified for a single cluster, only ONE of the
## urls will be written to each interval.
## ex: urls = [https://us-west-2-1.aws.cloud2.influxdata.com]
urls = [http://influxhost:8086]
## Token for authentication.
token = "gtytytyt67****************YnrLmmvHAg=="
## Organization is the name of the organization you wish to write to; must exist.
organization = "MyOrg"
## Destination bucket to write into.
bucket = "VCENTER_BUCKET"
## 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 = "60s"
vcenters = [ https://20.10.20.30/sdk ]
username = svc @mydomain.com
password = "tytytytyt**"
vm_metric_include = []
host_metric_include = []
cluster_metric_include = []
datastore_metric_exclude = ["*"]
max_query_metrics = 256
timeout = "60s"
insecure_skip_verify = true
## Historical instance
[[inputs.vsphere]]
interval = "300s"
vcenters = [ https://20.10.20.30/sdk ]
username = svc @mydomain.com
password = "tytytytyt**"
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
max_query_metrics = 256
collect_concurrency = 3
Now I start the telegraf service and I can see these metrics in my influxdb console as expected successfully.
Now I successfully integrate this influxdb with our Grafana which is running locally on our computer. But here in Grafana I don’t see these vcenter metrics but I can see other system metrics if I enable CPU, Disk, Memory ect from the local computer where telegraf is running.
Can some one please tell me what I am missing here?