How to monitor the diagnostic