metricbeat/module/vsphere/_meta/README.md
To test the vsphere module without a real Vmware SDK URL you can use the following setup. Govcsim is a vCenter Server and ESXi API based simulator written using govmomi. It creates a vCenter Server model with a datacenter, datastore cluster, hosts, cluster, resource pools, networks and a datastore.
Requirements:
export GOPATH=/directory/code
go get -u github.com/vmware/vic/cmd/vcsim
$GOPATH/bin/vcsim
Now setup your metricbeat config to connect to Govcsim:
- module: vsphere
metricsets:
- cluster
- datastore
- datastorecluster
- host
- network
- resourcepool
- virtualmachine
enabled: true
period: 5s
hosts: ["https://127.0.0.1:8989/sdk"]
username: "user"
password: "pass"
insecure: true