What is this sensor? (Picture attached)

I take it that the unit is a running machine. Chances are that the sensor is a simple reed switch.