How the monitoring works