The grown-in tensile strain, due to a lattice mismatch between AlGaN and GaN, is responsible for the observed cracking that seriously limits the feasibility of nitride-based ultraviolet (UV) emitters. We report in-situ monitoring of strain/stress during MOCVD of AlGaN based on a wafer-curvature measurement technique. The strain/stress measurement confirms the presence of tensile strain during growth of AlGaN pseudomorphically on a thick GaN layer. Further growth leads to the onset of stress relief through crack generation. We find that the growth of AlGaN directly on low-temperature (LT) GaN or AlN buffer layers results in a reduced and possibly controllable strain.