Write a basic monitoring loop with sample checking (print only)