/dports/net-mgmt/nagstamon/Nagstamon-3.8.0/Nagstamon/Servers/ |
H A D | Icinga.py | 149 self.new_hosts = dict() 189 if not host_name in self.new_hosts: 190 self.new_hosts[host_name] = GenericHost() 191 self.new_hosts[host_name].name = host_name 252 if not host_name in self.new_hosts: 253 self.new_hosts[host_name] = GenericHost() 254 self.new_hosts[host_name].name = host_name 255 self.new_hosts[host_name].status = 'UP' 321 self.new_hosts = dict() 418 if not 'host' in self.new_hosts: [all …]
|
H A D | op5Monitor.py | 135 self.new_hosts = dict() 182 if not n['host'] in self.new_hosts: 183 self.new_hosts[n['host']] = GenericHost() 184 self.new_hosts[n['host']].name = n['host'] 193 self.new_hosts[n['host']].status = n['status'] 233 if not n['host'] in self.new_hosts: 234 self.new_hosts[n['host']] = GenericHost() 235 self.new_hosts[n['host']].name = n['host'] 251 if not n['host'] in self.new_hosts: 252 self.new_hosts[n['host']] = GenericHost() [all …]
|
H A D | Monitos4x.py | 163 self.new_hosts = dict() 226 if host_name not in self.new_hosts: 227 self.new_hosts[host_name] = GenericHost() 228 self.new_hosts[host_name].name = host_name 229 self.new_hosts[host_name].uuid = h['uuid'] 230 self.new_hosts[host_name].server = 'monitos' 251 self.new_hosts[host_name].passiveonly = not ( 262 self.new_hosts[host_name].flapping = False 348 if host_name not in self.new_hosts: 349 self.new_hosts[host_name] = GenericHost() [all …]
|
H A D | ZabbixProblemBased.py | 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" 205 self.new_hosts[host_id].status = "DOWN" 211 self.new_hosts[host_id].status = "DOWN" 217 self.new_hosts[host_id].status = "DOWN" 230 self.new_hosts[host_id].status = "DOWN" 237 self.new_hosts[host_id].services[service_id] = GenericService() [all …]
|
H A D | Thruk.py | 267 self.new_hosts = dict() 295 if h["name"] not in self.new_hosts: 296 self.new_hosts[h["name"]] = GenericHost() 297 self.new_hosts[h["name"]].name = h["name"] 298 self.new_hosts[h["name"]].server = self.name 344 if s["host_name"] not in self.new_hosts: 345 self.new_hosts[s["host_name"]] = GenericHost() 346 self.new_hosts[s["host_name"]].name = s["host_name"] 347 self.new_hosts[s["host_name"]].server = self.name 348 self.new_hosts[s["host_name"]].status = "UP" [all …]
|
H A D | Multisite.py | 256 if n['host'] not in self.new_hosts: 258 self.new_hosts[new_host] = GenericHost() 259 self.new_hosts[new_host].name = n['host'] 260 self.new_hosts[new_host].server = self.name 261 self.new_hosts[new_host].status = n['status'] 266 self.new_hosts[new_host].site = n['site'] 333 if n['host'] not in self.new_hosts: 334 self.new_hosts[n['host']] = GenericHost() 335 self.new_hosts[n['host']].name = n['host'] 336 self.new_hosts[n['host']].status = 'UP' [all …]
|
H A D | IcingaWeb2.py | 134 self.new_hosts = dict() 204 if not host_name in self.new_hosts: 205 self.new_hosts[host_name] = GenericHost() 206 self.new_hosts[host_name].name = host_name 207 self.new_hosts[host_name].server = self.name 230 self.new_hosts[host_name].attempt = "HARD" 238 self.new_hosts[host_name].duration = 'n/a' 284 if not host_name in self.new_hosts: 285 self.new_hosts[host_name] = GenericHost() 286 self.new_hosts[host_name].name = host_name [all …]
|
H A D | Icinga2API.py | 91 if service_host not in self.new_hosts: 92 self.new_hosts[service_host] = GenericHost() 93 self.new_hosts[service_host].name = service_host 94 self.new_hosts[service_host].site = service.site 95 self.new_hosts[service_host].services[service.name] = service 103 self.new_hosts = dict() 111 if host_name not in self.new_hosts: 112 self.new_hosts[host_name] = GenericHost() 113 self.new_hosts[host_name].name = host_name 114 self.new_hosts[host_name].site = self.name [all …]
|
H A D | Opsview.py | 221 self.new_hosts[host["name"]] = GenericHost() 222 self.new_hosts[host["name"]].name = str(host["name"]) 223 self.new_hosts[host["name"]].server = self.name 225 self.new_hosts[host["name"]].status = str(host["state"].upper()) 226 self.new_hosts[host["name"]].status_type = str(host["state_type"]) 234 self.new_hosts[host["name"]].scheduled_downtime = True 237 self.new_hosts[host["name"]].acknowledged = True 240 self.new_hosts[host["name"]].flapping = True 244 self.new_hosts[host["name"]].services[service["name"]] = OpsviewService() 247 self.new_hosts[host["name"]].services[service["name"]].server = self.name [all …]
|
H A D | SnagView3.py | 152 self.new_hosts = dict() 208 if host_name not in self.new_hosts: 209 self.new_hosts[host_name] = GenericHost() 210 self.new_hosts[host_name].name = host_name 212 self.new_hosts[host_name].server = self.name 219 self.new_hosts[host_name].passiveonly = not ( 223 self.new_hosts[host_name].flapping = bool( 225 self.new_hosts[host_name].acknowledged = bool( 227 self.new_hosts[host_name].scheduled_downtime = bool( 229 self.new_hosts[host_name].status_type = 'soft' if int( [all …]
|
H A D | Zenoss.py | 78 self.new_hosts = dict() 112 if not new_host in self.new_hosts: 113 self.new_hosts[new_host] = GenericHost() 114 self.new_hosts[new_host].name = new_host 116 if not new_host in self.new_hosts[new_host].services: 119 self.new_hosts[new_host].services[new_service] = GenericService() 121 self.new_hosts[new_host].services[new_service].host = new_host 122 self.new_hosts[new_host].services[new_service].evid = n['evid'] 123 self.new_hosts[new_host].services[new_service].name = n["service"] 125 self.new_hosts[new_host].services[new_service].server = self.name [all …]
|
H A D | Zabbix.py | 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"] 232 self.new_hosts[key_host].attempt = n["attempt"] 234 self.new_hosts[key_host].site = n["site"] 235 self.new_hosts[key_host].address = n["address"] 399 if key not in self.new_hosts: [all …]
|
H A D | Centreon.py | 637 if not l.hn.text in self.new_hosts: 638 self.new_hosts[str(l.hn.text)] = GenericHost() 640 self.new_hosts[str(l.hn.text)].server = self.name 644 … self.new_hosts[str(l.hn.text)].status = self.TRANSLATIONS[self.new_hosts[str(l.hn.text)].status] 645 …self.new_hosts[str(l.hn.text)].attempt, self.new_hosts[str(l.hn.text)].status_type = str(l.tr.tex… 646 …self.new_hosts[str(l.hn.text)].status_type = self.HARD_SOFT[self.new_hosts[str(l.hn.text)].status_… 653 self.new_hosts[str(l.hn.text)].criticality = '' 659 self.new_hosts[str(l.hn.text)].flapping = False 762 if not l.hn.text in self.new_hosts: 763 self.new_hosts[str(l.hn.text)] = GenericHost() [all …]
|
H A D | Generic.py | 139 self.new_hosts = dict() 582 self.new_hosts = dict() 680 if n['host'] not in self.new_hosts: 682 self.new_hosts[new_host] = GenericHost() 683 self.new_hosts[new_host].name = n['host'] 794 if n['host'] not in self.new_hosts: 795 self.new_hosts[n['host']] = GenericHost() 797 self.new_hosts[n['host']].status = 'UP' 941 for host in self.new_hosts.values(): 1386 self.hosts = copy.deepcopy(self.new_hosts) [all …]
|
H A D | SensuGo.py | 79 if service_host not in self.new_hosts: 80 self.new_hosts[service_host] = GenericHost() 81 self.new_hosts[service_host].name = service_host 82 self.new_hosts[service_host].site = service.site 84 self.new_hosts[service_host].services[service.name] = service
|
H A D | Prometheus.py | 208 if hostname not in self.new_hosts: 209 self.new_hosts[hostname] = GenericHost() 210 self.new_hosts[hostname].name = str(hostname) 211 self.new_hosts[hostname].server = self.name 212 self.new_hosts[hostname].services[servicename] = service
|
/dports/net-mgmt/devmon/devmon-0.3.1-beta1/modules/ |
H A D | dm_config.pm | 1214 my %new_hosts; 1513 next if defined $new_hosts{$host}; 1585 if(!defined $new_hosts{$host}) { 1609 next if defined $new_hosts{$host}; 1682 if(!defined $new_hosts{$host}) { 1695 next if defined $new_hosts{$host}; 1712 for my $host (keys %new_hosts) { 1713 my $ip = $new_hosts{$host}{'ip'}; 1823 next if defined $new_hosts{$host}; 1841 for my $host (sort keys %new_hosts) { [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/devtools/protocol/ |
H A D | target_auto_attacher.cc | 144 Hosts new_hosts; in UpdatePortals() local 159 new_hosts.insert(new_host); in UpdatePortals() 175 Hosts new_hosts; in UpdateFrames() local 187 new_hosts.insert(new_host); in UpdateFrames() 264 Hosts new_hosts; in ReattachServiceWorkers() local 268 new_hosts.insert(agent_hosts.begin(), agent_hosts.end()); in ReattachServiceWorkers() 277 new_hosts.insert(pair.second); in ReattachServiceWorkers() 288 if (host->GetType() == type && new_hosts.find(host) == new_hosts.end()) { in ReattachTargetsOfType() 293 for (auto& host : new_hosts) { in ReattachTargetsOfType() 356 Hosts new_hosts; in WorkerCreated() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/devtools/protocol/ |
H A D | target_auto_attacher.cc | 144 Hosts new_hosts; in UpdatePortals() local 159 new_hosts.insert(new_host); in UpdatePortals() 175 Hosts new_hosts; in UpdateFrames() local 187 new_hosts.insert(new_host); in UpdateFrames() 264 Hosts new_hosts; in ReattachServiceWorkers() local 268 new_hosts.insert(agent_hosts.begin(), agent_hosts.end()); in ReattachServiceWorkers() 277 new_hosts.insert(pair.second); in ReattachServiceWorkers() 288 if (host->GetType() == type && new_hosts.find(host) == new_hosts.end()) { in ReattachTargetsOfType() 293 for (auto& host : new_hosts) { in ReattachTargetsOfType() 356 Hosts new_hosts; in WorkerCreated() local [all …]
|
/dports/net/py-sshuttle/sshuttle-0.78.5/tests/client/ |
H A D | test_firewall.py | 29 new_hosts = tmpdir.join("hosts") 30 orig_hosts.copy(new_hosts) 36 with patch('sshuttle.firewall.HOSTSFILE', new=str(new_hosts)): 39 with new_hosts.open() as f: 57 with patch('sshuttle.firewall.HOSTSFILE', new=str(new_hosts)): 59 assert orig_hosts.computehash() == new_hosts.computehash()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/ |
H A D | active_tab_permission_granter.cc | 38 const URLPatternSet& new_hosts, in CreateUpdateMessage() argument 42 visible_url, extension_id, new_hosts, update_allowlist, tab_id); in CreateUpdateMessage() 127 URLPatternSet new_hosts; in GrantIfRequested() local 153 new_hosts.AddOrigin(valid_schemes, url.GetOrigin()); in GrantIfRequested() 165 if (!new_apis.empty() || !new_hosts.is_empty()) { in GrantIfRequested() 168 new_hosts.Clone(), new_hosts.Clone()); in GrantIfRequested() 181 extension->id(), new_hosts.Clone(), tab_id_); in GrantIfRequested()
|
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-client/zookeeper-client-c/tests/ |
H A D | TestReconfig.cc | 187 void setServers(const string new_hosts) in setServers() argument 189 int rc = zoo_set_servers(zh, new_hosts.c_str()); in setServers() 196 void setServersAndVerifyReconfig(const string new_hosts, bool is_reconfig) in setServersAndVerifyReconfig() argument 198 setServers(new_hosts); in setServersAndVerifyReconfig() 207 void setServersAndCycleIfNeeded(const string new_hosts) in setServersAndCycleIfNeeded() argument 209 setServers(new_hosts); in setServersAndCycleIfNeeded() 417 const string new_hosts = createHostList(4); // 2004..2001 in testcycleNextServer() local 421 client.setServersAndVerifyReconfig(new_hosts, true); in testcycleNextServer() 469 string new_hosts = createHostList(12, 3); // {2012..2003} in testMigrationCycle() local 483 client.setServersAndVerifyReconfig(new_hosts, true); in testMigrationCycle() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/compute/url_maps/ |
H A D | add_path_matcher.py | 169 if not args.new_hosts and not args.existing_host: 170 new_hosts = ['*'] 172 new_hosts = args.new_hosts 177 if new_hosts: 178 new_hosts = set(new_hosts) 181 if host in new_hosts: 189 hosts=sorted(new_hosts), pathMatcher=args.path_matcher_name))
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/alert_management/payload/ |
H A D | base.rb | 167 hosts.inject([]) do |new_hosts, host| 168 remaining_length = ::AlertManagement::Alert::HOSTS_MAX_LENGTH - new_hosts.join.length 170 break new_hosts unless remaining_length > 0 172 new_hosts << host.to_s.truncate(remaining_length, omission: '')
|
/dports/lang/rust/rustc-1.58.1-src/vendor/jsonrpc-server-utils/src/ |
H A D | hosts.rs | 166 let mut new_hosts = current_hosts.into_iter().collect::<HashSet<_>>(); in update() localVariable 170 new_hosts.insert(address_string.replace("0.0.0.0", "127.0.0.1").into()); in update() 171 new_hosts.insert(address_string.replace("0.0.0.0", "localhost").into()); in update() 173 new_hosts.insert(address_string.replace("127.0.0.1", "localhost").into()); in update() 176 new_hosts.insert(address_string.into()); in update() 177 new_hosts.into_iter().collect() in update()
|