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