In situ rock strength from triaxial testing