i have many esx, in one esx many vm, how to check ntp every vm in esx?
because if i check every vm 1 by 1,it's will take a long time.
Hello, hope you are doing fine
If you have VMware tools installed and you are using the Sync host time on all vms, all vms should sync it's time to the esxi hosts.
Other windows (if domain joined) you can get the information via powershell.
Also you can check this script:
Re: ESXi Host NTP Info
You may need to check a few different things, given that your guest OSes can either use their own time sync processes or VMware Tools.
If it's via VMware Tools, you would need to check a couple of things:
1. Does every ESXi host have NTP correctly configured and running?
2. Does every VM have tools.syncTime = "1" in it's VMX file?
I think PowerCLI would be able to help you there.
If your guests are syncing directly via their own OS processes, that mix of OSes makes it harder to find a "one size fits all" solution.