Overhead door sensor

Hello,

There should be a magnet and a sensor somewhere on the overhead that need to be adjusted a little so it can aligned correctly with each other. It could be that, or it could be an old magnet loosing its strength.

Thank you