Added alarm check and inventory notification.