In the vSphere Client you define alarms in the alarm definition wizard. You access the alarm definition wizard from the Configure tab, under More.