Monitoring with scripts is based on collecting data and sending mails :) At least in my case. Because of that there are couple things which I configured already: