Simple and low-cost technique for wavelength division multiplexing monitoring