Vibration monitoring system to prevent breakdowns of rotating machinery