PurpleScreen >> sudo make read

Restarting managements agents

PowerCLImanagement agentsvpxa

You know the situation when the host stops reporting its performance counters, do you? CPU and RAM load are showing nils.. This snippet will fix the issue:

Get-View -ViewType HostSystem `
         -Filter @{'Summary.QuickStats.Uptime'='^0$'} `
         -Property Name,ConfigManager | % {
  (Get-View $_.ConfigManager.ServiceSystem).RestartService('vpxa')
} 2>$null