Closed andrewm659 closed 5 years ago
Looks like the error is here: "socket.gaierror: [Errno -2] Name or service not known" This means the hostname you gave it is invalid.
Thanks
I can confirm the host is there.
Here is what my config.yml looks like.
Do you see any issues here?
default:
vsphere_host: "esx"
vsphere_user: "root"
vsphere_password: "password"
ignore_ssl: True
collect_only:
vms: True
vmguests: True
datastores: True
hosts: True
snapshots: True
esx:
vsphere_host: 10.150.1.35
vsphere_user: 'root'
vsphere_password: 'password'
ignore_ssl: True
collect_only:
vms: True
vmguests: True
datastores: True
hosts: True
snapshots: True
#limited:
# vsphere_host: 10.150.1.35
# vsphere_user: 'administrator@vsphere.local'
# vsphere_password: 'password'
# ignore_ssl: True
# collect_only:
# vms: True
# vmguests: True
# datastores: True
# hosts: True
# snapshots: True
What url are you using to access the metrics?
IP Address or esxi01.domain.local
It seems to be working now.
I suspect this is in part to an update I did. I am running CentOS 7 latest and I keep my server pretty up to date.
But this is the result I get when querying the web page.