Detecting monopoles on the lattice