in_monitor_agent: added more comments