Tilt sensors are used for monitoring the rotation of structures.
Automatic levelling of a structure can be undertaken using liquid levelling systems.
Liquid levelling sensors
Tilt sensor