Hi ,
Can anyone tell me how can we verify NTP Sync status using Pyvmomi on esxi host with version 7.0 update 3?
Also i would like to know how to verify ntp service status using Pyvmomi on esxi host 7.0 update 3. Iam able to print the services in esxi using below code. But i just need to check only ntp. Can anyone help here ?
cv = content.viewManager.CreateContainerView(container=content.rootFolder, type=[vim.HostSystem], recursive=True)
for child in cv.view:
serviceSystem=child.configManager.serviceSystem
print(serviceSystem.serviceInfo.service)
Thanks,
Aneesh
Thanks @lamw 🙂
I was trying to get a few things there: