An alarm was a device or technology used to warn of danger.
History and specifics
In the year 2264, an alarm in Alexander Lazarus' cavern warned him that the landing party from the Federation starship USS Enterprise had discovered a hatchway. He responded by having his androids attack them. (TOS comic: "The Legacy of Lazarus")