convert to lowercase monitoring hostnames

bugfixes.