Add search functionality to show_alarms