Restart Management Agent on ESX / ESXi
To restart the management agents on ESX host:
 -  Log in to your ESX Server as root from either an SSH session or directly from the console of the server.
-  Type service mgmt-vmware restart.
- Press Enter.
-  Type service vmware-vpxa restart.
-  Press Enter.
-  Type logout and press Enter to disconnect from the ESX host.
If this process is successful, it appears as:
 Stopping VMware ESX Server Management services:
VMware ESX Server Host Agent Watchdog [ OK ]
VMware ESX Server Host Agent [ OK ]
Starting VMware ESX Server Management services:
VMware ESX Server Host Agent (background) [ OK ]
Availability report startup (background) [ OK ]
[root@server]# service vmware-vpxa restart
Stopping vmware-vpxa: [ OK ]
Starting vmware-vpxa: [ OK ]
[root@server]#
To restart the management agents on ESXi:
 -  Connect to the console of your ESXi Server.
-  Press F2 to customize the system.
-  Login as root.
-  Using the Up/Down arrows navigate to Restart Management Agents.
-  Press Enter.
-  Press F11 to restart the services.
-  When the service has been restarted, press Enter.
-  Press Esc to logout of the system.