This article provides steps to create an alarm for specific virtual machines.
Environment
VMware vCenter Server 4.0.x VMware vCenter Server 5.0.x VMware vCenter Server 4.1.x
Resolution
To create an alarm for specific virtual machines:
Log in to the vSphere Client as an Administrator.
Disable the alarm:
Navigate to Home > Inventory > VMs and Templates and select your vCenter Server.
Click the Alarms tab.
Click Definitions.
Right-click the virtual machine CPU usage entry and click Edit Settings.
Deselect Enable this alarm.
Click OK.
Right-click your datacenter and choose New Folder.
Give the new folder a descriptive name (such as Virtual Machine CPU monitoring).
Click the Alarms tab.
Click Definitions.
In the Definitions pane, right-click and chose New Alarm.
Enter in an alarm name and description.
Click the Triggers tab.
Click Add.
Modify the Trigger Type, Condition, Warning, Condition Length, Alert, Condition Length as needed.
Note: It may appear as the fields cannot be modified. Click under each field and a dropdown arrow appears.
Check the Reporting and Actions tabs and make any changes as necessary.
Click OK.
Drag the virtual machines that you want to monitor CPU usage to the Virtual Machine CPU monitoring folder.
Verify the new alarm has been applied to the folder Virtual Machine CPU monitoring alarm tab and that the virtual machines to be monitored are in that folder. Any virtual machine that is not in the folder will not have its CPU usage monitored.
Note: Virtual machines can only be in one folder, so there are limits to how far you can customize alarms using this method.