Veterinary control of livestock farms