Configurable monitoring of machine tools status in smart factories