AGN feedback in galaxy groups: The two interesting cases of AWM 4 and NGC 5044