turn monitoring on and off