Correlating Instrumentation Data to System States: A Building Block for Automated Diagnosis and Control