A gas turbine engine has a compressor section and a turbine section. A secondary cooling air includes a first fluid connection to tap cooling air and pass the cooling air through a plurality of tubes, and a second fluid connection for returning air from the tubes back to at least one of the compressor and turbine for cooling. A sensor senses a condition of the cooling air downstream of the tubes and a control compares the sensed condition of the cooling air to an expected condition, and to identify a potential concern in the cooling air system should the sensed condition differ from the expected condition by more than a predetermined amount.