Lines Matching refs:new_hosts

186                 if host_id not in self.new_hosts:
187 self.new_hosts[host_id] = GenericHost()
188 self.new_hosts[host_id].name = trigger[0]['hosts'][0]['name']
192 self.new_hosts[host_id].scheduled_downtime = True
199 self.new_hosts[host_id].status = "DOWN"
200 … self.new_hosts[host_id].status_information = trigger[0]['hosts'][0]['error']
201 …self.new_hosts[host_id].duration = HumanReadableDurationFromTimestamp(trigger[0]['hosts'][0]['erro…
205 self.new_hosts[host_id].status = "DOWN"
206 … self.new_hosts[host_id].status_information = trigger[0]['hosts'][0]['ipmi_error']
207 …self.new_hosts[host_id].duration = HumanReadableDurationFromTimestamp(trigger[0]['hosts'][0]['ipmi…
211 self.new_hosts[host_id].status = "DOWN"
212 … self.new_hosts[host_id].status_information = trigger[0]['hosts'][0]['jmx_error']
213 …self.new_hosts[host_id].duration = HumanReadableDurationFromTimestamp(trigger[0]['hosts'][0]['jmx_…
217 self.new_hosts[host_id].status = "DOWN"
218 … self.new_hosts[host_id].status_information = trigger[0]['hosts'][0]['snmp_error']
219 …self.new_hosts[host_id].duration = HumanReadableDurationFromTimestamp(trigger[0]['hosts'][0]['snmp…
230 self.new_hosts[host_id].status = "DOWN"
231 self.new_hosts[host_id].status_information = hostinterface['error']
232 …self.new_hosts[host_id].duration = HumanReadableDurationFromTimestamp(hostinterface['errors_from'])
237 self.new_hosts[host_id].services[service_id] = GenericService()
238 self.new_hosts[host_id].services[service_id].host = trigger[0]['hosts'][0]['name']
239 …self.new_hosts[host_id].services[service_id].status = self.statemap.get(problem['severity'], probl…
240 …self.new_hosts[host_id].services[service_id].duration = HumanReadableDurationFromTimestamp(problem…
241 self.new_hosts[host_id].services[service_id].name = trigger[0]['items'][0]['key_']
242 …self.new_hosts[host_id].services[service_id].last_check = time.strftime("%d/%m/%Y %H:%M:%S", time.…
246 …self.new_hosts[host_id].services[service_id].status_information = problem['name'] + " (" + problem…
248 … self.new_hosts[host_id].services[service_id].status_information = problem['name']
252 self.new_hosts[host_id].services[service_id].acknowledged = True