scan ports and compare with history-status of machines