Tracing the evolution within nearby galaxy groups: a multi-wavelength approach