Diagnostics for monitoring maintenance and quality manufacturing