IoT fault management in cloud/fog environments