If it detects a problem, it can trigger a diagnostic trouble code (DTC), which you can then read and diagnose using an OBDII ...