p-TRACK: using real-time technology to spot critical areas in farms