Inspection and replacement of components