Real-Time Machine Monitoring in Smart Manufacturing: IoT and ERP