Optical attenuation spectrum measured by OTDR