Update lms-monitoring.pl

Removed additional IF using more expanded IPv4 regexp check.