Monitoring agent which runs on local systems to collect metrics