Hi!!!
I have installed and enabled vsphere metricbeat module on my vcenter server.
I have configured vsphere.yml as below.
'''''metricbeat.modules:
-
module: vsphere
enabled: true
metricsets: ["datastore", "host", "virtualmachine"]
period: 10s
hosts: ["https://vcenterserver/sdk"]username: "administrator@vsphere.local"
password: "password"If insecure is true, don't verify the server's certificate chain
insecure: false
Get custom fields when using virtualmachine metric set. Default false.
get_custom_fields: false
''''
But when I start metricbeat service its logs that vsphere module trying connect vCenter server at localhost address as below.
'Error fetching data for metricset vsphere.virtualmachine: error in NewClient: Post "https://localhost/sdk":' even if I have configured correct vcenter address in vsphere.yml file.