setting monitorId in host instead of hostsIds in monitor