Lines Matching refs:new_hosts

224                 if key_host not in self.new_hosts:
225 self.new_hosts[key_host] = GenericHost()
226 self.new_hosts[key_host].hostid = n["hostid"]
227 self.new_hosts[key_host].host = n["host"]
228 self.new_hosts[key_host].name = n["name"]
229 self.new_hosts[key_host].status = n["status"]
230 self.new_hosts[key_host].last_check = n["last_check"]
231 self.new_hosts[key_host].duration = n["duration"]
232 self.new_hosts[key_host].attempt = n["attempt"]
233 self.new_hosts[key_host].status_information = n["status_information"]
234 self.new_hosts[key_host].site = n["site"]
235 self.new_hosts[key_host].address = n["address"]
236 self.new_hosts[key_host].notifications_disabled = n["notifications_disabled"]
237 self.new_hosts[key_host].scheduled_downtime = n["scheduled_downtime"]
238 self.new_hosts[key_host].passiveonly = n["passiveonly"]
239 self.new_hosts[key_host].acknowledged = n["acknowledged"]
240 self.new_hosts[key_host].flapping = n["flapping"]
391 if self.new_hosts[key].scheduled_downtime == True:
399 if key not in self.new_hosts:
408 if new_service not in self.new_hosts[key].services:
409 self.new_hosts[key].services[new_service] = GenericService()
411 …self.new_hosts[key].services[new_service].host = n["hostname"] if len(n['hostname']) != 0 el…
412 self.new_hosts[key].services[new_service].name = n["service"]
413 self.new_hosts[key].services[new_service].status = n["status"]
414 self.new_hosts[key].services[new_service].last_check = n["last_check"]
415 self.new_hosts[key].services[new_service].duration = n["duration"]
416 self.new_hosts[key].services[new_service].attempt = n["attempt"]
417 … self.new_hosts[key].services[new_service].status_information = n["status_information"]
418 self.new_hosts[key].services[new_service].passiveonly = n["passiveonly"]
419 … self.new_hosts[key].services[new_service].notifications_disabled = n["notifications_disabled"]
420 self.new_hosts[key].services[new_service].flapping = n["flapping"]
421 self.new_hosts[key].services[new_service].acknowledged = n["acknowledged"]
422 … self.new_hosts[key].services[new_service].scheduled_downtime = n["scheduled_downtime"]
423 self.new_hosts[key].services[new_service].site = n["site"]
424 … self.new_hosts[key].services[new_service].address = self.new_hosts[key].address
425 self.new_hosts[key].services[new_service].command = n["command"]
426 self.new_hosts[key].services[new_service].hostid = n["hostid"]
427 self.new_hosts[key].services[new_service].triggerid = n["triggerid"]