Heart pacemaker implant with electrode connections for intracardial and or epicardial electrodes with at least one right and one left ventricular electrode together with an impedance measurement arrangement. The implant has an arrangement of electrodes that permits tripolar and quadripolar impedance measurements.