VMware Cloud Community
RobertWLSEG
Contributor
Contributor

VM Time Sync method - Can you report on this in vROPs?

Hi All,

I was recently asked to provide a list of all VMs and to show their time sync methods. Shouldn't be a problem I thought, create a view with VM Name, SyncTimeWithHost flag and a few useful identity type fields and away I go. However, I have been unable to find a relevant metric against the VM. I ended up having to create the list with PowerCLI as follows;

Get-View -ViewType virtualmachine | select name,@{N='Time sync with host';E={$_.Config.Tools.SyncTimeWithHost } } | Export-Csv "c:\temp\TimeSyncStatus.csv" -NoTypeInformation

But what I'd really like to do is get this in a vROPs report. Does anyone know if the equivalent metric is revealed in vROPs?

Thanks in advance,

Reply
0 Kudos
3 Replies
GayathriS
Expert
Expert

Hi Robert

Could you please explain more on what exactly you are trying to achieve from vrops with respective to time syn of VM, based on that I cna tell you if vrops really helps you in that .

Reply
0 Kudos
RobertWLSEG
Contributor
Contributor

Hi, thanks for getting back to me.

That PowerCLI script will output a list of VMs connected to the vCenter I connect to and then a column with  "True" if the VM sync's its time source with its host server, or "False" if it has any other sync method (direct NTP, no sync etc). I want vROPs to give me a 2 column report (initially) with VM name and its sync method.

Regards,

Robert.

Reply
0 Kudos
GayathriS
Expert
Expert

I dont think with vrops you can get VM's time sync, because I have not seen a time sync metric in vrops .

VM name is possible by default .

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.