A gas analyzer includes a sample inlet, a sample outlet, a detector, a monitoring component, and a controller. The sample inlet is configured to receive a sample and is coupled to the sample outlet. The detector is operably disposed between the sample inlet and the sample outlet and is configured to provide an indication relative to the sample. The monitoring component is configured to provide a diagnostic indication regarding at least one component of the gas analyzer. The controller is configured to control flow through the gas analyzer and is operably coupled to the detector to analyze the sample, provide the analysis to the monitoring component, and provide the indication of health to an output.