The MP2018 series of sensors from Cherry are reed based magnetic position sensors in a plastic flange mount package. These switches can be approached by a magnet from any angle and with either pole.
SPST-NO Form A 10 W max. power rating Contacts hermetically sealed for long life Zero power consumption Resistant to moisture and dirt Operating temperature -40 → +105 °C Magnetic actuator is available (stock no 765-9343)