Magnetic properties of Fe-pnictides superconductors as a function of pressure and doping