Update lms-monitoring.pl

Add strict and warnings