I have a 05 vectra club hatchback. The alarm constintly goes off (unless manually locked).

I have noticed when one of the rear door is opened the light doesnt stay on as it should (flickers). Is this a sensor that is connected to the alarm?

Any ideas are welcomed and appreciated.