Monitoring of or protection against external electromagnetic fields or currents