Alarm creates a subtle ward on an area you select. Once the spell effect is in place, it thereafter sounds a mental or audible alarm each time a creature of Tiny or larger size enters the warded area or touches it. A creature that speaks the password (determined by you at the time of casting) does not set off the alarm. You decide at the time of casting whether the alarm will be mental or audible in nature.
Ethereal or astral creatures do not trigger the alarm. Alarm can be made permanent with a permanency spell.
The text on this page is Open Game Content, and is licensed for public use under the terms of the Open Game License v1.0a.
Sources:
SECTION 15