You find bad solder joints mostly by looking at them... And since you can 'fix' the monitor by giving it a whack, I'd also guess it's a bad solder joint. Often, at least on old TVs, the main component having bad solder joints, used to be the high voltage transformer. If it's the case with monitors, I don't know...

Stig