Introduction to diagnosis of active systems