Add missing trim() call to the server list code for monitors