Alex | 3bc95f6 | 2020-03-05 17:00:04 -0600 | [diff] [blame] | 1 | { |
| 2 | "return": [ |
| 3 | { |
| 4 | "cmp01.fakedomain.local": { |
| 5 | "biosversion": "1.10.2-1.1~u16.04+mcp2", |
| 6 | "kernel": "Linux", |
| 7 | "domain": "ozhurba-os-oc-cicd-sl.local", |
| 8 | "uid": 0, |
| 9 | "zmqversion": "4.1.4", |
| 10 | "kernelrelease": "4.15.0-43-generic", |
| 11 | "pythonpath": [ |
| 12 | "/usr/bin", |
| 13 | "/usr/lib/python2.7", |
| 14 | "/usr/lib/python2.7/plat-x86_64-linux-gnu", |
| 15 | "/usr/lib/python2.7/lib-tk", |
| 16 | "/usr/lib/python2.7/lib-old", |
| 17 | "/usr/lib/python2.7/lib-dynload", |
| 18 | "/usr/local/lib/python2.7/dist-packages", |
| 19 | "/usr/lib/python2.7/dist-packages" |
| 20 | ], |
| 21 | "serialnumber": "c7b67a52-b1a5-4d50-9069-599cc0aad878", |
| 22 | "pid": 2253, |
| 23 | "telegraf": { |
| 24 | "remote_agent": { |
| 25 | "input": {}, |
| 26 | "processor": {}, |
| 27 | "dir": { |
| 28 | "config": "/srv/volumes/local/telegraf", |
| 29 | "config_d": "/srv/volumes/local/telegraf/telegraf.d" |
| 30 | }, |
| 31 | "output": {} |
| 32 | }, |
| 33 | "agent": { |
| 34 | "metric_batch_size": 1000, |
| 35 | "collection_jitter": 2, |
| 36 | "interval": 15, |
| 37 | "enabled": true, |
| 38 | "pkgs": [ |
| 39 | "telegraf" |
| 40 | ], |
| 41 | "round_interval": false, |
| 42 | "output": { |
| 43 | "prometheus_client": { |
| 44 | "engine": "prometheus", |
| 45 | "bind": { |
| 46 | "port": 9126, |
| 47 | "address": "0.0.0.0" |
| 48 | }, |
| 49 | "string_as_label": false |
| 50 | } |
| 51 | }, |
| 52 | "input": { |
| 53 | "kernel": null, |
| 54 | "processes": null, |
| 55 | "nstat": { |
| 56 | "fieldpass": [ |
| 57 | "packet_drop", |
| 58 | "time_squeeze" |
| 59 | ] |
| 60 | }, |
| 61 | "swap": null, |
| 62 | "mem": null, |
| 63 | "ntp": { |
| 64 | "template": "ntp/files/telegraf.conf" |
| 65 | }, |
| 66 | "system": null, |
| 67 | "http_listener": { |
| 68 | "read_timeout": "10s", |
| 69 | "bind": { |
| 70 | "port": 8186, |
| 71 | "address": "127.0.0.1" |
| 72 | }, |
| 73 | "tagexclude": [ |
| 74 | "hostname" |
| 75 | ], |
| 76 | "write_timeout": "10s" |
| 77 | }, |
| 78 | "linux_sysctl_fs": null, |
| 79 | "diskio": null, |
| 80 | "procstat": { |
| 81 | "process": { |
| 82 | "contrail-vrouter-agent": { |
| 83 | "pattern": "contrail-vrouter-agent" |
| 84 | }, |
| 85 | "sshd": { |
| 86 | "exe": "sshd" |
| 87 | }, |
| 88 | "salt-minion": { |
| 89 | "pattern": "salt-minion" |
| 90 | }, |
| 91 | "cron": { |
| 92 | "exe": "cron" |
| 93 | }, |
| 94 | "contrail-nodemgr-vrouter": { |
| 95 | "pattern": "python.*contrail-nodemgr.*-vrouter" |
| 96 | }, |
| 97 | "ntpd": { |
| 98 | "exe": "ntpd" |
| 99 | } |
| 100 | } |
| 101 | }, |
| 102 | "net": null, |
| 103 | "disk": { |
| 104 | "ignore_fs": [ |
| 105 | "aufs", |
| 106 | "rootfs", |
| 107 | "sysfs", |
| 108 | "proc", |
| 109 | "devtmpfs", |
| 110 | "devpts", |
| 111 | "tmpfs", |
| 112 | "fusectl", |
| 113 | "cgroup", |
| 114 | "overlay" |
| 115 | ] |
| 116 | }, |
| 117 | "cpu": { |
| 118 | "totalcpu": true, |
| 119 | "percpu": false |
| 120 | }, |
| 121 | "http_response": { |
| 122 | "contrail-node-manager": { |
| 123 | "address": "http://127.0.0.1:8102/" |
| 124 | }, |
| 125 | "contrail-vrouter": { |
| 126 | "address": "http://127.0.0.1:8085/" |
| 127 | } |
| 128 | } |
| 129 | }, |
| 130 | "metric_buffer_limit": 10000, |
| 131 | "processor": {}, |
| 132 | "dir": { |
| 133 | "config": "/etc/telegraf", |
| 134 | "config_d": "/etc/telegraf/telegraf.d" |
| 135 | } |
| 136 | } |
| 137 | }, |
| 138 | "ip_interfaces": { |
| 139 | "vethec13d320-3": [ |
| 140 | "fe80::c87c:a9ff:fe17:a601" |
| 141 | ], |
| 142 | "veth880f8ede-a": [ |
| 143 | "fe80::f0b6:bbff:fe72:d0cc" |
| 144 | ], |
| 145 | "veth256f51fd-c": [ |
| 146 | "fe80::688f:17ff:fe12:c526" |
| 147 | ], |
| 148 | "veth18c9ae6b-9": [ |
| 149 | "fe80::c2c:88ff:fe42:b3c8" |
| 150 | ], |
| 151 | "veth0ee2fae3-b": [ |
| 152 | "fe80::70a6:c4ff:fef3:6955" |
| 153 | ], |
| 154 | "ens4": [ |
| 155 | "10.10.100.5", |
| 156 | "fe80::f816:3eff:feee:9510" |
| 157 | ], |
| 158 | "ens5": [ |
| 159 | "fe80::f816:3eff:fe6a:ff78" |
| 160 | ], |
| 161 | "ens6": [ |
| 162 | "10.13.100.26", |
| 163 | "fe80::f816:3eff:fe3c:67ee" |
| 164 | ], |
| 165 | "ens3": [ |
| 166 | "10.11.1.1", |
| 167 | "fe80::f816:3eff:fed0:8639" |
| 168 | ], |
| 169 | "veth7739e3f4-f": [ |
| 170 | "fe80::a8f8:2eff:fe83:6dc5" |
| 171 | ], |
| 172 | "lo": [ |
| 173 | "127.0.0.1", |
| 174 | "::1" |
| 175 | ], |
| 176 | "vethccc56015-8": [ |
| 177 | "fe80::ccbf:97ff:fe1e:c4b4" |
| 178 | ], |
| 179 | "vethc03db88c-1": [ |
| 180 | "fe80::7b:e3ff:fea7:a8ff" |
| 181 | ], |
| 182 | "veth67e6d989-e": [ |
| 183 | "fe80::6c3f:19ff:feaf:edba" |
| 184 | ], |
| 185 | "vhost0": [ |
| 186 | "10.12.1.1", |
| 187 | "fe80::f816:3eff:fe6a:ff78" |
| 188 | ], |
| 189 | "veth8342151a-7": [ |
| 190 | "fe80::1c3e:f3ff:fed5:5872" |
| 191 | ], |
| 192 | "vethd53dd8ab-d": [ |
| 193 | "fe80::e4e8:42ff:fec2:b2ed" |
| 194 | ], |
| 195 | "veth108c39b4-b": [ |
| 196 | "fe80::784c:7cff:fee8:d005" |
| 197 | ], |
| 198 | "pkt0": [ |
| 199 | "fe80::c52:1bff:feec:2a07" |
| 200 | ], |
| 201 | "veth625ca23d-8": [ |
| 202 | "fe80::1c9d:65ff:fe06:979c" |
| 203 | ], |
| 204 | "vethcabb806e-4": [ |
| 205 | "fe80::5c08:5aff:fe1b:2d3a" |
| 206 | ], |
| 207 | "vethc1f26111-e": [ |
| 208 | "fe80::bc15:baff:fed1:b96e" |
| 209 | ], |
| 210 | "pkt3": [], |
| 211 | "pkt2": [], |
| 212 | "pkt1": [], |
| 213 | "veth783896a6-1": [ |
| 214 | "fe80::ec0d:87ff:fefb:9241" |
| 215 | ] |
| 216 | }, |
| 217 | "groupname": "root", |
| 218 | "fqdn_ip6": [], |
| 219 | "mem_total": 7976, |
| 220 | "saltversioninfo": [ |
| 221 | 2017, |
| 222 | 7, |
| 223 | 8, |
| 224 | 0 |
| 225 | ], |
| 226 | "SSDs": [], |
| 227 | "mdadm": [], |
| 228 | "id": "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 229 | "manufacturer": "OpenStack Foundation", |
| 230 | "osrelease": "16.04", |
| 231 | "ps": "ps -efHww", |
| 232 | "systemd": { |
| 233 | "version": "229", |
| 234 | "features": "+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN" |
| 235 | }, |
| 236 | "fqdn": "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 237 | "uuid": "62cb8077-9932-42e2-95fc-27f611de39f6", |
| 238 | "ip6_interfaces": { |
| 239 | "vethec13d320-3": [ |
| 240 | "fe80::c87c:a9ff:fe17:a601" |
| 241 | ], |
| 242 | "veth880f8ede-a": [ |
| 243 | "fe80::f0b6:bbff:fe72:d0cc" |
| 244 | ], |
| 245 | "veth256f51fd-c": [ |
| 246 | "fe80::688f:17ff:fe12:c526" |
| 247 | ], |
| 248 | "veth18c9ae6b-9": [ |
| 249 | "fe80::c2c:88ff:fe42:b3c8" |
| 250 | ], |
| 251 | "veth0ee2fae3-b": [ |
| 252 | "fe80::70a6:c4ff:fef3:6955" |
| 253 | ], |
| 254 | "ens4": [ |
| 255 | "fe80::f816:3eff:feee:9510" |
| 256 | ], |
| 257 | "ens5": [ |
| 258 | "fe80::f816:3eff:fe6a:ff78" |
| 259 | ], |
| 260 | "ens6": [ |
| 261 | "fe80::f816:3eff:fe3c:67ee" |
| 262 | ], |
| 263 | "ens3": [ |
| 264 | "fe80::f816:3eff:fed0:8639" |
| 265 | ], |
| 266 | "veth7739e3f4-f": [ |
| 267 | "fe80::a8f8:2eff:fe83:6dc5" |
| 268 | ], |
| 269 | "lo": [ |
| 270 | "::1" |
| 271 | ], |
| 272 | "vethccc56015-8": [ |
| 273 | "fe80::ccbf:97ff:fe1e:c4b4" |
| 274 | ], |
| 275 | "vethc03db88c-1": [ |
| 276 | "fe80::7b:e3ff:fea7:a8ff" |
| 277 | ], |
| 278 | "veth67e6d989-e": [ |
| 279 | "fe80::6c3f:19ff:feaf:edba" |
| 280 | ], |
| 281 | "vhost0": [ |
| 282 | "fe80::f816:3eff:fe6a:ff78" |
| 283 | ], |
| 284 | "veth8342151a-7": [ |
| 285 | "fe80::1c3e:f3ff:fed5:5872" |
| 286 | ], |
| 287 | "vethd53dd8ab-d": [ |
| 288 | "fe80::e4e8:42ff:fec2:b2ed" |
| 289 | ], |
| 290 | "veth108c39b4-b": [ |
| 291 | "fe80::784c:7cff:fee8:d005" |
| 292 | ], |
| 293 | "pkt0": [ |
| 294 | "fe80::c52:1bff:feec:2a07" |
| 295 | ], |
| 296 | "veth625ca23d-8": [ |
| 297 | "fe80::1c9d:65ff:fe06:979c" |
| 298 | ], |
| 299 | "vethcabb806e-4": [ |
| 300 | "fe80::5c08:5aff:fe1b:2d3a" |
| 301 | ], |
| 302 | "vethc1f26111-e": [ |
| 303 | "fe80::bc15:baff:fed1:b96e" |
| 304 | ], |
| 305 | "pkt3": [], |
| 306 | "pkt2": [], |
| 307 | "pkt1": [], |
| 308 | "veth783896a6-1": [ |
| 309 | "fe80::ec0d:87ff:fefb:9241" |
| 310 | ] |
| 311 | }, |
| 312 | "num_cpus": 4, |
| 313 | "hwaddr_interfaces": { |
| 314 | "vethec13d320-3": "ca:7c:a9:17:a6:01", |
| 315 | "veth880f8ede-a": "f2:b6:bb:72:d0:cc", |
| 316 | "veth256f51fd-c": "6a:8f:17:12:c5:26", |
| 317 | "veth18c9ae6b-9": "0e:2c:88:42:b3:c8", |
| 318 | "veth0ee2fae3-b": "72:a6:c4:f3:69:55", |
| 319 | "ens4": "fa:16:3e:ee:95:10", |
| 320 | "ens5": "fa:16:3e:6a:ff:78", |
| 321 | "ens6": "fa:16:3e:3c:67:ee", |
| 322 | "ens3": "fa:16:3e:d0:86:39", |
| 323 | "veth7739e3f4-f": "aa:f8:2e:83:6d:c5", |
| 324 | "lo": "00:00:00:00:00:00", |
| 325 | "vethccc56015-8": "ce:bf:97:1e:c4:b4", |
| 326 | "vethc03db88c-1": "02:7b:e3:a7:a8:ff", |
| 327 | "veth67e6d989-e": "6e:3f:19:af:ed:ba", |
| 328 | "vhost0": "fa:16:3e:6a:ff:78", |
| 329 | "veth8342151a-7": "1e:3e:f3:d5:58:72", |
| 330 | "vethd53dd8ab-d": "e6:e8:42:c2:b2:ed", |
| 331 | "veth108c39b4-b": "7a:4c:7c:e8:d0:05", |
| 332 | "pkt0": "0e:52:1b:ec:2a:07", |
| 333 | "veth625ca23d-8": "1e:9d:65:06:97:9c", |
| 334 | "vethcabb806e-4": "5e:08:5a:1b:2d:3a", |
| 335 | "vethc1f26111-e": "be:15:ba:d1:b9:6e", |
| 336 | "pkt3": "62:2a:6b:43:22:23", |
| 337 | "pkt2": "9a:6f:3c:e5:f1:68", |
| 338 | "pkt1": "b6:fa:51:a7:bf:3c", |
| 339 | "veth783896a6-1": "ee:0d:87:fb:92:41" |
| 340 | }, |
| 341 | "init": "systemd", |
| 342 | "ip4_interfaces": { |
| 343 | "vethec13d320-3": [], |
| 344 | "veth880f8ede-a": [], |
| 345 | "veth256f51fd-c": [], |
| 346 | "veth18c9ae6b-9": [], |
| 347 | "veth0ee2fae3-b": [], |
| 348 | "ens4": [ |
| 349 | "10.10.100.5" |
| 350 | ], |
| 351 | "ens5": [], |
| 352 | "ens6": [ |
| 353 | "10.13.100.26" |
| 354 | ], |
| 355 | "ens3": [ |
| 356 | "10.11.1.1" |
| 357 | ], |
| 358 | "veth7739e3f4-f": [], |
| 359 | "lo": [ |
| 360 | "127.0.0.1" |
| 361 | ], |
| 362 | "vethccc56015-8": [], |
| 363 | "vethc03db88c-1": [], |
| 364 | "veth67e6d989-e": [], |
| 365 | "vhost0": [ |
| 366 | "10.12.1.1" |
| 367 | ], |
| 368 | "veth8342151a-7": [], |
| 369 | "vethd53dd8ab-d": [], |
| 370 | "veth108c39b4-b": [], |
| 371 | "pkt0": [], |
| 372 | "veth625ca23d-8": [], |
| 373 | "vethcabb806e-4": [], |
| 374 | "vethc1f26111-e": [], |
| 375 | "pkt3": [], |
| 376 | "pkt2": [], |
| 377 | "pkt1": [], |
| 378 | "veth783896a6-1": [] |
| 379 | }, |
| 380 | "grafana": { |
| 381 | "dashboard": { |
| 382 | "openstack_tenants_prometheus": { |
| 383 | "datasource": "prometheus", |
| 384 | "template": "nova/files/grafana_dashboards/openstack_tenants_prometheus.json", |
| 385 | "format": "json" |
| 386 | }, |
| 387 | "contrail_controller_prometheus": { |
| 388 | "datasource": "prometheus", |
| 389 | "template": "opencontrail/files/grafana_dashboards/contrail_4_controller_prometheus.json", |
| 390 | "format": "json" |
| 391 | }, |
| 392 | "cassandra_influxdb": { |
| 393 | "datasource": "influxdb", |
| 394 | "template": "opencontrail/files/grafana_dashboards/cassandra_influxdb.json", |
| 395 | "format": "json" |
| 396 | }, |
| 397 | "ntp_prometheus": { |
| 398 | "datasource": "prometheus", |
| 399 | "template": "ntp/files/grafana_dashboards/ntp_prometheus.json", |
| 400 | "format": "json" |
| 401 | }, |
| 402 | "cinder_prometheus": { |
| 403 | "datasource": "prometheus", |
| 404 | "template": "cinder/files/grafana_dashboards/cinder_prometheus_fluentd.json", |
| 405 | "format": "json" |
| 406 | }, |
| 407 | "nova_utilization_prometheus": { |
| 408 | "datasource": "prometheus", |
| 409 | "template": "nova/files/grafana_dashboards/nova_utilization_prometheus.json", |
| 410 | "format": "json" |
| 411 | }, |
| 412 | "hypervisor_influxdb": { |
| 413 | "datasource": "influxdb", |
| 414 | "template": "nova/files/grafana_dashboards/hypervisor_influxdb.json", |
| 415 | "format": "json" |
| 416 | }, |
| 417 | "contrail_vrouter_prometheus": { |
| 418 | "datasource": "prometheus", |
| 419 | "template": "opencontrail/files/grafana_dashboards/contrail_4_vrouter_prometheus.json", |
| 420 | "format": "json" |
| 421 | }, |
| 422 | "cinder_influxdb": { |
| 423 | "datasource": "influxdb", |
| 424 | "template": "cinder/files/grafana_dashboards/cinder_influxdb.json", |
| 425 | "format": "json" |
| 426 | }, |
| 427 | "zookeeper_prometheus": { |
| 428 | "datasource": "prometheus", |
| 429 | "template": "opencontrail/files/grafana_dashboards/zookeeper_prometheus.json", |
| 430 | "format": "json" |
| 431 | }, |
| 432 | "openstack_overview_prometheus": { |
| 433 | "datasource": "prometheus", |
| 434 | "template": "nova/files/grafana_dashboards/openstack_overview_prometheus.json", |
| 435 | "format": "json" |
| 436 | }, |
| 437 | "linux_network_prometheus": { |
| 438 | "datasource": "prometheus", |
| 439 | "template": "linux/files/grafana_dashboards/system_network_prometheus.json", |
| 440 | "format": "json" |
| 441 | }, |
| 442 | "service_level": { |
| 443 | "datasource": "influxdb", |
| 444 | "row": { |
| 445 | "cinder-service-level": { |
| 446 | "title": "Cinder Service Levels", |
| 447 | "panel": { |
| 448 | "cinder-api-requests": { |
| 449 | "target": { |
| 450 | "cinder-api-okay-status": { |
| 451 | "alias": "Okay", |
| 452 | "rawQuery": true, |
| 453 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 454 | }, |
| 455 | "cinder-api-fatal-status": { |
| 456 | "alias": "Fatal", |
| 457 | "rawQuery": true, |
| 458 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 459 | }, |
| 460 | "cinder-api-error-status": { |
| 461 | "alias": "Error", |
| 462 | "rawQuery": true, |
| 463 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 464 | } |
| 465 | }, |
| 466 | "title": "Cinder API Requests" |
| 467 | }, |
| 468 | "cinder-control-uptime": { |
| 469 | "target": { |
| 470 | "cinder-control-degraded-unknwon-status": { |
| 471 | "alias": "Degraded or Unknwon", |
| 472 | "rawQuery": true, |
| 473 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 474 | }, |
| 475 | "cinder-control-healthy-status": { |
| 476 | "alias": "Healthy", |
| 477 | "rawQuery": true, |
| 478 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND value = 0 AND $timeFilter" |
| 479 | }, |
| 480 | "cinder-control-down-status": { |
| 481 | "alias": "Down", |
| 482 | "rawQuery": true, |
| 483 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND value = 4 AND $timeFilter" |
| 484 | } |
| 485 | }, |
| 486 | "title": "Cinder Control Uptime" |
| 487 | }, |
| 488 | "cinder-data-uptime": { |
| 489 | "target": { |
| 490 | "cinder-data-healthy-status": { |
| 491 | "alias": "Healthy", |
| 492 | "rawQuery": true, |
| 493 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND value = 0 AND $timeFilter" |
| 494 | }, |
| 495 | "cinder-data-down-status": { |
| 496 | "alias": "Down", |
| 497 | "rawQuery": true, |
| 498 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND value = 4 AND $timeFilter" |
| 499 | }, |
| 500 | "cinder-data-degraded-unknwon-status": { |
| 501 | "alias": "Degraded or Unknwon", |
| 502 | "rawQuery": true, |
| 503 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 504 | } |
| 505 | }, |
| 506 | "title": "Cinder Data Uptime" |
| 507 | }, |
| 508 | "cinder-api-availability": { |
| 509 | "target": { |
| 510 | "cinder-api-up-status": { |
| 511 | "alias": "Up", |
| 512 | "rawQuery": true, |
| 513 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'cinder-api' OR service = 'cinder-v2-api') AND value = 1 AND $timeFilter" |
| 514 | }, |
| 515 | "cinder-api-down-status": { |
| 516 | "alias": "Down", |
| 517 | "rawQuery": true, |
| 518 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'cinder-api' OR service = 'cinder-v2-api') AND value = 0 AND $timeFilter" |
| 519 | } |
| 520 | }, |
| 521 | "title": "Cinder API Availability (V1 & V2)" |
| 522 | } |
| 523 | } |
| 524 | }, |
| 525 | "nova-service-level": { |
| 526 | "title": "Nova Service Levels", |
| 527 | "panel": { |
| 528 | "nova-control-uptime": { |
| 529 | "target": { |
| 530 | "nova-control-healthy-status": { |
| 531 | "alias": "Healthy", |
| 532 | "rawQuery": true, |
| 533 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND value = 0 AND $timeFilter" |
| 534 | }, |
| 535 | "nova-control-down-status": { |
| 536 | "alias": "Down", |
| 537 | "rawQuery": true, |
| 538 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND value = 4 AND $timeFilter" |
| 539 | }, |
| 540 | "nova-control-degraded-unknwon-status": { |
| 541 | "alias": "Degraded or Unknwon", |
| 542 | "rawQuery": true, |
| 543 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 544 | } |
| 545 | }, |
| 546 | "title": "Nova Control Uptime" |
| 547 | }, |
| 548 | "nova-data-uptime": { |
| 549 | "target": { |
| 550 | "nova-data-healthy-status": { |
| 551 | "alias": "Healthy", |
| 552 | "rawQuery": true, |
| 553 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND value = 0 AND $timeFilter" |
| 554 | }, |
| 555 | "nova-data-degraded-unknwon-status": { |
| 556 | "alias": "Degraded or Unknwon", |
| 557 | "rawQuery": true, |
| 558 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 559 | }, |
| 560 | "nova-data-down-status": { |
| 561 | "alias": "Down", |
| 562 | "rawQuery": true, |
| 563 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND value = 4 AND $timeFilter" |
| 564 | } |
| 565 | }, |
| 566 | "title": "Nova Data Uptime" |
| 567 | }, |
| 568 | "nova-api-availability": { |
| 569 | "target": { |
| 570 | "nova-api-down-status": { |
| 571 | "alias": "Down", |
| 572 | "rawQuery": true, |
| 573 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'nova-api' AND value = 0 AND $timeFilter" |
| 574 | }, |
| 575 | "nova-api-up-status": { |
| 576 | "alias": "Up", |
| 577 | "rawQuery": true, |
| 578 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'nova-api' AND value = 1 AND $timeFilter" |
| 579 | } |
| 580 | }, |
| 581 | "title": "Nova API Availability" |
| 582 | }, |
| 583 | "nova-api-requests": { |
| 584 | "target": { |
| 585 | "nova-api-okay-status": { |
| 586 | "alias": "Okay", |
| 587 | "rawQuery": true, |
| 588 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 589 | }, |
| 590 | "nova-api-error-status": { |
| 591 | "alias": "Error", |
| 592 | "rawQuery": true, |
| 593 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 594 | }, |
| 595 | "nova-api-fatal-status": { |
| 596 | "alias": "Fatal", |
| 597 | "rawQuery": true, |
| 598 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 599 | } |
| 600 | }, |
| 601 | "title": "Nova API Requests" |
| 602 | } |
| 603 | } |
| 604 | } |
| 605 | } |
| 606 | }, |
| 607 | "linux_influxdb": { |
| 608 | "datasource": "influxdb", |
| 609 | "template": "linux/files/grafana_dashboards/system_influxdb.json", |
| 610 | "format": "json" |
| 611 | }, |
| 612 | "nova_instances_prometheus": { |
| 613 | "datasource": "prometheus", |
| 614 | "template": "nova/files/grafana_dashboards/nova_instances_prometheus.json", |
| 615 | "format": "json" |
| 616 | }, |
| 617 | "nova_influxdb": { |
| 618 | "datasource": "influxdb", |
| 619 | "template": "nova/files/grafana_dashboards/nova_influxdb.json", |
| 620 | "format": "json" |
| 621 | }, |
| 622 | "main_prometheus": { |
| 623 | "datasource": "prometheus", |
| 624 | "row": { |
| 625 | "ost-control-plane": { |
| 626 | "title": "OpenStack Control Plane", |
| 627 | "panel": { |
| 628 | "cinder": { |
| 629 | "target": { |
| 630 | "cluster_status": { |
| 631 | "expr": "avg(openstack_api_check_status{service=~\"cinder.*\"})" |
| 632 | } |
| 633 | }, |
| 634 | "links": [ |
| 635 | { |
| 636 | "type": "dashboard", |
| 637 | "dashboard": "Cinder", |
| 638 | "title": "Cinder" |
| 639 | } |
| 640 | ], |
| 641 | "title": "Cinder" |
| 642 | }, |
| 643 | "nova": { |
| 644 | "target": { |
| 645 | "cluster_status": { |
| 646 | "expr": "avg(openstack_api_check_status{service=\"nova\"})" |
| 647 | } |
| 648 | }, |
| 649 | "links": [ |
| 650 | { |
| 651 | "type": "dashboard", |
| 652 | "dashboard": "Nova", |
| 653 | "title": "Nova" |
| 654 | } |
| 655 | ], |
| 656 | "title": "Nova" |
| 657 | } |
| 658 | } |
| 659 | } |
| 660 | } |
| 661 | }, |
| 662 | "contrail_influxdb": { |
| 663 | "datasource": "influxdb", |
| 664 | "template": "opencontrail/files/grafana_dashboards/contrail_influxdb.json", |
| 665 | "format": "json" |
| 666 | }, |
| 667 | "linux_disk_prometheus": { |
| 668 | "datasource": "prometheus", |
| 669 | "template": "linux/files/grafana_dashboards/system_disk_prometheus.json", |
| 670 | "format": "json" |
| 671 | }, |
| 672 | "cassandra_prometheus": { |
| 673 | "datasource": "prometheus", |
| 674 | "template": "opencontrail/files/grafana_dashboards/cassandra_prometheus.json", |
| 675 | "format": "json" |
| 676 | }, |
| 677 | "zookeeper_influxdb": { |
| 678 | "datasource": "influxdb", |
| 679 | "template": "opencontrail/files/grafana_dashboards/zookeeper_influxdb.json", |
| 680 | "format": "json" |
| 681 | }, |
| 682 | "nova_hypervisor_prometheus": { |
| 683 | "datasource": "prometheus", |
| 684 | "template": "nova/files/grafana_dashboards/nova_hypervisor_prometheus.json", |
| 685 | "format": "json" |
| 686 | }, |
| 687 | "main_influxdb": { |
| 688 | "datasource": "influxdb", |
| 689 | "row": { |
| 690 | "ost-data-plane": { |
| 691 | "title": "OpenStack Data Plane", |
| 692 | "panel": { |
| 693 | "cinder": { |
| 694 | "target": { |
| 695 | "cluster_status": { |
| 696 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'cinder-data' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 697 | "rawQuery": true |
| 698 | } |
| 699 | }, |
| 700 | "links": [ |
| 701 | { |
| 702 | "type": "dashboard", |
| 703 | "dashboard": "Cinder", |
| 704 | "title": "Cinder" |
| 705 | } |
| 706 | ], |
| 707 | "title": "Cinder" |
| 708 | }, |
| 709 | "nova": { |
| 710 | "target": { |
| 711 | "cluster_status": { |
| 712 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-data' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 713 | "rawQuery": true |
| 714 | } |
| 715 | }, |
| 716 | "links": [ |
| 717 | { |
| 718 | "type": "dashboard", |
| 719 | "dashboard": "Nova", |
| 720 | "title": "Nova" |
| 721 | } |
| 722 | ], |
| 723 | "title": "Nova" |
| 724 | } |
| 725 | } |
| 726 | }, |
| 727 | "ost-control-plane": { |
| 728 | "title": "OpenStack Control Plane", |
| 729 | "panel": { |
| 730 | "cinder": { |
| 731 | "target": { |
| 732 | "cluster_status": { |
| 733 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'cinder-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 734 | "rawQuery": true |
| 735 | } |
| 736 | }, |
| 737 | "links": [ |
| 738 | { |
| 739 | "type": "dashboard", |
| 740 | "dashboard": "Cinder", |
| 741 | "title": "Cinder" |
| 742 | } |
| 743 | ], |
| 744 | "title": "Cinder" |
| 745 | }, |
| 746 | "nova": { |
| 747 | "target": { |
| 748 | "cluster_status": { |
| 749 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 750 | "rawQuery": true |
| 751 | } |
| 752 | }, |
| 753 | "links": [ |
| 754 | { |
| 755 | "type": "dashboard", |
| 756 | "dashboard": "Nova", |
| 757 | "title": "Nova" |
| 758 | } |
| 759 | ], |
| 760 | "title": "Nova" |
| 761 | } |
| 762 | } |
| 763 | } |
| 764 | } |
| 765 | }, |
| 766 | "nova_overview_prometheus": { |
| 767 | "datasource": "prometheus", |
| 768 | "template": "nova/files/grafana_dashboards/nova_overview_prometheus.json", |
| 769 | "format": "json" |
| 770 | }, |
| 771 | "linux_overview_prometheus": { |
| 772 | "datasource": "prometheus", |
| 773 | "template": "linux/files/grafana_dashboards/system_overview_prometheus.json", |
| 774 | "format": "json" |
| 775 | } |
| 776 | }, |
| 777 | "parameters": null |
| 778 | }, |
| 779 | "ssh_fingerprints": { |
| 780 | "rsa": "b2:cd:0e:6d:38:fa:37:de:b6:0f:89:81:85:72:77:a2", |
| 781 | "ecdsa": "22:8e:8d:63:f5:6b:3b:60:3e:20:fd:0c:68:22:2c:0c", |
| 782 | "dsa": "d2:03:00:39:78:2b:af:dc:81:18:b5:e0:d3:e1:f0:74" |
| 783 | }, |
| 784 | "gid": 0, |
| 785 | "master": "10.10.0.15", |
| 786 | "ipv4": [ |
| 787 | "10.10.100.5", |
| 788 | "10.11.1.1", |
| 789 | "10.12.1.1", |
| 790 | "10.13.100.26", |
| 791 | "127.0.0.1" |
| 792 | ], |
| 793 | "dns": { |
| 794 | "domain": "", |
| 795 | "sortlist": [], |
| 796 | "nameservers": [ |
| 797 | "172.18.176.6", |
| 798 | "172.17.44.91" |
| 799 | ], |
| 800 | "ip4_nameservers": [ |
| 801 | "172.18.176.6", |
| 802 | "172.17.44.91" |
| 803 | ], |
| 804 | "search": [ |
| 805 | "openstacklocal" |
| 806 | ], |
| 807 | "ip6_nameservers": [], |
| 808 | "options": [] |
| 809 | }, |
| 810 | "ipv6": [ |
| 811 | "::1", |
| 812 | "fe80::7b:e3ff:fea7:a8ff", |
| 813 | "fe80::c2c:88ff:fe42:b3c8", |
| 814 | "fe80::c52:1bff:feec:2a07", |
| 815 | "fe80::1c3e:f3ff:fed5:5872", |
| 816 | "fe80::1c9d:65ff:fe06:979c", |
| 817 | "fe80::5c08:5aff:fe1b:2d3a", |
| 818 | "fe80::688f:17ff:fe12:c526", |
| 819 | "fe80::6c3f:19ff:feaf:edba", |
| 820 | "fe80::70a6:c4ff:fef3:6955", |
| 821 | "fe80::784c:7cff:fee8:d005", |
| 822 | "fe80::a8f8:2eff:fe83:6dc5", |
| 823 | "fe80::bc15:baff:fed1:b96e", |
| 824 | "fe80::c87c:a9ff:fe17:a601", |
| 825 | "fe80::ccbf:97ff:fe1e:c4b4", |
| 826 | "fe80::e4e8:42ff:fec2:b2ed", |
| 827 | "fe80::ec0d:87ff:fefb:9241", |
| 828 | "fe80::f0b6:bbff:fe72:d0cc", |
| 829 | "fe80::f816:3eff:fe3c:67ee", |
| 830 | "fe80::f816:3eff:fe6a:ff78", |
| 831 | "fe80::f816:3eff:fed0:8639", |
| 832 | "fe80::f816:3eff:feee:9510" |
| 833 | ], |
| 834 | "server_id": 1847579797, |
| 835 | "cpu_flags": [ |
| 836 | "fpu", |
| 837 | "vme", |
| 838 | "de", |
| 839 | "pse", |
| 840 | "tsc", |
| 841 | "msr", |
| 842 | "pae", |
| 843 | "mce", |
| 844 | "cx8", |
| 845 | "apic", |
| 846 | "sep", |
| 847 | "mtrr", |
| 848 | "pge", |
| 849 | "mca", |
| 850 | "cmov", |
| 851 | "pat", |
| 852 | "pse36", |
| 853 | "clflush", |
| 854 | "mmx", |
| 855 | "fxsr", |
| 856 | "sse", |
| 857 | "sse2", |
| 858 | "ss", |
| 859 | "syscall", |
| 860 | "nx", |
| 861 | "pdpe1gb", |
| 862 | "rdtscp", |
| 863 | "lm", |
| 864 | "constant_tsc", |
| 865 | "arch_perfmon", |
| 866 | "rep_good", |
| 867 | "nopl", |
| 868 | "xtopology", |
| 869 | "cpuid", |
| 870 | "pni", |
| 871 | "pclmulqdq", |
| 872 | "vmx", |
| 873 | "ssse3", |
| 874 | "fma", |
| 875 | "cx16", |
| 876 | "pcid", |
| 877 | "sse4_1", |
| 878 | "sse4_2", |
| 879 | "x2apic", |
| 880 | "movbe", |
| 881 | "popcnt", |
| 882 | "tsc_deadline_timer", |
| 883 | "aes", |
| 884 | "xsave", |
| 885 | "avx", |
| 886 | "f16c", |
| 887 | "rdrand", |
| 888 | "hypervisor", |
| 889 | "lahf_lm", |
| 890 | "abm", |
| 891 | "3dnowprefetch", |
| 892 | "cpuid_fault", |
| 893 | "invpcid_single", |
| 894 | "pti", |
| 895 | "ssbd", |
| 896 | "ibrs", |
| 897 | "ibpb", |
| 898 | "tpr_shadow", |
| 899 | "vnmi", |
| 900 | "flexpriority", |
| 901 | "ept", |
| 902 | "vpid", |
| 903 | "fsgsbase", |
| 904 | "tsc_adjust", |
| 905 | "bmi1", |
| 906 | "hle", |
| 907 | "avx2", |
| 908 | "smep", |
| 909 | "bmi2", |
| 910 | "erms", |
| 911 | "invpcid", |
| 912 | "rtm", |
| 913 | "rdseed", |
| 914 | "adx", |
| 915 | "smap", |
| 916 | "xsaveopt", |
| 917 | "arat" |
| 918 | ], |
| 919 | "osfullname": "Ubuntu", |
| 920 | "localhost": "cmp1", |
| 921 | "lsb_distrib_id": "Ubuntu", |
| 922 | "username": "root", |
| 923 | "fqdn_ip4": [ |
| 924 | "10.11.1.1" |
| 925 | ], |
| 926 | "shell": "/bin/sh", |
| 927 | "nodename": "cmp1", |
| 928 | "saltversion": "2017.7.8", |
| 929 | "lsb_distrib_release": "16.04", |
| 930 | "saltpath": "/usr/lib/python2.7/dist-packages/salt", |
| 931 | "pythonversion": [ |
| 932 | 2, |
| 933 | 7, |
| 934 | 12, |
| 935 | "final", |
| 936 | 0 |
| 937 | ], |
| 938 | "host": "cmp1", |
| 939 | "os_family": "Debian", |
| 940 | "oscodename": "xenial", |
| 941 | "services": [ |
| 942 | "fluentd", |
| 943 | "telegraf", |
| 944 | "rsyslog", |
| 945 | "openssh", |
| 946 | "ntp", |
| 947 | "opencontrail", |
| 948 | "nova", |
| 949 | "grafana", |
| 950 | "prometheus", |
| 951 | "logrotate", |
| 952 | "_reclass_", |
| 953 | "linux", |
| 954 | "cinder", |
| 955 | "salt", |
| 956 | "openscap" |
| 957 | ], |
| 958 | "osfinger": "Ubuntu-16.04", |
| 959 | "biosreleasedate": "04/01/2014", |
| 960 | "dns_records": [ |
| 961 | { |
| 962 | "names": [ |
| 963 | "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 964 | "cmp1" |
| 965 | ], |
| 966 | "address": "10.11.1.1" |
| 967 | } |
| 968 | ], |
| 969 | "lsb_distrib_description": "Ubuntu 16.04.5 LTS", |
| 970 | "sphinx": { |
| 971 | "doc": { |
| 972 | "cinder": { |
| 973 | "role": { |
| 974 | "volume": { |
| 975 | "name": "volume", |
| 976 | "param": { |
| 977 | "message_queue_ip": { |
| 978 | "name": "Message queue", |
| 979 | "value": "openstack@10.11.0.10:5672/openstack" |
| 980 | }, |
| 981 | "version": { |
| 982 | "name": "Version", |
| 983 | "value": "queens" |
| 984 | }, |
| 985 | "backends": { |
| 986 | "value": "* lvm-driver:\n * storage engine: lvm\n * volume type: lvm-driver" |
| 987 | }, |
| 988 | "identity_host": { |
| 989 | "name": "Identity service", |
| 990 | "value": "cinder@10.11.0.10:35357" |
| 991 | }, |
| 992 | "packages": { |
| 993 | "value": "* cinder-volume: 2:12.0.4-2~u16.04+mcp96\n* lvm2: 2.02.133-1ubuntu10\n* sysfsutils: 2.1.0+repack-4\n* sg3-utils: 1.40-0ubuntu1\n* python-cinder: 2:12.0.4-2~u16.04+mcp96\n* python-mysqldb: 1.3.7-1build2\n* p7zip: 9.20.1~dfsg.1-4.2\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-pycadf: 2.6.0-1~u16.04+mcp2\n" |
| 994 | }, |
| 995 | "database_host": { |
| 996 | "name": "Database", |
| 997 | "value": "cinder@10.11.0.50:3306//cinder" |
| 998 | } |
| 999 | } |
| 1000 | } |
| 1001 | }, |
| 1002 | "description": "Cinder provides an infrastructure for managing volumes in OpenStack. It was originally a Nova component called nova-volume, but has become an independent project since the Folsom release.", |
| 1003 | "name": "Cinder" |
| 1004 | }, |
| 1005 | "opencontrail": { |
| 1006 | "role": { |
| 1007 | "vrouter": { |
| 1008 | "name": "vrouter", |
| 1009 | "param": { |
| 1010 | "disable_flow_collection": { |
| 1011 | "name": "Disable flow collection", |
| 1012 | "value": true |
| 1013 | }, |
| 1014 | "compute_interface": { |
| 1015 | "name": "vrouter vhost0 interface", |
| 1016 | "value": "* interface binded: ens5\n* ip address: 10.12.1.1\n* MTU: 9000\n" |
| 1017 | }, |
| 1018 | "packages": { |
| 1019 | "value": "* contrail-utils: 4.0~20190123144438-0\n* iproute2: 4.3.0-1ubuntu3.16.04.4\n* haproxy: 1.6.3-1ubuntu0.1\n* linux-headers-4.15.0-43-generic: 4.15.0-43.46~16.04.1\n* contrail-nova-driver: 4.0~20190123144438-0" |
| 1020 | }, |
| 1021 | "version": { |
| 1022 | "name": "Contrail version", |
| 1023 | "value": 4.0 |
| 1024 | } |
| 1025 | } |
| 1026 | } |
| 1027 | }, |
| 1028 | "description": "OpenContrail is an open source network virtualization platform for the cloud.", |
| 1029 | "name": "OpenContrail" |
| 1030 | }, |
| 1031 | "salt": { |
| 1032 | "role": { |
| 1033 | "minion": { |
| 1034 | "name": "minion", |
| 1035 | "param": { |
| 1036 | "version": { |
| 1037 | "value": "2017.7.8 (Nitrogen)" |
| 1038 | } |
| 1039 | } |
| 1040 | } |
| 1041 | }, |
| 1042 | "description": "Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.", |
| 1043 | "name": "Salt" |
| 1044 | }, |
| 1045 | "nova": { |
| 1046 | "role": { |
| 1047 | "compute": { |
| 1048 | "name": "compute", |
| 1049 | "param": { |
| 1050 | "message_queue_ip": { |
| 1051 | "name": "Message queue", |
| 1052 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 1053 | }, |
| 1054 | "network_host": { |
| 1055 | "name": "Network service", |
| 1056 | "value": "10.11.0.10:9696" |
| 1057 | }, |
| 1058 | "vncproxy_url": { |
| 1059 | "name": "VNC proxy URL", |
| 1060 | "value": "https://10.13.250.9:6080" |
| 1061 | }, |
| 1062 | "reserved_host_memory_mb": { |
| 1063 | "name": "Reserved Host Memmory", |
| 1064 | "value": 1100 |
| 1065 | }, |
| 1066 | "glance_host": { |
| 1067 | "name": "Image service", |
| 1068 | "value": "10.11.0.10:9292" |
| 1069 | }, |
| 1070 | "version": { |
| 1071 | "name": "Version", |
| 1072 | "value": "queens" |
| 1073 | }, |
| 1074 | "identity_host": { |
| 1075 | "name": "Identity host ip", |
| 1076 | "value": "nova@10.11.0.10:35357" |
| 1077 | }, |
| 1078 | "packages": { |
| 1079 | "value": "* nova-common: 2:17.0.9-6~u16.01+mcp93\n* nova-compute-kvm: 2:17.0.9-6~u16.01+mcp93\n* python-novaclient: 2:9.1.1-1~u16.04+mcp6\n* pm-utils: 1.4.1-16\n* sysfsutils: 2.1.0+repack-4\n* sg3-utils: 1.40-0ubuntu1\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-guestfs: 1:1.32.2-4ubuntu2\n* gettext-base: 0.19.7-2ubuntu3.1" |
| 1080 | }, |
| 1081 | "database_host": { |
| 1082 | "name": "Database", |
| 1083 | "value": "nova@10.11.0.50:3306/nova" |
| 1084 | } |
| 1085 | } |
| 1086 | } |
| 1087 | }, |
| 1088 | "description": "OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of virtualization technologies, including KVM, Xen, LXC, VMware, and more.", |
| 1089 | "name": "Nova" |
| 1090 | }, |
| 1091 | "linux": { |
| 1092 | "role": { |
| 1093 | "network": { |
| 1094 | "name": "Network", |
| 1095 | "param": { |
| 1096 | "ip": { |
| 1097 | "name": "IP Addresses", |
| 1098 | "value": [ |
| 1099 | "10.10.100.5", |
| 1100 | "10.11.1.1", |
| 1101 | "10.12.1.1", |
| 1102 | "10.13.100.26", |
| 1103 | "127.0.0.1" |
| 1104 | ] |
| 1105 | }, |
| 1106 | "fqdn": { |
| 1107 | "name": "FQDN", |
| 1108 | "value": "cmp1.ozhurba-os-oc-cicd-sl.local" |
| 1109 | } |
| 1110 | } |
| 1111 | }, |
| 1112 | "system": { |
| 1113 | "name": "System", |
| 1114 | "param": { |
| 1115 | "kernel": { |
| 1116 | "value": "Linux 4.15.0-43-generic" |
| 1117 | }, |
| 1118 | "distribution": { |
| 1119 | "value": "Ubuntu 16.04.5 LTS" |
| 1120 | }, |
| 1121 | "name": { |
| 1122 | "value": "cmp1" |
| 1123 | } |
| 1124 | } |
| 1125 | } |
| 1126 | }, |
| 1127 | "description": "Linux is a high performance, yet completely free, Unix-like operating system that is suitable for use on a wide range of computers and other products.", |
| 1128 | "name": "Linux" |
| 1129 | } |
| 1130 | } |
| 1131 | }, |
| 1132 | "num_gpus": 1, |
| 1133 | "roles": [ |
| 1134 | "fluentd.agent", |
| 1135 | "telegraf.agent", |
| 1136 | "rsyslog.client", |
| 1137 | "openssh.client", |
| 1138 | "openssh.server", |
| 1139 | "ntp.client", |
| 1140 | "opencontrail.client", |
| 1141 | "opencontrail.compute", |
| 1142 | "nova.compute", |
| 1143 | "grafana.collector", |
| 1144 | "prometheus.collector", |
| 1145 | "logrotate.server", |
| 1146 | "linux.storage", |
| 1147 | "linux.system", |
| 1148 | "linux.network", |
| 1149 | "cinder.volume", |
| 1150 | "salt.minion", |
| 1151 | "openscap.service" |
| 1152 | ], |
| 1153 | "virtual": "kvm", |
| 1154 | "os": "Ubuntu", |
| 1155 | "disks": [ |
| 1156 | "loop1", |
| 1157 | "dm-1", |
| 1158 | "loop6", |
| 1159 | "dm-6", |
| 1160 | "vdb", |
| 1161 | "loop4", |
| 1162 | "dm-4", |
| 1163 | "loop2", |
| 1164 | "dm-2", |
| 1165 | "loop0", |
| 1166 | "dm-0", |
| 1167 | "loop7", |
| 1168 | "loop5", |
| 1169 | "dm-5", |
| 1170 | "vda", |
| 1171 | "loop3", |
| 1172 | "dm-3" |
| 1173 | ], |
| 1174 | "cpu_model": "Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz", |
| 1175 | "osmajorrelease": 16, |
| 1176 | "pythonexecutable": "/usr/bin/python", |
| 1177 | "productname": "OpenStack Nova", |
| 1178 | "osarch": "amd64", |
| 1179 | "cpuarch": "x86_64", |
| 1180 | "lsb_distrib_codename": "xenial", |
| 1181 | "osrelease_info": [ |
| 1182 | 16, |
| 1183 | 4 |
| 1184 | ], |
| 1185 | "locale_info": { |
| 1186 | "detectedencoding": "UTF-8", |
| 1187 | "defaultlanguage": "en_US", |
| 1188 | "defaultencoding": "UTF-8" |
| 1189 | }, |
| 1190 | "gpus": [ |
| 1191 | { |
| 1192 | "model": "GD 5446", |
| 1193 | "vendor": "unknown" |
| 1194 | } |
| 1195 | ], |
| 1196 | "prometheus": { |
| 1197 | "exporters": { |
| 1198 | "libvirt": { |
| 1199 | "services": { |
| 1200 | "qemu": { |
| 1201 | "bind": { |
| 1202 | "port": 9177, |
| 1203 | "address": "0.0.0.0" |
| 1204 | }, |
| 1205 | "enabled": true |
| 1206 | } |
| 1207 | }, |
| 1208 | "packages": [ |
| 1209 | "libvirt-exporter" |
| 1210 | ], |
| 1211 | "enabled": true |
| 1212 | } |
| 1213 | }, |
| 1214 | "server": { |
| 1215 | "recording": {}, |
| 1216 | "target": { |
| 1217 | "static": { |
| 1218 | "fluentd": { |
| 1219 | "relabel_configs": [ |
| 1220 | { |
| 1221 | "regex": "10.11.1.1:24231", |
| 1222 | "source_labels": "__address__", |
| 1223 | "target_label": "host", |
| 1224 | "replacement": "cmp1" |
| 1225 | } |
| 1226 | ], |
| 1227 | "honor_labels": true, |
| 1228 | "endpoint": [ |
| 1229 | { |
| 1230 | "port": 24231, |
| 1231 | "address": "10.11.1.1" |
| 1232 | } |
| 1233 | ] |
| 1234 | }, |
| 1235 | "telegraf": { |
| 1236 | "relabel_configs": [ |
| 1237 | { |
| 1238 | "regex": "10.11.1.1:9126", |
| 1239 | "source_labels": "__address__", |
| 1240 | "target_label": "host", |
| 1241 | "replacement": "cmp1" |
| 1242 | } |
| 1243 | ], |
| 1244 | "honor_labels": true, |
| 1245 | "endpoint": [ |
| 1246 | { |
| 1247 | "port": 9126, |
| 1248 | "address": "10.11.1.1" |
| 1249 | } |
| 1250 | ] |
| 1251 | }, |
| 1252 | "libvirt_qemu_exporter": { |
| 1253 | "metric_relabel": [ |
| 1254 | { |
| 1255 | "regex": "10.11.1.1:9177", |
| 1256 | "source_labels": "instance", |
| 1257 | "target_label": "host", |
| 1258 | "replacement": "cmp1" |
| 1259 | } |
| 1260 | ], |
| 1261 | "relabel_configs": [ |
| 1262 | { |
| 1263 | "regex": "10.11.1.1:9177", |
| 1264 | "source_labels": "__address__", |
| 1265 | "target_label": "host", |
| 1266 | "replacement": "cmp1" |
| 1267 | } |
| 1268 | ], |
| 1269 | "endpoint": [ |
| 1270 | { |
| 1271 | "port": 9177, |
| 1272 | "address": "10.11.1.1" |
| 1273 | } |
| 1274 | ] |
| 1275 | } |
| 1276 | } |
| 1277 | }, |
| 1278 | "alert": { |
| 1279 | "ContrailApiDown": { |
| 1280 | "labels": { |
| 1281 | "severity": "minor", |
| 1282 | "service": "contrail" |
| 1283 | }, |
| 1284 | "annotations": { |
| 1285 | "description": "The {{ $labels.name }} API endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 1286 | "summary": "{{ $labels.name }} API endpoint is not accessible" |
| 1287 | }, |
| 1288 | "for": "2m", |
| 1289 | "if": "http_response_status{name=~\"contrail.*\"} == 0" |
| 1290 | }, |
| 1291 | "ContrailApiOutage": { |
| 1292 | "labels": { |
| 1293 | "severity": "critical", |
| 1294 | "service": "contrail" |
| 1295 | }, |
| 1296 | "annotations": { |
| 1297 | "description": "The {{ $labels.name }} API is not accessible for all available endpoints for 2 minutes.", |
| 1298 | "summary": "{{ $labels.name }} API outage" |
| 1299 | }, |
| 1300 | "for": "2m", |
| 1301 | "if": "count(http_response_status{name=~\"contrail.*\"} == 0) by (name) == count(http_response_status{name=~\"contrail.*\"}) by (name)" |
| 1302 | }, |
| 1303 | "ContrailVrouterXMPPSessionsChangesTooHigh": { |
| 1304 | "labels": { |
| 1305 | "severity": "warning", |
| 1306 | "service": "contrail" |
| 1307 | }, |
| 1308 | "annotations": { |
| 1309 | "description": "The OpenContrail vRouter XMPP sessions on the {{ $labels.host }} node have changed {{ $value }} times.", |
| 1310 | "summary": "OpenContrail vRouter XMPP sessions changes reached the limit of5" |
| 1311 | }, |
| 1312 | "if": "abs(delta(contrail_vrouter_xmpp[2m])) >= 5" |
| 1313 | }, |
| 1314 | "CinderErrorLogsTooHigh": { |
| 1315 | "labels": { |
| 1316 | "severity": "warning", |
| 1317 | "service": "cinder" |
| 1318 | }, |
| 1319 | "annotations": { |
| 1320 | "description": "The average per-second rate of errors in Cinder logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 1321 | "summary": "High number of errors in Cinder logs" |
| 1322 | }, |
| 1323 | "if": "sum(rate(log_messages{service=\"cinder\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 1324 | }, |
| 1325 | "ContrailApiDownMinor": { |
| 1326 | "labels": { |
| 1327 | "severity": "minor", |
| 1328 | "service": "contrail" |
| 1329 | }, |
| 1330 | "annotations": { |
| 1331 | "description": "{{ $value }} {{ $labels.name }} API endpoints (>= 30.0%) are not accessible for 2 minutes.", |
| 1332 | "summary": "30.0% of {{ $labels.name }} API endpoints are not accessible" |
| 1333 | }, |
| 1334 | "for": "2m", |
| 1335 | "if": "count(http_response_status{name=~\"contrail.*\"} == 0) by (name) >= count(http_response_status{name=~\"contrail.*\"}) by (name) *0.3" |
| 1336 | }, |
| 1337 | "ContrailVrouterXMPPSessionsTooHigh": { |
| 1338 | "labels": { |
| 1339 | "severity": "warning", |
| 1340 | "service": "contrail" |
| 1341 | }, |
| 1342 | "annotations": { |
| 1343 | "description": "{{ $value }} OpenContrail vRouter XMPP sessions are open on the {{ $labels.host }} node for 2 minutes.", |
| 1344 | "summary": "OpenContrail vRouter XMPP sessions reached the limit of 10" |
| 1345 | }, |
| 1346 | "for": "2m", |
| 1347 | "if": "min(contrail_vrouter_xmpp) by (host) >= 10" |
| 1348 | }, |
| 1349 | "LibvirtDown": { |
| 1350 | "labels": { |
| 1351 | "severity": "critical", |
| 1352 | "service": "libvirt" |
| 1353 | }, |
| 1354 | "annotations": { |
| 1355 | "description": "The Libvirt metric exporter fails to gather metrics on the {{ $labels.host }} node for 2 minutes.", |
| 1356 | "summary": "Failure to gather Libvirt metrics" |
| 1357 | }, |
| 1358 | "for": "2m", |
| 1359 | "if": "libvirt_up == 0" |
| 1360 | }, |
| 1361 | "CronProcessDown": { |
| 1362 | "labels": { |
| 1363 | "severity": "critical", |
| 1364 | "service": "system" |
| 1365 | }, |
| 1366 | "annotations": { |
| 1367 | "description": "The cron process on the {{ $labels.host }} node is down.", |
| 1368 | "summary": "Cron process is down" |
| 1369 | }, |
| 1370 | "if": "procstat_running{process_name=\"cron\"} == 0" |
| 1371 | }, |
| 1372 | "ContrailApiDownMajor": { |
| 1373 | "labels": { |
| 1374 | "severity": "major", |
| 1375 | "service": "contrail" |
| 1376 | }, |
| 1377 | "annotations": { |
| 1378 | "description": "{{ $value }} {{ $labels.name }} API endpoints (>= 60.0%) are not accessible for 2 minutes.", |
| 1379 | "summary": " 60.0% of {{ $labels.name }} API endpoints are not accessible" |
| 1380 | }, |
| 1381 | "for": "2m", |
| 1382 | "if": "count(http_response_status{name=~\"contrail.*\"} == 0) by (name) >= count(http_response_status{name=~\"contrail.*\"}) by (name) *0.6" |
| 1383 | }, |
| 1384 | "ContrailBGPSessionsNoEstablished": { |
| 1385 | "labels": { |
| 1386 | "severity": "warning", |
| 1387 | "service": "contrail" |
| 1388 | }, |
| 1389 | "annotations": { |
| 1390 | "description": "There are no established OpenContrail BGP sessions on the {{ $labels.host }} node for 2 minutes.", |
| 1391 | "summary": "No established OpenContrail BGP sessions" |
| 1392 | }, |
| 1393 | "for": "2m", |
| 1394 | "if": "max(contrail_bgp_session_count) by (host) == 0" |
| 1395 | }, |
| 1396 | "ContrailXMPPSessionsChangesTooHigh": { |
| 1397 | "labels": { |
| 1398 | "severity": "warning", |
| 1399 | "service": "contrail" |
| 1400 | }, |
| 1401 | "annotations": { |
| 1402 | "description": "The OpenContrail XMPP sessions on the {{ $labels.host }} node have changed {{ $value }} times.", |
| 1403 | "summary": "OpenContrail XMPP sessions changes reached the limit of100" |
| 1404 | }, |
| 1405 | "if": "abs(delta(contrail_xmpp_session_count[2m])) >= 100" |
| 1406 | }, |
| 1407 | "SystemRxPacketsDroppedTooHigh": { |
| 1408 | "labels": { |
| 1409 | "severity": "warning", |
| 1410 | "service": "system" |
| 1411 | }, |
| 1412 | "annotations": { |
| 1413 | "description": "{{ $value }} packets received by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 1414 | "summary": "60 received packets were dropped" |
| 1415 | }, |
| 1416 | "if": "increase(net_drop_in[1m]) > 60 unless on (host,interface) bond_slave_active == 0" |
| 1417 | }, |
| 1418 | "ContrailFlowsLabelInvalidTooHigh": { |
| 1419 | "labels": { |
| 1420 | "severity": "warning", |
| 1421 | "service": "contrail" |
| 1422 | }, |
| 1423 | "annotations": { |
| 1424 | "description": "{{ $value }} OpenContrail vRouter flows on the {{ $labels.host }} node had an invalid composite interface for 2 minutes.", |
| 1425 | "summary": "OpenContrail vRouter flows with an invalid label reached the limit of 100" |
| 1426 | }, |
| 1427 | "for": "2m", |
| 1428 | "if": "min(contrail_vrouter_flows_invalid_label) by (host) >= 100" |
| 1429 | }, |
| 1430 | "ContrailVrouterLLSSessionsTooHigh": { |
| 1431 | "labels": { |
| 1432 | "severity": "warning", |
| 1433 | "service": "contrail" |
| 1434 | }, |
| 1435 | "annotations": { |
| 1436 | "description": "{{ $value }} OpenContrail vRouter LLS sessions are open on the {{ $labels.host }} node for 2 minutes.", |
| 1437 | "summary": "OpenContrail vRouter LLS sessions reached the limit of 10" |
| 1438 | }, |
| 1439 | "for": "2m", |
| 1440 | "if": "min(contrail_vrouter_lls) by (host) >= 10" |
| 1441 | }, |
| 1442 | "ContrailFlowsDroppedTooHigh": { |
| 1443 | "labels": { |
| 1444 | "severity": "warning", |
| 1445 | "service": "contrail" |
| 1446 | }, |
| 1447 | "enabled": false, |
| 1448 | "annotations": { |
| 1449 | "description": "The average per-second rate of dropped OpenContrail vRouter flows on the {{ $labels.host }} node is {{ $value }} for 2 minutes.", |
| 1450 | "summary": "OpenContrail vRouter dropped flows reached the limit of 0.2/s" |
| 1451 | }, |
| 1452 | "for": "2m", |
| 1453 | "if": "rate(contrail_vrouter_flows_flow_action_drop[5m]) >= 0.2" |
| 1454 | }, |
| 1455 | "ContrailXMPPSessionsMissing": { |
| 1456 | "labels": { |
| 1457 | "severity": "warning", |
| 1458 | "service": "contrail" |
| 1459 | }, |
| 1460 | "annotations": { |
| 1461 | "description": "{{ $value }} OpenContrail XMPP sessions are missing on the compute cluster for 2 minutes.", |
| 1462 | "summary": "Missing OpenContrail XMPP sessions" |
| 1463 | }, |
| 1464 | "for": "2m", |
| 1465 | "if": "count(contrail_vrouter_xmpp) * 2 - sum(contrail_xmpp_session_count) > 0" |
| 1466 | }, |
| 1467 | "ContrailProcessDownMajor": { |
| 1468 | "labels": { |
| 1469 | "severity": "major", |
| 1470 | "service": "contrail" |
| 1471 | }, |
| 1472 | "annotations": { |
| 1473 | "description": "{{ $value }} {{ $labels.process_name }} processes (>= 60.0%) are down.", |
| 1474 | "summary": "60.0% of {{ $labels.process_name }} processes are down" |
| 1475 | }, |
| 1476 | "if": "count(procstat_running{process_name=~\"contrail.*\"} == 0) by (process_name) >= 0.6*count(procstat_running{process_name=~\"contrail.*\"}) by (process_name)" |
| 1477 | }, |
| 1478 | "ContrailFlowsQueueSizeExceededTooHigh": { |
| 1479 | "labels": { |
| 1480 | "severity": "warning", |
| 1481 | "service": "contrail" |
| 1482 | }, |
| 1483 | "annotations": { |
| 1484 | "description": "The average per-second rate of OpenContrail vRouter flows exceeding the queue size on the {{ $labels.host }} node is {{ $value }} for 2 minutes.", |
| 1485 | "summary": "OpenContrail vRouter flows exceeding the queue size reached the limit of 0.1/s" |
| 1486 | }, |
| 1487 | "for": "2m", |
| 1488 | "if": "rate(contrail_vrouter_flows_flow_queue_limit_exceeded[5m]) >= 0.1" |
| 1489 | }, |
| 1490 | "SystemLoadTooHighWarning": { |
| 1491 | "labels": { |
| 1492 | "severity": "warning", |
| 1493 | "service": "system" |
| 1494 | }, |
| 1495 | "annotations": { |
| 1496 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 1497 | "summary": "System load is1.0" |
| 1498 | }, |
| 1499 | "for": "5m", |
| 1500 | "if": "system_load5 / system_n_cpus > 1.0" |
| 1501 | }, |
| 1502 | "PacketsDroppedByCpuMajor": { |
| 1503 | "labels": { |
| 1504 | "severity": "major", |
| 1505 | "service": "system" |
| 1506 | }, |
| 1507 | "annotations": { |
| 1508 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 24 hours.", |
| 1509 | "summary": "CPU dropped 100 packets" |
| 1510 | }, |
| 1511 | "if": "floor(increase(nstat_packet_drop[24h])) > 100" |
| 1512 | }, |
| 1513 | "SshdProcessDown": { |
| 1514 | "labels": { |
| 1515 | "severity": "critical", |
| 1516 | "service": "system" |
| 1517 | }, |
| 1518 | "annotations": { |
| 1519 | "description": "The SSH process on the {{ $labels.host }} node is down.", |
| 1520 | "summary": "SSH process is down" |
| 1521 | }, |
| 1522 | "if": "procstat_running{process_name=\"sshd\"} == 0" |
| 1523 | }, |
| 1524 | "SystemSwapFullMinor": { |
| 1525 | "labels": { |
| 1526 | "severity": "minor", |
| 1527 | "service": "system" |
| 1528 | }, |
| 1529 | "annotations": { |
| 1530 | "description": "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes.", |
| 1531 | "summary": "90.0% of swap is used" |
| 1532 | }, |
| 1533 | "for": "2m", |
| 1534 | "if": "swap_used_percent >= 90.0" |
| 1535 | }, |
| 1536 | "NovaErrorLogsTooHigh": { |
| 1537 | "labels": { |
| 1538 | "severity": "warning", |
| 1539 | "service": "nova" |
| 1540 | }, |
| 1541 | "annotations": { |
| 1542 | "description": "The average per-second rate of errors in Nova logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 1543 | "summary": "High number of errors in Nova logs" |
| 1544 | }, |
| 1545 | "if": "sum(rate(log_messages{service=\"nova\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 1546 | }, |
| 1547 | "ContrailXMPPSessionsDown": { |
| 1548 | "labels": { |
| 1549 | "severity": "warning", |
| 1550 | "service": "contrail" |
| 1551 | }, |
| 1552 | "annotations": { |
| 1553 | "description": "{{ $value }} OpenContrail XMPP sessions on the {{ $labels.host }} node are down for 2 minutes.", |
| 1554 | "summary": "OpenContrail XMPP sessions are down" |
| 1555 | }, |
| 1556 | "for": "2m", |
| 1557 | "if": "min(contrail_xmpp_session_down_count) by (host) > 0" |
| 1558 | }, |
| 1559 | "NetdevBudgetRanOutsWarning": { |
| 1560 | "labels": { |
| 1561 | "severity": "warning", |
| 1562 | "service": "system" |
| 1563 | }, |
| 1564 | "annotations": { |
| 1565 | "description": "The rate of net_rx_action loops terminations on the {{ $labels.host }} node is {{ $value }} per second during the last 7 minutes. Modify the net.core.netdev_budget and net.core.netdev_budget_usecs kernel parameters.", |
| 1566 | "summary": "CPU terminated 0.1 net_rx_action loops per second" |
| 1567 | }, |
| 1568 | "for": "7m", |
| 1569 | "if": "max(rate(nstat_time_squeeze[5m])) without (cpu) > 0.1" |
| 1570 | }, |
| 1571 | "ContrailFlowsDiscardedTooHigh": { |
| 1572 | "labels": { |
| 1573 | "severity": "warning", |
| 1574 | "service": "contrail" |
| 1575 | }, |
| 1576 | "annotations": { |
| 1577 | "description": "The average per-second rate of discarded OpenContrail vRouter flows on the {{ $labels.host }} node is {{ $value }} for 2 minutes.", |
| 1578 | "summary": "OpenContrail vRouter discarded flows reached the limit of 0.1/s" |
| 1579 | }, |
| 1580 | "for": "2m", |
| 1581 | "if": "rate(contrail_vrouter_flows_discard[5m]) >= 0.1" |
| 1582 | }, |
| 1583 | "SystemLoadTooHighCritical": { |
| 1584 | "labels": { |
| 1585 | "severity": "warning", |
| 1586 | "service": "system" |
| 1587 | }, |
| 1588 | "annotations": { |
| 1589 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 1590 | "summary": "System load is2.0" |
| 1591 | }, |
| 1592 | "for": "5m", |
| 1593 | "if": "system_load5 / system_n_cpus > 2.0" |
| 1594 | }, |
| 1595 | "SystemDiskInodesFullWarning": { |
| 1596 | "labels": { |
| 1597 | "severity": "warning", |
| 1598 | "service": "system" |
| 1599 | }, |
| 1600 | "annotations": { |
| 1601 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 1602 | "summary": "85.0% of inodes for {{ $labels.path }} are used" |
| 1603 | }, |
| 1604 | "for": "2m", |
| 1605 | "if": "100 * disk_inodes_used / disk_inodes_total >= 85.0" |
| 1606 | }, |
| 1607 | "NtpOffsetTooHigh": { |
| 1608 | "labels": { |
| 1609 | "severity": "warning", |
| 1610 | "service": "ntp" |
| 1611 | }, |
| 1612 | "annotations": { |
| 1613 | "description": "The NTP offset on the {{ $labels.host }} node is {{ $value }}ms for 2 minutes.", |
| 1614 | "summary": "NTP offset reached the limit of 200ms" |
| 1615 | }, |
| 1616 | "for": "2m", |
| 1617 | "if": "ntpq_offset >= 200" |
| 1618 | }, |
| 1619 | "ContrailBGPSessionsNoActive": { |
| 1620 | "labels": { |
| 1621 | "severity": "warning", |
| 1622 | "service": "contrail" |
| 1623 | }, |
| 1624 | "annotations": { |
| 1625 | "description": "There are no active OpenContrail BGP sessions on the {{ $labels.host }} node for 2 minutes.", |
| 1626 | "summary": "No active OpenContrail BGP sessions" |
| 1627 | }, |
| 1628 | "for": "2m", |
| 1629 | "if": "max(contrail_bgp_session_up_count) by (host) == 0" |
| 1630 | }, |
| 1631 | "PacketsDroppedByCpuMinor": { |
| 1632 | "labels": { |
| 1633 | "severity": "minor", |
| 1634 | "service": "system" |
| 1635 | }, |
| 1636 | "annotations": { |
| 1637 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 24 hours.", |
| 1638 | "summary": "CPU dropped 0 packets" |
| 1639 | }, |
| 1640 | "if": "floor(increase(nstat_packet_drop[24h])) > 0" |
| 1641 | }, |
| 1642 | "ContrailProcessDown": { |
| 1643 | "labels": { |
| 1644 | "severity": "minor", |
| 1645 | "service": "contrail" |
| 1646 | }, |
| 1647 | "annotations": { |
| 1648 | "description": "The {{ $labels.process_name }} process on the {{ $labels.host }} node is down.", |
| 1649 | "summary": "{{ $labels.process_name }} process is down" |
| 1650 | }, |
| 1651 | "if": "procstat_running{process_name=~\"contrail.*\"} == 0" |
| 1652 | }, |
| 1653 | "SaltMinionServiceDown": { |
| 1654 | "labels": { |
| 1655 | "severity": "critical", |
| 1656 | "service": "salt" |
| 1657 | }, |
| 1658 | "annotations": { |
| 1659 | "description": "The salt-minion service on the {{ $labels.host }} node is down.", |
| 1660 | "summary": "Salt-minion service is down" |
| 1661 | }, |
| 1662 | "if": "procstat_running{process_name=\"salt-minion\"} == 0" |
| 1663 | }, |
| 1664 | "ContrailXMPPSessionsMissingEstablished": { |
| 1665 | "labels": { |
| 1666 | "severity": "warning", |
| 1667 | "service": "contrail" |
| 1668 | }, |
| 1669 | "annotations": { |
| 1670 | "description": "{{ $value }} established OpenContrail XMPP sessions are missing on the compute cluster for 2 minutes.", |
| 1671 | "summary": "Missing established OpenContrail XMPP sessions" |
| 1672 | }, |
| 1673 | "for": "2m", |
| 1674 | "if": "count(contrail_vrouter_xmpp) * 2 - sum(contrail_xmpp_session_up_count) > 0" |
| 1675 | }, |
| 1676 | "ContrailProcessOutage": { |
| 1677 | "labels": { |
| 1678 | "severity": "critical", |
| 1679 | "service": "contrail" |
| 1680 | }, |
| 1681 | "annotations": { |
| 1682 | "description": "All {{ $labels.process_name }} processes are down.", |
| 1683 | "summary": "{{ $labels.name }} service outage" |
| 1684 | }, |
| 1685 | "if": "count(procstat_running{process_name=~\"contrail.*\"} == 0) by (process_name) == count(procstat_running{process_name=~\"contrail.*\"}) by (process_name)" |
| 1686 | }, |
| 1687 | "SystemDiskFullWarning": { |
| 1688 | "labels": { |
| 1689 | "severity": "warning", |
| 1690 | "service": "system" |
| 1691 | }, |
| 1692 | "annotations": { |
| 1693 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 1694 | "summary": "Disk partition {{ $labels.path }} is 85.0% full" |
| 1695 | }, |
| 1696 | "for": "2m", |
| 1697 | "if": "disk_used_percent >= 85.0" |
| 1698 | }, |
| 1699 | "SshFailedLoginsTooHigh": { |
| 1700 | "labels": { |
| 1701 | "severity": "warning", |
| 1702 | "service": "system" |
| 1703 | }, |
| 1704 | "annotations": { |
| 1705 | "description": "{{ $value }} failed SSH login attempts on the {{ $labels.host }} node during the last 5 minutes.", |
| 1706 | "summary": "5 failed SSH logins" |
| 1707 | }, |
| 1708 | "if": "increase(failed_logins_total[5m]) > 5" |
| 1709 | }, |
| 1710 | "ContrailFlowsNextHopInvalidTooHigh": { |
| 1711 | "labels": { |
| 1712 | "severity": "warning", |
| 1713 | "service": "contrail" |
| 1714 | }, |
| 1715 | "annotations": { |
| 1716 | "description": "The average per-second rate of OpenContrail vRouter flows with an invalid next hop on the {{ $labels.host }} node is {{ $value }} for 2 minutes.", |
| 1717 | "summary": "OpenContrail vRouter flows with an invalid next hop reached the limit of 0.1/s" |
| 1718 | }, |
| 1719 | "for": "2m", |
| 1720 | "if": "rate(contrail_vrouter_flows_invalid_nh[5m]) >= 0.1" |
| 1721 | }, |
| 1722 | "SystemDiskInodesFullMajor": { |
| 1723 | "labels": { |
| 1724 | "severity": "major", |
| 1725 | "service": "system" |
| 1726 | }, |
| 1727 | "annotations": { |
| 1728 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 1729 | "summary": "95.0% of inodes for {{ $labels.path }} are used" |
| 1730 | }, |
| 1731 | "for": "2m", |
| 1732 | "if": "100 * disk_inodes_used / disk_inodes_total >= 95.0" |
| 1733 | }, |
| 1734 | "SystemMemoryFullWarning": { |
| 1735 | "labels": { |
| 1736 | "severity": "warning", |
| 1737 | "service": "system" |
| 1738 | }, |
| 1739 | "annotations": { |
| 1740 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 1741 | "summary": "90.0% of memory is used" |
| 1742 | }, |
| 1743 | "for": "2m", |
| 1744 | "if": "mem_used_percent >= 90.0" |
| 1745 | }, |
| 1746 | "ContrailBGPSessionsDown": { |
| 1747 | "labels": { |
| 1748 | "severity": "warning", |
| 1749 | "service": "contrail" |
| 1750 | }, |
| 1751 | "annotations": { |
| 1752 | "description": "{{ $value }} OpenContrail BGP sessions on the {{ $labels.host }} node are down for 2 minutes.", |
| 1753 | "summary": "OpenContrail BGP sessions are down" |
| 1754 | }, |
| 1755 | "for": "2m", |
| 1756 | "if": "min(contrail_bgp_session_down_count) by (host) > 0" |
| 1757 | }, |
| 1758 | "ContrailFlowsActiveTooHigh": { |
| 1759 | "labels": { |
| 1760 | "severity": "warning", |
| 1761 | "service": "contrail" |
| 1762 | }, |
| 1763 | "annotations": { |
| 1764 | "description": "{{ $value }} OpenContrail vRouter flows per second on the {{ $labels.host }} node are active for 2 minutes.", |
| 1765 | "summary": "OpenContrail vRouter active flows reached the limit of 100" |
| 1766 | }, |
| 1767 | "for": "2m", |
| 1768 | "if": "deriv(contrail_vrouter_flows_active[5m]) >= 100" |
| 1769 | }, |
| 1770 | "SystemTxPacketsDroppedTooHigh": { |
| 1771 | "labels": { |
| 1772 | "severity": "warning", |
| 1773 | "service": "system" |
| 1774 | }, |
| 1775 | "annotations": { |
| 1776 | "description": "{{ $value }} packets transmitted by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 1777 | "summary": "100 transmitted packets were dropped" |
| 1778 | }, |
| 1779 | "if": "increase(net_drop_out[1m]) > 100" |
| 1780 | }, |
| 1781 | "ContrailVrouterLLSSessionsChangesTooHigh": { |
| 1782 | "labels": { |
| 1783 | "severity": "warning", |
| 1784 | "service": "contrail" |
| 1785 | }, |
| 1786 | "annotations": { |
| 1787 | "description": "The OpenContrail vRouter LLS sessions on the {{ $labels.host }} node have changed {{ $value }} times.", |
| 1788 | "summary": "OpenContrail vRouter LLS sessions changes reached the limit of 5" |
| 1789 | }, |
| 1790 | "if": "abs(delta(contrail_vrouter_lls[2m])) >= 5" |
| 1791 | }, |
| 1792 | "SystemDiskFullMajor": { |
| 1793 | "labels": { |
| 1794 | "severity": "major", |
| 1795 | "service": "system" |
| 1796 | }, |
| 1797 | "annotations": { |
| 1798 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 1799 | "summary": "Disk partition {{ $labels.path }} is 95.0% full" |
| 1800 | }, |
| 1801 | "for": "2m", |
| 1802 | "if": "disk_used_percent >= 95.0" |
| 1803 | }, |
| 1804 | "ContrailProcessDownMinor": { |
| 1805 | "labels": { |
| 1806 | "severity": "minor", |
| 1807 | "service": "contrail" |
| 1808 | }, |
| 1809 | "annotations": { |
| 1810 | "description": "{{ $value }} {{ $labels.process_name }} processes (>= 30.0%) are down.", |
| 1811 | "summary": "30.0% of {{ $labels.process_name }} processes are down" |
| 1812 | }, |
| 1813 | "if": "count(procstat_running{process_name=~\"contrail.*\"} == 0) by (process_name) >= 0.3*count(procstat_running{process_name=~\"contrail.*\"}) by (process_name)" |
| 1814 | }, |
| 1815 | "SystemCpuFullWarning": { |
| 1816 | "labels": { |
| 1817 | "severity": "warning", |
| 1818 | "service": "system" |
| 1819 | }, |
| 1820 | "annotations": { |
| 1821 | "description": "The average CPU usage on the {{ $labels.host }} node is {{ $value }}% for 2 minutes.", |
| 1822 | "summary": "90.0% CPU usage" |
| 1823 | }, |
| 1824 | "for": "2m", |
| 1825 | "if": "100 - avg_over_time(cpu_usage_idle{cpu=\"cpu-total\"}[5m]) > 90.0" |
| 1826 | }, |
| 1827 | "ContrailFlowsInterfaceInvalidTooHigh": { |
| 1828 | "labels": { |
| 1829 | "severity": "warning", |
| 1830 | "service": "contrail" |
| 1831 | }, |
| 1832 | "annotations": { |
| 1833 | "description": "The average per-second rate of OpenContrail vRouter flows with an invalid composite interface on the {{ $labels.host }} node is {{ $value }} for 2 minutes.", |
| 1834 | "summary": "OpenContrail vRouter flows with an invalid composite interface reached the limit of 0.05/s" |
| 1835 | }, |
| 1836 | "for": "2m", |
| 1837 | "if": "rate(contrail_vrouter_flows_composite_invalid_interface[5m]) >= 0.05" |
| 1838 | }, |
| 1839 | "ContrailFlowsTableFullTooHigh": { |
| 1840 | "labels": { |
| 1841 | "severity": "warning", |
| 1842 | "service": "contrail" |
| 1843 | }, |
| 1844 | "annotations": { |
| 1845 | "description": "{{ $value }} OpenContrail vRouter flows on the {{ $labels.host }} node had a full table for 2 minutes.", |
| 1846 | "summary": "OpenContrail vRouter flows with full table reached the limit of 100" |
| 1847 | }, |
| 1848 | "for": "2m", |
| 1849 | "if": "min(contrail_vrouter_flows_flow_table_full) by (host) >= 100" |
| 1850 | }, |
| 1851 | "ContrailXMPPSessionsTooHigh": { |
| 1852 | "labels": { |
| 1853 | "severity": "warning", |
| 1854 | "service": "contrail" |
| 1855 | }, |
| 1856 | "annotations": { |
| 1857 | "description": "{{ $value }} OpenContrail XMPP sessions on the {{ $labels.host }} node are open for 2 minutes.", |
| 1858 | "summary": "OpenContrail XMPP sessions reached the limit of 500" |
| 1859 | }, |
| 1860 | "for": "2m", |
| 1861 | "if": "min(contrail_xmpp_session_count) by (host) >= 500" |
| 1862 | }, |
| 1863 | "ContrailFlowsFragErrTooHigh": { |
| 1864 | "labels": { |
| 1865 | "severity": "warning", |
| 1866 | "service": "contrail" |
| 1867 | }, |
| 1868 | "annotations": { |
| 1869 | "description": "{{ $value }} OpenContrail vRouter flows on the {{ $labels.host }} node had fragment errors for 2 minutes.", |
| 1870 | "summary": "OpenContrail vRouter flows with fragment errors reached the limit of 0.2" |
| 1871 | }, |
| 1872 | "for": "2m", |
| 1873 | "if": "min(contrail_vrouter_flows_frag_err) by (host) >= 100" |
| 1874 | }, |
| 1875 | "SystemDiskErrorsTooHigh": { |
| 1876 | "labels": { |
| 1877 | "severity": "warning", |
| 1878 | "service": "system" |
| 1879 | }, |
| 1880 | "annotations": { |
| 1881 | "description": "The {{ $labels.device }} disk on the {{ $labels.host }} node is reporting errors for 5 minutes.", |
| 1882 | "summary": "Disk {{ $labels.device }} is failing" |
| 1883 | }, |
| 1884 | "for": "5m", |
| 1885 | "if": "increase(hdd_errors_total[1m]) > 0" |
| 1886 | }, |
| 1887 | "SystemSwapFullWarning": { |
| 1888 | "labels": { |
| 1889 | "severity": "warning", |
| 1890 | "service": "system" |
| 1891 | }, |
| 1892 | "annotations": { |
| 1893 | "description": "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes.", |
| 1894 | "summary": "50.0% of swap is used" |
| 1895 | }, |
| 1896 | "for": "2m", |
| 1897 | "if": "swap_used_percent >= 50.0" |
| 1898 | }, |
| 1899 | "SystemMemoryFullMajor": { |
| 1900 | "labels": { |
| 1901 | "severity": "major", |
| 1902 | "service": "system" |
| 1903 | }, |
| 1904 | "annotations": { |
| 1905 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 1906 | "summary": "95.0% of memory is used" |
| 1907 | }, |
| 1908 | "for": "2m", |
| 1909 | "if": "mem_used_percent >= 95.0" |
| 1910 | }, |
| 1911 | "ContrailVrouterXMPPSessionsZero": { |
| 1912 | "labels": { |
| 1913 | "severity": "warning", |
| 1914 | "service": "contrail" |
| 1915 | }, |
| 1916 | "annotations": { |
| 1917 | "description": "There are no OpenContrail vRouter XMPP sessions on the {{ $labels.host }} node for 2 minutes.", |
| 1918 | "summary": "No OpenContrail vRouter XMPP sessions" |
| 1919 | }, |
| 1920 | "for": "2m", |
| 1921 | "if": "min(contrail_vrouter_xmpp) by (host) == 0" |
| 1922 | } |
| 1923 | } |
| 1924 | } |
| 1925 | }, |
| 1926 | "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", |
| 1927 | "machine_id": "62cb8077993242e295fc27f611de39f6", |
| 1928 | "salt": { |
| 1929 | "graph": [ |
| 1930 | { |
| 1931 | "host": "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 1932 | "type": "software-system", |
| 1933 | "service": "ntp.client", |
| 1934 | "relations": [ |
| 1935 | { |
| 1936 | "host_external": "udp://10.10.0.15", |
| 1937 | "direction": "source", |
| 1938 | "type": "udp", |
| 1939 | "service": "other-service" |
| 1940 | }, |
| 1941 | { |
| 1942 | "host_external": "udp://pool.ntp.org", |
| 1943 | "direction": "source", |
| 1944 | "type": "udp", |
| 1945 | "service": "other-service" |
| 1946 | } |
| 1947 | ] |
| 1948 | }, |
| 1949 | { |
| 1950 | "host": "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 1951 | "type": "software-system", |
| 1952 | "service": "linux.system", |
| 1953 | "relations": [ |
| 1954 | { |
| 1955 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 1956 | "direction": "source", |
| 1957 | "type": "tcp-http", |
| 1958 | "service": "apt.repo" |
| 1959 | }, |
| 1960 | { |
| 1961 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//td-agent//xenial xenial contrib", |
| 1962 | "direction": "source", |
| 1963 | "type": "tcp-http", |
| 1964 | "service": "apt.repo" |
| 1965 | }, |
| 1966 | { |
| 1967 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//openstack-queens//xenial xenial main", |
| 1968 | "direction": "source", |
| 1969 | "type": "tcp-http", |
| 1970 | "service": "apt.repo" |
| 1971 | }, |
| 1972 | { |
| 1973 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//td-agent//xenial xenial contrib", |
| 1974 | "direction": "source", |
| 1975 | "type": "tcp-http", |
| 1976 | "service": "apt.repo" |
| 1977 | }, |
| 1978 | { |
| 1979 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//percona//xenial/ xenial main", |
| 1980 | "direction": "source", |
| 1981 | "type": "tcp-http", |
| 1982 | "service": "apt.repo" |
| 1983 | }, |
| 1984 | { |
| 1985 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 1986 | "direction": "source", |
| 1987 | "type": "tcp-http", |
| 1988 | "service": "apt.repo" |
| 1989 | }, |
| 1990 | { |
| 1991 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//percona//xenial/ xenial main", |
| 1992 | "direction": "source", |
| 1993 | "type": "tcp-http", |
| 1994 | "service": "apt.repo" |
| 1995 | }, |
| 1996 | { |
| 1997 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//opencontrail-4.0//xenial xenial main", |
| 1998 | "direction": "source", |
| 1999 | "type": "tcp-http", |
| 2000 | "service": "apt.repo" |
| 2001 | }, |
| 2002 | { |
| 2003 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 2004 | "direction": "source", |
| 2005 | "type": "tcp-http", |
| 2006 | "service": "apt.repo" |
| 2007 | }, |
| 2008 | { |
| 2009 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//extra//xenial xenial main", |
| 2010 | "direction": "source", |
| 2011 | "type": "tcp-http", |
| 2012 | "service": "apt.repo" |
| 2013 | }, |
| 2014 | { |
| 2015 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//extra//xenial xenial main", |
| 2016 | "direction": "source", |
| 2017 | "type": "tcp-http", |
| 2018 | "service": "apt.repo" |
| 2019 | }, |
| 2020 | { |
| 2021 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial main restricted universe", |
| 2022 | "direction": "source", |
| 2023 | "type": "tcp-http", |
| 2024 | "service": "apt.repo" |
| 2025 | }, |
| 2026 | { |
| 2027 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-updates main restricted universe", |
| 2028 | "direction": "source", |
| 2029 | "type": "tcp-http", |
| 2030 | "service": "apt.repo" |
| 2031 | }, |
| 2032 | { |
| 2033 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 2034 | "direction": "source", |
| 2035 | "type": "tcp-http", |
| 2036 | "service": "apt.repo" |
| 2037 | }, |
| 2038 | { |
| 2039 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//openstack-queens//xenial xenial main", |
| 2040 | "direction": "source", |
| 2041 | "type": "tcp-http", |
| 2042 | "service": "apt.repo" |
| 2043 | } |
| 2044 | ] |
| 2045 | }, |
| 2046 | { |
| 2047 | "host": "cmp1.ozhurba-os-oc-cicd-sl.local", |
| 2048 | "type": "software-config", |
| 2049 | "service": "salt.minion", |
| 2050 | "relations": [ |
| 2051 | { |
| 2052 | "direction": "source", |
| 2053 | "type": "tcp-0mq", |
| 2054 | "service": "salt.master", |
| 2055 | "host_from_target": "10.10.0.15" |
| 2056 | } |
| 2057 | ] |
| 2058 | } |
| 2059 | ] |
| 2060 | } |
| 2061 | }, |
| 2062 | "ctl01.fakedomain.local": { |
| 2063 | "biosversion": "1.10.2-1.1~u16.04+mcp2", |
| 2064 | "kernel": "Linux", |
| 2065 | "domain": "ozhurba-os-oc-cicd-sl.local", |
| 2066 | "uid": 0, |
| 2067 | "zmqversion": "4.1.4", |
| 2068 | "kernelrelease": "4.15.0-43-generic", |
| 2069 | "pythonpath": [ |
| 2070 | "/usr/bin", |
| 2071 | "/usr/lib/python2.7", |
| 2072 | "/usr/lib/python2.7/plat-x86_64-linux-gnu", |
| 2073 | "/usr/lib/python2.7/lib-tk", |
| 2074 | "/usr/lib/python2.7/lib-old", |
| 2075 | "/usr/lib/python2.7/lib-dynload", |
| 2076 | "/usr/local/lib/python2.7/dist-packages", |
| 2077 | "/usr/lib/python2.7/dist-packages" |
| 2078 | ], |
| 2079 | "serialnumber": "a29a9e8f-3421-47ae-aaeb-1d02391f7e62", |
| 2080 | "neutron_policy": { |
| 2081 | "create_router:distributed": "rule:admin_only", |
| 2082 | "get_policy_dscp_marking_rule": "rule:regular_user", |
| 2083 | "shared_subnetpools": "field:subnetpools:shared=True", |
| 2084 | "context_is_advsvc": "role:advsvc", |
| 2085 | "get_floatingip": "rule:admin_or_owner", |
| 2086 | "context_is_admin": "role:admin", |
| 2087 | "update_router:external_gateway_info:network_id": "rule:admin_or_owner", |
| 2088 | "update_port:port_security_enabled": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2089 | "admin_owner_or_network_owner": "rule:owner or rule:admin_or_network_owner", |
| 2090 | "get_loadbalancer-pools": "rule:admin_only", |
| 2091 | "get_service_provider": "rule:regular_user", |
| 2092 | "create_network:router:external": "rule:admin_only", |
| 2093 | "create_port:mac_learning_enabled": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2094 | "get_service_profiles": "rule:admin_only", |
| 2095 | "create_qos_queue": "rule:admin_only", |
| 2096 | "get_port": "rule:context_is_advsvc or rule:admin_owner_or_network_owner", |
| 2097 | "delete_address_scope": "rule:admin_or_owner", |
| 2098 | "delete_agent": "rule:admin_only", |
| 2099 | "update_policy_dscp_marking_rule": "rule:admin_only", |
| 2100 | "update_address_scope:shared": "rule:admin_only", |
| 2101 | "create_router": "rule:regular_user", |
| 2102 | "delete_metering_label_rule": "rule:admin_only", |
| 2103 | "update_network:segments": "rule:admin_only", |
| 2104 | "update_network:provider:segmentation_id": "rule:admin_only", |
| 2105 | "create_network:segments": "rule:admin_only", |
| 2106 | "delete_log": "rule:admin_only", |
| 2107 | "get_policy_profiles": "", |
| 2108 | "get_port:binding:host_id": "rule:admin_only", |
| 2109 | "get_rule_type": "rule:regular_user", |
| 2110 | "update_port:fixed_ips:ip_address": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2111 | "create_segment": "rule:admin_only", |
| 2112 | "get_security_group_rule": "rule:admin_or_owner", |
| 2113 | "update_port:binding:host_id": "rule:admin_only", |
| 2114 | "delete_port": "rule:context_is_advsvc or rule:admin_owner_or_network_owner", |
| 2115 | "delete_rbac_policy": "rule:admin_or_owner", |
| 2116 | "get_policy_profile": "", |
| 2117 | "update_network:router:external": "rule:admin_only", |
| 2118 | "create_network:provider:segmentation_id": "rule:admin_only", |
| 2119 | "get_subnet": "rule:admin_or_owner or rule:shared", |
| 2120 | "create_port": "", |
| 2121 | "create_subnet": "rule:admin_or_network_owner", |
| 2122 | "update_policy": "rule:admin_only", |
| 2123 | "get_network:queue_id": "rule:admin_only", |
| 2124 | "get_policy": "rule:regular_user", |
| 2125 | "update_network": "rule:admin_or_owner", |
| 2126 | "delete_network": "rule:admin_or_owner", |
| 2127 | "get_service_profile": "rule:admin_only", |
| 2128 | "get_policy_minimum_bandwidth_rule": "rule:regular_user", |
| 2129 | "update_subnet": "rule:admin_or_network_owner", |
| 2130 | "update_router:ha": "rule:admin_only", |
| 2131 | "update_subnet:service_types": "rule:admin_only", |
| 2132 | "get_flavor": "rule:regular_user", |
| 2133 | "create_policy_bandwidth_limit_rule": "rule:admin_only", |
| 2134 | "create_subnetpool": "", |
| 2135 | "get_metering_label_rule": "rule:admin_only", |
| 2136 | "add_router_interface": "rule:admin_or_owner", |
| 2137 | "create_router:external_gateway_info:external_fixed_ips": "rule:admin_only", |
| 2138 | "update_rbac_policy:target_tenant": "rule:restrict_wildcard and rule:admin_or_owner", |
| 2139 | "create_rbac_policy:target_tenant": "rule:restrict_wildcard", |
| 2140 | "get_port:binding:vif_details": "rule:admin_only", |
| 2141 | "get_router:ha": "rule:admin_only", |
| 2142 | "update_port:device_owner": "not rule:network_device or rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2143 | "update_log": "rule:admin_only", |
| 2144 | "update_subnetpool:is_default": "rule:admin_only", |
| 2145 | "update_policy_minimum_bandwidth_rule": "rule:admin_only", |
| 2146 | "get_subports": "", |
| 2147 | "get_port:binding:vif_type": "rule:admin_only", |
| 2148 | "shared": "field:networks:shared=True", |
| 2149 | "update_security_group": "rule:admin_or_owner", |
| 2150 | "get_logs": "rule:admin_only", |
| 2151 | "get_agent": "rule:admin_only", |
| 2152 | "create_floatingip:floating_ip_address": "rule:admin_only", |
| 2153 | "delete_floatingip": "rule:admin_or_owner", |
| 2154 | "delete_flavor_service_profile": "rule:admin_only", |
| 2155 | "create_port:port_security_enabled": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2156 | "update_service_profile": "rule:admin_only", |
| 2157 | "update_network:shared": "rule:admin_only", |
| 2158 | "update_router:distributed": "rule:admin_only", |
| 2159 | "create_port:device_owner": "not rule:network_device or rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2160 | "delete_policy": "rule:admin_only", |
| 2161 | "regular_user": "", |
| 2162 | "admin_or_network_owner": "rule:context_is_admin or tenant_id:%(network:tenant_id)s", |
| 2163 | "update_segment": "rule:admin_only", |
| 2164 | "get_network:segments": "rule:admin_only", |
| 2165 | "create_network:provider:physical_network": "rule:admin_only", |
| 2166 | "shared_address_scopes": "field:address_scopes:shared=True", |
| 2167 | "get_network:provider:segmentation_id": "rule:admin_only", |
| 2168 | "get_router": "rule:admin_or_owner", |
| 2169 | "get_l3-agents": "rule:admin_only", |
| 2170 | "get_router:distributed": "rule:admin_only", |
| 2171 | "create_lsn": "rule:admin_only", |
| 2172 | "create_port:fixed_ips:ip_address": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2173 | "update_network:provider:network_type": "rule:admin_only", |
| 2174 | "create_metering_label": "rule:admin_only", |
| 2175 | "create_metering_label_rule": "rule:admin_only", |
| 2176 | "create_flavor_service_profile": "rule:admin_only", |
| 2177 | "delete_security_group_rule": "rule:admin_or_owner", |
| 2178 | "delete_policy_bandwidth_limit_rule": "rule:admin_only", |
| 2179 | "create_l3-router": "rule:admin_only", |
| 2180 | "create_policy_minimum_bandwidth_rule": "rule:admin_only", |
| 2181 | "update_router": "rule:admin_or_owner", |
| 2182 | "create_network:shared": "rule:admin_only", |
| 2183 | "get_subnet:segment_id": "rule:admin_only", |
| 2184 | "get_qos_queue": "rule:admin_only", |
| 2185 | "create_dhcp-network": "rule:admin_only", |
| 2186 | "get_dhcp-networks": "rule:admin_only", |
| 2187 | "add_subports": "rule:admin_or_owner", |
| 2188 | "create_port:binding:host_id": "rule:admin_only", |
| 2189 | "update_router:external_gateway_info:enable_snat": "rule:admin_only", |
| 2190 | "create_port:mac_address": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2191 | "owner": "tenant_id:%(tenant_id)s", |
| 2192 | "get_network_ip_availabilities": "rule:admin_only", |
| 2193 | "remove_router_interface": "rule:admin_or_owner", |
| 2194 | "update_router:external_gateway_info": "rule:admin_or_owner", |
| 2195 | "get_network:provider:physical_network": "rule:admin_only", |
| 2196 | "get_policy_bandwidth_limit_rule": "rule:regular_user", |
| 2197 | "create_router:external_gateway_info:enable_snat": "rule:admin_only", |
| 2198 | "delete_l3-router": "rule:admin_only", |
| 2199 | "create_security_group": "rule:admin_or_owner", |
| 2200 | "delete_router": "rule:admin_or_owner", |
| 2201 | "delete_policy_dscp_marking_rule": "rule:admin_only", |
| 2202 | "get_rbac_policy": "rule:admin_or_owner", |
| 2203 | "update_floatingip": "rule:admin_or_owner", |
| 2204 | "delete_network_profile": "rule:admin_only", |
| 2205 | "create_policy_dscp_marking_rule": "rule:admin_only", |
| 2206 | "update_router:external_gateway_info:external_fixed_ips": "rule:admin_only", |
| 2207 | "admin_only": "rule:context_is_admin", |
| 2208 | "update_port:allowed_address_pairs": "rule:admin_or_network_owner", |
| 2209 | "get_lsn": "rule:admin_only", |
| 2210 | "update_address_scope": "rule:admin_or_owner", |
| 2211 | "create_network:is_default": "rule:admin_only", |
| 2212 | "external": "field:networks:router:external=True", |
| 2213 | "get_network_profile": "", |
| 2214 | "create_address_scope": "", |
| 2215 | "create_floatingip": "rule:regular_user", |
| 2216 | "get_loadbalancer-agent": "rule:admin_only", |
| 2217 | "get_network:router:external": "rule:regular_user", |
| 2218 | "create_address_scope:shared": "rule:admin_only", |
| 2219 | "create_port:fixed_ips:subnet_id": "rule:context_is_advsvc or rule:admin_or_network_owner or rule:shared", |
| 2220 | "create_network_profile": "rule:admin_only", |
| 2221 | "delete_subnet": "rule:admin_or_network_owner", |
| 2222 | "get_network_profiles": "", |
| 2223 | "delete_trunk": "rule:admin_or_owner", |
| 2224 | "create_network": "", |
| 2225 | "get_auto_allocated_topology": "rule:admin_or_owner", |
| 2226 | "get_network": "rule:admin_or_owner or rule:shared or rule:external or rule:context_is_advsvc", |
| 2227 | "create_security_group_rule": "rule:admin_or_owner", |
| 2228 | "get_loadbalancer-hosting-agent": "rule:admin_only", |
| 2229 | "delete_security_group": "rule:admin_or_owner", |
| 2230 | "get_network:provider:network_type": "rule:admin_only", |
| 2231 | "create_trunk": "rule:regular_user", |
| 2232 | "update_policy_bandwidth_limit_rule": "rule:admin_only", |
| 2233 | "get_network_ip_availability": "rule:admin_only", |
| 2234 | "get_metering_label": "rule:admin_only", |
| 2235 | "restrict_wildcard": "(not field:rbac_policy:target_tenant=*) or rule:admin_only", |
| 2236 | "update_agent": "rule:admin_only", |
| 2237 | "create_flavor": "rule:admin_only", |
| 2238 | "create_port:binding:profile": "rule:admin_only", |
| 2239 | "get_port:binding:profile": "rule:admin_only", |
| 2240 | "update_port:fixed_ips:subnet_id": "rule:context_is_advsvc or rule:admin_or_network_owner or rule:shared", |
| 2241 | "create_network:provider:network_type": "rule:admin_only", |
| 2242 | "update_port:data_plane_status": "rule:admin_or_data_plane_int", |
| 2243 | "create_port:allowed_address_pairs": "rule:admin_or_network_owner", |
| 2244 | "create_router:ha": "rule:admin_only", |
| 2245 | "update_network_profile": "rule:admin_only", |
| 2246 | "delete_dhcp-network": "rule:admin_only", |
| 2247 | "create_policy": "rule:admin_only", |
| 2248 | "create_log": "rule:admin_only", |
| 2249 | "update_port:mac_learning_enabled": "rule:context_is_advsvc or rule:admin_or_network_owner", |
| 2250 | "update_port": "rule:admin_or_owner or rule:context_is_advsvc", |
| 2251 | "get_security_groups": "rule:admin_or_owner", |
| 2252 | "admin_or_data_plane_int": "rule:context_is_admin or role:data_plane_integrator", |
| 2253 | "default": "rule:admin_or_owner", |
| 2254 | "get_trunk": "rule:admin_or_owner", |
| 2255 | "network_device": "field:port:device_owner=~^network:", |
| 2256 | "delete_policy_minimum_bandwidth_rule": "rule:admin_only", |
| 2257 | "get_port:queue_id": "rule:admin_only", |
| 2258 | "update_port:binding:profile": "rule:admin_only", |
| 2259 | "remove_subports": "rule:admin_or_owner", |
| 2260 | "get_loggable_resources": "rule:admin_only", |
| 2261 | "update_network:provider:physical_network": "rule:admin_only", |
| 2262 | "get_flavor_service_profile": "rule:regular_user", |
| 2263 | "get_address_scope": "rule:admin_or_owner or rule:shared_address_scopes", |
| 2264 | "update_flavor": "rule:admin_only", |
| 2265 | "get_security_group_rules": "rule:admin_or_owner", |
| 2266 | "get_security_group": "rule:admin_or_owner", |
| 2267 | "delete_flavor": "rule:admin_only", |
| 2268 | "create_subnetpool:is_default": "rule:admin_only", |
| 2269 | "update_policy_profiles": "rule:admin_only", |
| 2270 | "get_subnetpool": "rule:admin_or_owner or rule:shared_subnetpools", |
| 2271 | "create_subnet:service_types": "rule:admin_only", |
| 2272 | "get_l3-routers": "rule:admin_only", |
| 2273 | "create_rbac_policy": "", |
| 2274 | "delete_metering_label": "rule:admin_only", |
| 2275 | "update_subnetpool": "rule:admin_or_owner", |
| 2276 | "get_dhcp-agents": "rule:admin_only", |
| 2277 | "get_log": "rule:admin_only", |
| 2278 | "get_flavors": "rule:regular_user", |
| 2279 | "create_subnetpool:shared": "rule:admin_only", |
| 2280 | "get_agent-loadbalancers": "rule:admin_only", |
| 2281 | "delete_subnetpool": "rule:admin_or_owner", |
| 2282 | "update_port:mac_address": "rule:admin_only or rule:context_is_advsvc", |
| 2283 | "get_segment": "rule:admin_only", |
| 2284 | "delete_service_profile": "rule:admin_only", |
| 2285 | "create_subnet:segment_id": "rule:admin_only", |
| 2286 | "create_service_profile": "rule:admin_only", |
| 2287 | "delete_segment": "rule:admin_only", |
| 2288 | "update_rbac_policy": "rule:admin_or_owner", |
| 2289 | "admin_or_owner": "rule:context_is_admin or rule:owner" |
| 2290 | }, |
| 2291 | "telegraf": { |
| 2292 | "remote_agent": { |
| 2293 | "input": { |
| 2294 | "openstack": { |
| 2295 | "username": "admin", |
| 2296 | "cpu_ratio": "16.0", |
| 2297 | "region": "RegionOne", |
| 2298 | "interval": "3m", |
| 2299 | "project": "admin", |
| 2300 | "monitor_agents": "true", |
| 2301 | "password": "lkgQzExIrlxueh57sLEm1vkcOfQgDuWh", |
| 2302 | "tenant": "admin", |
| 2303 | "identity_endpoint": "http://10.11.0.10:35357/" |
| 2304 | } |
| 2305 | }, |
| 2306 | "processor": {}, |
| 2307 | "dir": { |
| 2308 | "config": "/srv/volumes/local/telegraf", |
| 2309 | "config_d": "/srv/volumes/local/telegraf/telegraf.d" |
| 2310 | }, |
| 2311 | "output": { |
| 2312 | "prometheus_client_openstack": { |
| 2313 | "engine": "prometheus", |
| 2314 | "bind": { |
| 2315 | "port": "9127", |
| 2316 | "address": "0.0.0.0" |
| 2317 | }, |
| 2318 | "expiration_interval": "6m", |
| 2319 | "namepass": [ |
| 2320 | "openstack*" |
| 2321 | ], |
| 2322 | "template": "telegraf/files/output/prometheus_client.conf" |
| 2323 | }, |
| 2324 | "prometheus_client": { |
| 2325 | "namedrop": [ |
| 2326 | "openstack*" |
| 2327 | ] |
| 2328 | } |
| 2329 | } |
| 2330 | }, |
| 2331 | "agent": { |
| 2332 | "metric_batch_size": 1000, |
| 2333 | "collection_jitter": 2, |
| 2334 | "interval": 15, |
| 2335 | "enabled": true, |
| 2336 | "pkgs": [ |
| 2337 | "telegraf" |
| 2338 | ], |
| 2339 | "round_interval": false, |
| 2340 | "output": { |
| 2341 | "prometheus_client": { |
| 2342 | "engine": "prometheus", |
| 2343 | "bind": { |
| 2344 | "port": 9126, |
| 2345 | "address": "0.0.0.0" |
| 2346 | }, |
| 2347 | "string_as_label": false |
| 2348 | } |
| 2349 | }, |
| 2350 | "input": { |
| 2351 | "haproxy": { |
| 2352 | "fielddrop": [ |
| 2353 | "addr", |
| 2354 | "agent_status", |
| 2355 | "check_status", |
| 2356 | "cookie", |
| 2357 | "last_agt", |
| 2358 | "last_chk", |
| 2359 | "mode", |
| 2360 | "status", |
| 2361 | "tracked" |
| 2362 | ], |
| 2363 | "servers": [ |
| 2364 | "/run/haproxy/admin.sock" |
| 2365 | ] |
| 2366 | }, |
| 2367 | "kernel": null, |
| 2368 | "processes": null, |
| 2369 | "nstat": { |
| 2370 | "fieldpass": [ |
| 2371 | "packet_drop", |
| 2372 | "time_squeeze" |
| 2373 | ] |
| 2374 | }, |
| 2375 | "ipcheck": { |
| 2376 | "ips": [ |
| 2377 | "10.11.0.10" |
| 2378 | ], |
| 2379 | "interface_name_regexp_exclude": "^docker.*", |
| 2380 | "template": "keepalived/files/telegraf.conf" |
| 2381 | }, |
| 2382 | "x509": { |
| 2383 | "sources": [ |
| 2384 | "/srv/salt/pki/ozhurba-os-oc-cicd-sl/10.13.250.9.crt" |
| 2385 | ] |
| 2386 | }, |
| 2387 | "ntp": { |
| 2388 | "template": "ntp/files/telegraf.conf" |
| 2389 | }, |
| 2390 | "mem": null, |
| 2391 | "keepalived": { |
| 2392 | "template": "keepalived/files/vrrp_telegraf.conf" |
| 2393 | }, |
| 2394 | "system": null, |
| 2395 | "http_listener": { |
| 2396 | "read_timeout": "10s", |
| 2397 | "bind": { |
| 2398 | "port": 8186, |
| 2399 | "address": "127.0.0.1" |
| 2400 | }, |
| 2401 | "tagexclude": [ |
| 2402 | "hostname" |
| 2403 | ], |
| 2404 | "write_timeout": "10s" |
| 2405 | }, |
| 2406 | "swap": null, |
| 2407 | "linux_sysctl_fs": null, |
| 2408 | "diskio": null, |
| 2409 | "procstat": { |
| 2410 | "process": { |
| 2411 | "sshd": { |
| 2412 | "exe": "sshd" |
| 2413 | }, |
| 2414 | "salt-minion": { |
| 2415 | "pattern": "salt-minion" |
| 2416 | }, |
| 2417 | "keepalived": { |
| 2418 | "exe": "keepalived" |
| 2419 | }, |
| 2420 | "cron": { |
| 2421 | "exe": "cron" |
| 2422 | }, |
| 2423 | "memcached": { |
| 2424 | "exe": "memcached" |
| 2425 | }, |
| 2426 | "ntpd": { |
| 2427 | "exe": "ntpd" |
| 2428 | } |
| 2429 | } |
| 2430 | }, |
| 2431 | "apache": { |
| 2432 | "urls": [ |
| 2433 | "http://127.0.0.1:80/server-status?auto" |
| 2434 | ], |
| 2435 | "template": "apache/files/telegraf.conf" |
| 2436 | }, |
| 2437 | "net": null, |
| 2438 | "disk": { |
| 2439 | "ignore_fs": [ |
| 2440 | "aufs", |
| 2441 | "rootfs", |
| 2442 | "sysfs", |
| 2443 | "proc", |
| 2444 | "devtmpfs", |
| 2445 | "devpts", |
| 2446 | "tmpfs", |
| 2447 | "fusectl", |
| 2448 | "cgroup", |
| 2449 | "overlay" |
| 2450 | ] |
| 2451 | }, |
| 2452 | "memcached": { |
| 2453 | "servers": [ |
| 2454 | { |
| 2455 | "port": 11211, |
| 2456 | "address": "127.0.0.1" |
| 2457 | } |
| 2458 | ] |
| 2459 | }, |
| 2460 | "cpu": { |
| 2461 | "totalcpu": true, |
| 2462 | "percpu": false |
| 2463 | }, |
| 2464 | "http_response": { |
| 2465 | "glance-api": { |
| 2466 | "expected_code": 300, |
| 2467 | "address": "http://10.11.0.11:9292/" |
| 2468 | }, |
| 2469 | "cinder-api": { |
| 2470 | "expected_code": 300, |
| 2471 | "address": "http://10.11.0.11:8776/" |
| 2472 | }, |
| 2473 | "heat-cfn-api": { |
| 2474 | "expected_code": 300, |
| 2475 | "address": "http://10.11.0.11:8000/" |
| 2476 | }, |
| 2477 | "nova-api": { |
| 2478 | "expected_code": 200, |
| 2479 | "address": "http://10.11.0.11:8774/" |
| 2480 | }, |
| 2481 | "neutron-api": { |
| 2482 | "expected_code": 200, |
| 2483 | "address": "http://10.11.0.11:9696/" |
| 2484 | }, |
| 2485 | "keystone-public-api": { |
| 2486 | "expected_code": 300, |
| 2487 | "address": "http://10.11.0.11:5000/" |
| 2488 | }, |
| 2489 | "glance-registry": { |
| 2490 | "expected_code": 401, |
| 2491 | "address": "http://10.11.0.11:9191/" |
| 2492 | }, |
| 2493 | "heat-api": { |
| 2494 | "expected_code": 300, |
| 2495 | "address": "http://10.11.0.11:8004/" |
| 2496 | }, |
| 2497 | "keystone-admin-api": { |
| 2498 | "expected_code": 300, |
| 2499 | "address": "http://10.11.0.11:35357/" |
| 2500 | } |
| 2501 | } |
| 2502 | }, |
| 2503 | "metric_buffer_limit": 10000, |
| 2504 | "processor": {}, |
| 2505 | "dir": { |
| 2506 | "config": "/etc/telegraf", |
| 2507 | "config_d": "/etc/telegraf/telegraf.d" |
| 2508 | } |
| 2509 | } |
| 2510 | }, |
| 2511 | "ip_interfaces": { |
| 2512 | "ens4": [ |
| 2513 | "10.10.100.7", |
| 2514 | "fe80::f816:3eff:fe4e:f3c8" |
| 2515 | ], |
| 2516 | "lo": [ |
| 2517 | "127.0.0.1", |
| 2518 | "::1" |
| 2519 | ], |
| 2520 | "ens6": [ |
| 2521 | "10.13.100.22", |
| 2522 | "fe80::f816:3eff:fe06:f3b" |
| 2523 | ], |
| 2524 | "ens5": [ |
| 2525 | "10.12.100.14", |
| 2526 | "fe80::f816:3eff:fedb:db4f" |
| 2527 | ], |
| 2528 | "ens3": [ |
| 2529 | "10.11.0.11", |
| 2530 | "fe80::f816:3eff:fe0c:1532" |
| 2531 | ] |
| 2532 | }, |
| 2533 | "groupname": "root", |
| 2534 | "fqdn_ip6": [], |
| 2535 | "mem_total": 9992, |
| 2536 | "saltversioninfo": [ |
| 2537 | 2017, |
| 2538 | 7, |
| 2539 | 8, |
| 2540 | 0 |
| 2541 | ], |
| 2542 | "SSDs": [], |
| 2543 | "mdadm": [], |
| 2544 | "id": "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 2545 | "manufacturer": "OpenStack Foundation", |
| 2546 | "osrelease": "16.04", |
| 2547 | "ps": "ps -efHww", |
| 2548 | "systemd": { |
| 2549 | "version": "229", |
| 2550 | "features": "+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN" |
| 2551 | }, |
| 2552 | "fqdn": "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 2553 | "uuid": "b7410784-ac6d-44c3-a9c3-e2ae2aaad69e", |
| 2554 | "ip6_interfaces": { |
| 2555 | "ens4": [ |
| 2556 | "fe80::f816:3eff:fe4e:f3c8" |
| 2557 | ], |
| 2558 | "lo": [ |
| 2559 | "::1" |
| 2560 | ], |
| 2561 | "ens6": [ |
| 2562 | "fe80::f816:3eff:fe06:f3b" |
| 2563 | ], |
| 2564 | "ens5": [ |
| 2565 | "fe80::f816:3eff:fedb:db4f" |
| 2566 | ], |
| 2567 | "ens3": [ |
| 2568 | "fe80::f816:3eff:fe0c:1532" |
| 2569 | ] |
| 2570 | }, |
| 2571 | "num_cpus": 4, |
| 2572 | "hwaddr_interfaces": { |
| 2573 | "ens4": "fa:16:3e:4e:f3:c8", |
| 2574 | "lo": "00:00:00:00:00:00", |
| 2575 | "ens6": "fa:16:3e:06:0f:3b", |
| 2576 | "ens5": "fa:16:3e:db:db:4f", |
| 2577 | "ens3": "fa:16:3e:0c:15:32" |
| 2578 | }, |
| 2579 | "init": "systemd", |
| 2580 | "ip4_interfaces": { |
| 2581 | "ens4": [ |
| 2582 | "10.10.100.7" |
| 2583 | ], |
| 2584 | "lo": [ |
| 2585 | "127.0.0.1" |
| 2586 | ], |
| 2587 | "ens6": [ |
| 2588 | "10.13.100.22" |
| 2589 | ], |
| 2590 | "ens5": [ |
| 2591 | "10.12.100.14" |
| 2592 | ], |
| 2593 | "ens3": [ |
| 2594 | "10.11.0.11" |
| 2595 | ] |
| 2596 | }, |
| 2597 | "grafana": { |
| 2598 | "dashboard": { |
| 2599 | "openstack_tenants_prometheus": { |
| 2600 | "datasource": "prometheus", |
| 2601 | "template": "nova/files/grafana_dashboards/openstack_tenants_prometheus.json", |
| 2602 | "format": "json" |
| 2603 | }, |
| 2604 | "neutron_influxdb": { |
| 2605 | "datasource": "influxdb", |
| 2606 | "template": "neutron/files/grafana_dashboards/neutron_influxdb.json", |
| 2607 | "format": "json" |
| 2608 | }, |
| 2609 | "ntp_prometheus": { |
| 2610 | "datasource": "prometheus", |
| 2611 | "template": "ntp/files/grafana_dashboards/ntp_prometheus.json", |
| 2612 | "format": "json" |
| 2613 | }, |
| 2614 | "heat_prometheus": { |
| 2615 | "datasource": "prometheus", |
| 2616 | "template": "heat/files/grafana_dashboards/heat_prometheus_fluentd.json", |
| 2617 | "format": "json" |
| 2618 | }, |
| 2619 | "cinder_prometheus": { |
| 2620 | "datasource": "prometheus", |
| 2621 | "template": "cinder/files/grafana_dashboards/cinder_prometheus_fluentd.json", |
| 2622 | "format": "json" |
| 2623 | }, |
| 2624 | "neutron_prometheus": { |
| 2625 | "datasource": "prometheus", |
| 2626 | "template": "neutron/files/grafana_dashboards/neutron_prometheus_fluentd.json", |
| 2627 | "format": "json" |
| 2628 | }, |
| 2629 | "glance_prometheus": { |
| 2630 | "datasource": "prometheus", |
| 2631 | "template": "glance/files/grafana_dashboards/glance_prometheus_fluentd.json", |
| 2632 | "format": "json" |
| 2633 | }, |
| 2634 | "hypervisor_influxdb": { |
| 2635 | "datasource": "influxdb", |
| 2636 | "template": "nova/files/grafana_dashboards/hypervisor_influxdb.json", |
| 2637 | "format": "json" |
| 2638 | }, |
| 2639 | "nova_utilization_prometheus": { |
| 2640 | "datasource": "prometheus", |
| 2641 | "template": "nova/files/grafana_dashboards/nova_utilization_prometheus.json", |
| 2642 | "format": "json" |
| 2643 | }, |
| 2644 | "haproxy_prometheus": { |
| 2645 | "datasource": "prometheus", |
| 2646 | "template": "haproxy/files/grafana_dashboards/haproxy_prometheus.json", |
| 2647 | "format": "json" |
| 2648 | }, |
| 2649 | "glusterfs_prometheus": { |
| 2650 | "datasource": "prometheus", |
| 2651 | "template": "glusterfs/files/grafana_dashboards/glusterfs_prometheus.json", |
| 2652 | "format": "json" |
| 2653 | }, |
| 2654 | "apache_influxdb": { |
| 2655 | "datasource": "influxdb", |
| 2656 | "template": "apache/files/grafana_dashboards/apache_influxdb.json", |
| 2657 | "format": "json" |
| 2658 | }, |
| 2659 | "glusterfs_influxdb": { |
| 2660 | "datasource": "influxdb", |
| 2661 | "template": "glusterfs/files/grafana_dashboards/glusterfs_influxdb.json", |
| 2662 | "format": "json" |
| 2663 | }, |
| 2664 | "cinder_influxdb": { |
| 2665 | "datasource": "influxdb", |
| 2666 | "template": "cinder/files/grafana_dashboards/cinder_influxdb.json", |
| 2667 | "format": "json" |
| 2668 | }, |
| 2669 | "openstack_overview_prometheus": { |
| 2670 | "datasource": "prometheus", |
| 2671 | "template": "nova/files/grafana_dashboards/openstack_overview_prometheus.json", |
| 2672 | "format": "json" |
| 2673 | }, |
| 2674 | "linux_network_prometheus": { |
| 2675 | "datasource": "prometheus", |
| 2676 | "template": "linux/files/grafana_dashboards/system_network_prometheus.json", |
| 2677 | "format": "json" |
| 2678 | }, |
| 2679 | "keystone_influxdb": { |
| 2680 | "datasource": "influxdb", |
| 2681 | "template": "keystone/files/grafana_dashboards/keystone_influxdb.json", |
| 2682 | "format": "json" |
| 2683 | }, |
| 2684 | "linux_disk_prometheus": { |
| 2685 | "datasource": "prometheus", |
| 2686 | "template": "linux/files/grafana_dashboards/system_disk_prometheus.json", |
| 2687 | "format": "json" |
| 2688 | }, |
| 2689 | "service_level": { |
| 2690 | "datasource": "influxdb", |
| 2691 | "row": { |
| 2692 | "neutron-service-level": { |
| 2693 | "title": "Neutron Service Levels", |
| 2694 | "panel": { |
| 2695 | "neutron-control-uptime": { |
| 2696 | "target": { |
| 2697 | "neutron-control-down-status": { |
| 2698 | "alias": "Down", |
| 2699 | "rawQuery": true, |
| 2700 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-control' AND value = 4 AND $timeFilter" |
| 2701 | }, |
| 2702 | "neutron-control-degraded-unknwon-status": { |
| 2703 | "alias": "Degraded or Unknwon", |
| 2704 | "rawQuery": true, |
| 2705 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-control' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2706 | }, |
| 2707 | "neutron-control-healthy-status": { |
| 2708 | "alias": "Healthy", |
| 2709 | "rawQuery": true, |
| 2710 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-control' AND value = 0 AND $timeFilter" |
| 2711 | } |
| 2712 | }, |
| 2713 | "title": "Neutron Control Uptime" |
| 2714 | }, |
| 2715 | "neutron-api-requests": { |
| 2716 | "target": { |
| 2717 | "neutron-api-okay-status": { |
| 2718 | "alias": "Okay", |
| 2719 | "rawQuery": true, |
| 2720 | "query": "SELECT count(max) FROM openstack_neutron_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 2721 | }, |
| 2722 | "neutron-api-fatal-status": { |
| 2723 | "alias": "Fatal", |
| 2724 | "rawQuery": true, |
| 2725 | "query": "SELECT count(max) FROM openstack_neutron_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 2726 | }, |
| 2727 | "neutron-api-error-status": { |
| 2728 | "alias": "Error", |
| 2729 | "rawQuery": true, |
| 2730 | "query": "SELECT count(max) FROM openstack_neutron_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 2731 | } |
| 2732 | }, |
| 2733 | "title": "Neutron API Requests" |
| 2734 | }, |
| 2735 | "neutron-data-uptime": { |
| 2736 | "target": { |
| 2737 | "neutron-data-healthy-status": { |
| 2738 | "alias": "Healthy", |
| 2739 | "rawQuery": true, |
| 2740 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-data' AND value = 0 AND $timeFilter" |
| 2741 | }, |
| 2742 | "neutron-data-down-status": { |
| 2743 | "alias": "Down", |
| 2744 | "rawQuery": true, |
| 2745 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-data' AND value = 4 AND $timeFilter" |
| 2746 | }, |
| 2747 | "neutron-data-degraded-unknwon-status": { |
| 2748 | "alias": "Degraded or Unknwon", |
| 2749 | "rawQuery": true, |
| 2750 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'neutron-data' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2751 | } |
| 2752 | }, |
| 2753 | "title": "Neutron Data Uptime" |
| 2754 | }, |
| 2755 | "neutron-api-availability": { |
| 2756 | "target": { |
| 2757 | "neutron-api-up-status": { |
| 2758 | "alias": "Up", |
| 2759 | "rawQuery": true, |
| 2760 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'neutron-api' AND value = 1 AND $timeFilter" |
| 2761 | }, |
| 2762 | "neutron-api-down-status": { |
| 2763 | "alias": "Down", |
| 2764 | "rawQuery": true, |
| 2765 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'neutron-api' AND value = 0 AND $timeFilter" |
| 2766 | } |
| 2767 | }, |
| 2768 | "title": "Neutron API Availability" |
| 2769 | } |
| 2770 | } |
| 2771 | }, |
| 2772 | "heat-service-level": { |
| 2773 | "title": "Heat Service Levels", |
| 2774 | "panel": { |
| 2775 | "heat-api-requests": { |
| 2776 | "target": { |
| 2777 | "heat-api-fatal-status": { |
| 2778 | "alias": "Fatal", |
| 2779 | "rawQuery": true, |
| 2780 | "query": "SELECT count(max) FROM openstack_heat_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 2781 | }, |
| 2782 | "heat-api-error-status": { |
| 2783 | "alias": "Error", |
| 2784 | "rawQuery": true, |
| 2785 | "query": "SELECT count(max) FROM openstack_heat_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 2786 | }, |
| 2787 | "heat-api-okay-status": { |
| 2788 | "alias": "Okay", |
| 2789 | "rawQuery": true, |
| 2790 | "query": "SELECT count(max) FROM openstack_heat_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 2791 | } |
| 2792 | }, |
| 2793 | "title": "Heat API Requests" |
| 2794 | }, |
| 2795 | "heat-control-uptime": { |
| 2796 | "target": { |
| 2797 | "heat-control-down-status": { |
| 2798 | "alias": "Down", |
| 2799 | "rawQuery": true, |
| 2800 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'heat' AND value = 4 AND $timeFilter" |
| 2801 | }, |
| 2802 | "heat-control-degraded-unknwon-status": { |
| 2803 | "alias": "Degraded or Unknwon", |
| 2804 | "rawQuery": true, |
| 2805 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'heat' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2806 | }, |
| 2807 | "heat-control-healthy-status": { |
| 2808 | "alias": "Healthy", |
| 2809 | "rawQuery": true, |
| 2810 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'heat' AND value = 0 AND $timeFilter" |
| 2811 | } |
| 2812 | }, |
| 2813 | "title": "Heat Control Uptime" |
| 2814 | }, |
| 2815 | "heat-api-availability": { |
| 2816 | "target": { |
| 2817 | "heat-api-down-status": { |
| 2818 | "alias": "Down", |
| 2819 | "rawQuery": true, |
| 2820 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'heat-api' OR service = 'heat-cfn-api') AND value = 0 AND $timeFilter" |
| 2821 | }, |
| 2822 | "heat-api-up-status": { |
| 2823 | "alias": "Up", |
| 2824 | "rawQuery": true, |
| 2825 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'heat-api' OR service = 'heat-cfn-api') AND value = 1 AND $timeFilter" |
| 2826 | } |
| 2827 | }, |
| 2828 | "title": "Heat API Availability (including cfn-api)" |
| 2829 | } |
| 2830 | } |
| 2831 | }, |
| 2832 | "cinder-service-level": { |
| 2833 | "title": "Cinder Service Levels", |
| 2834 | "panel": { |
| 2835 | "cinder-api-requests": { |
| 2836 | "target": { |
| 2837 | "cinder-api-okay-status": { |
| 2838 | "alias": "Okay", |
| 2839 | "rawQuery": true, |
| 2840 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 2841 | }, |
| 2842 | "cinder-api-fatal-status": { |
| 2843 | "alias": "Fatal", |
| 2844 | "rawQuery": true, |
| 2845 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 2846 | }, |
| 2847 | "cinder-api-error-status": { |
| 2848 | "alias": "Error", |
| 2849 | "rawQuery": true, |
| 2850 | "query": "SELECT count(max) FROM openstack_cinder_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 2851 | } |
| 2852 | }, |
| 2853 | "title": "Cinder API Requests" |
| 2854 | }, |
| 2855 | "cinder-control-uptime": { |
| 2856 | "target": { |
| 2857 | "cinder-control-degraded-unknwon-status": { |
| 2858 | "alias": "Degraded or Unknwon", |
| 2859 | "rawQuery": true, |
| 2860 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2861 | }, |
| 2862 | "cinder-control-healthy-status": { |
| 2863 | "alias": "Healthy", |
| 2864 | "rawQuery": true, |
| 2865 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND value = 0 AND $timeFilter" |
| 2866 | }, |
| 2867 | "cinder-control-down-status": { |
| 2868 | "alias": "Down", |
| 2869 | "rawQuery": true, |
| 2870 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-control' AND value = 4 AND $timeFilter" |
| 2871 | } |
| 2872 | }, |
| 2873 | "title": "Cinder Control Uptime" |
| 2874 | }, |
| 2875 | "cinder-data-uptime": { |
| 2876 | "target": { |
| 2877 | "cinder-data-healthy-status": { |
| 2878 | "alias": "Healthy", |
| 2879 | "rawQuery": true, |
| 2880 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND value = 0 AND $timeFilter" |
| 2881 | }, |
| 2882 | "cinder-data-down-status": { |
| 2883 | "alias": "Down", |
| 2884 | "rawQuery": true, |
| 2885 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND value = 4 AND $timeFilter" |
| 2886 | }, |
| 2887 | "cinder-data-degraded-unknwon-status": { |
| 2888 | "alias": "Degraded or Unknwon", |
| 2889 | "rawQuery": true, |
| 2890 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'cinder-data' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2891 | } |
| 2892 | }, |
| 2893 | "title": "Cinder Data Uptime" |
| 2894 | }, |
| 2895 | "cinder-api-availability": { |
| 2896 | "target": { |
| 2897 | "cinder-api-up-status": { |
| 2898 | "alias": "Up", |
| 2899 | "rawQuery": true, |
| 2900 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'cinder-api' OR service = 'cinder-v2-api') AND value = 1 AND $timeFilter" |
| 2901 | }, |
| 2902 | "cinder-api-down-status": { |
| 2903 | "alias": "Down", |
| 2904 | "rawQuery": true, |
| 2905 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND (service = 'cinder-api' OR service = 'cinder-v2-api') AND value = 0 AND $timeFilter" |
| 2906 | } |
| 2907 | }, |
| 2908 | "title": "Cinder API Availability (V1 & V2)" |
| 2909 | } |
| 2910 | } |
| 2911 | }, |
| 2912 | "keystone-service-level": { |
| 2913 | "title": "Keystone Service Levels", |
| 2914 | "panel": { |
| 2915 | "keystone-control-uptime": { |
| 2916 | "target": { |
| 2917 | "keystone-control-healthy-status": { |
| 2918 | "alias": "Healthy", |
| 2919 | "rawQuery": true, |
| 2920 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'keystone' AND value = 0 AND $timeFilter" |
| 2921 | }, |
| 2922 | "keystone-control-degraded-unknwon-status": { |
| 2923 | "alias": "Degraded or Unknwon", |
| 2924 | "rawQuery": true, |
| 2925 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'keystone' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2926 | }, |
| 2927 | "keystone-control-down-status": { |
| 2928 | "alias": "Down", |
| 2929 | "rawQuery": true, |
| 2930 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'keystone' AND value = 4 AND $timeFilter" |
| 2931 | } |
| 2932 | }, |
| 2933 | "title": "Keystone Control Uptime" |
| 2934 | }, |
| 2935 | "keystone-api-availability": { |
| 2936 | "target": { |
| 2937 | "keystone-api-down-status": { |
| 2938 | "alias": "Down", |
| 2939 | "rawQuery": true, |
| 2940 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'keystone-public-api' AND value = 0 AND $timeFilter" |
| 2941 | }, |
| 2942 | "keystone-api-up-status": { |
| 2943 | "alias": "Up", |
| 2944 | "rawQuery": true, |
| 2945 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'keystone-public-api' AND value = 1 AND $timeFilter" |
| 2946 | } |
| 2947 | }, |
| 2948 | "title": "Keystone API Availability" |
| 2949 | } |
| 2950 | } |
| 2951 | }, |
| 2952 | "nova-service-level": { |
| 2953 | "title": "Nova Service Levels", |
| 2954 | "panel": { |
| 2955 | "nova-control-uptime": { |
| 2956 | "target": { |
| 2957 | "nova-control-healthy-status": { |
| 2958 | "alias": "Healthy", |
| 2959 | "rawQuery": true, |
| 2960 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND value = 0 AND $timeFilter" |
| 2961 | }, |
| 2962 | "nova-control-down-status": { |
| 2963 | "alias": "Down", |
| 2964 | "rawQuery": true, |
| 2965 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND value = 4 AND $timeFilter" |
| 2966 | }, |
| 2967 | "nova-control-degraded-unknwon-status": { |
| 2968 | "alias": "Degraded or Unknwon", |
| 2969 | "rawQuery": true, |
| 2970 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-control' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2971 | } |
| 2972 | }, |
| 2973 | "title": "Nova Control Uptime" |
| 2974 | }, |
| 2975 | "nova-data-uptime": { |
| 2976 | "target": { |
| 2977 | "nova-data-healthy-status": { |
| 2978 | "alias": "Healthy", |
| 2979 | "rawQuery": true, |
| 2980 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND value = 0 AND $timeFilter" |
| 2981 | }, |
| 2982 | "nova-data-degraded-unknwon-status": { |
| 2983 | "alias": "Degraded or Unknwon", |
| 2984 | "rawQuery": true, |
| 2985 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND (value = 1 OR value = 2 OR value = 3) AND $timeFilter" |
| 2986 | }, |
| 2987 | "nova-data-down-status": { |
| 2988 | "alias": "Down", |
| 2989 | "rawQuery": true, |
| 2990 | "query": "SELECT count(value) FROM cluster_status WHERE environment_label = '$environment' AND cluster_name = 'nova-data' AND value = 4 AND $timeFilter" |
| 2991 | } |
| 2992 | }, |
| 2993 | "title": "Nova Data Uptime" |
| 2994 | }, |
| 2995 | "nova-api-availability": { |
| 2996 | "target": { |
| 2997 | "nova-api-down-status": { |
| 2998 | "alias": "Down", |
| 2999 | "rawQuery": true, |
| 3000 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'nova-api' AND value = 0 AND $timeFilter" |
| 3001 | }, |
| 3002 | "nova-api-up-status": { |
| 3003 | "alias": "Up", |
| 3004 | "rawQuery": true, |
| 3005 | "query": "SELECT count(value) FROM openstack_check_api WHERE environment_label = '$environment' AND service = 'nova-api' AND value = 1 AND $timeFilter" |
| 3006 | } |
| 3007 | }, |
| 3008 | "title": "Nova API Availability" |
| 3009 | }, |
| 3010 | "nova-api-requests": { |
| 3011 | "target": { |
| 3012 | "nova-api-okay-status": { |
| 3013 | "alias": "Okay", |
| 3014 | "rawQuery": true, |
| 3015 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND (http_status = '2xx' OR http_status = '3xx') AND $timeFilter" |
| 3016 | }, |
| 3017 | "nova-api-error-status": { |
| 3018 | "alias": "Error", |
| 3019 | "rawQuery": true, |
| 3020 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND http_status = '4xx' AND $timeFilter" |
| 3021 | }, |
| 3022 | "nova-api-fatal-status": { |
| 3023 | "alias": "Fatal", |
| 3024 | "rawQuery": true, |
| 3025 | "query": "SELECT count(max) FROM openstack_nova_http_response_times WHERE environment_label = '$environment' AND http_status = '5xx' AND $timeFilter" |
| 3026 | } |
| 3027 | }, |
| 3028 | "title": "Nova API Requests" |
| 3029 | } |
| 3030 | } |
| 3031 | } |
| 3032 | } |
| 3033 | }, |
| 3034 | "linux_influxdb": { |
| 3035 | "datasource": "influxdb", |
| 3036 | "template": "linux/files/grafana_dashboards/system_influxdb.json", |
| 3037 | "format": "json" |
| 3038 | }, |
| 3039 | "memcached_prometheus": { |
| 3040 | "datasource": "prometheus", |
| 3041 | "template": "memcached/files/grafana_dashboards/memcached_prometheus.json", |
| 3042 | "format": "json" |
| 3043 | }, |
| 3044 | "nova_instances_prometheus": { |
| 3045 | "datasource": "prometheus", |
| 3046 | "template": "nova/files/grafana_dashboards/nova_instances_prometheus.json", |
| 3047 | "format": "json" |
| 3048 | }, |
| 3049 | "apache_prometheus": { |
| 3050 | "datasource": "prometheus", |
| 3051 | "template": "apache/files/grafana_dashboards/apache_prometheus.json", |
| 3052 | "format": "json" |
| 3053 | }, |
| 3054 | "nova_influxdb": { |
| 3055 | "datasource": "influxdb", |
| 3056 | "template": "nova/files/grafana_dashboards/nova_influxdb.json", |
| 3057 | "format": "json" |
| 3058 | }, |
| 3059 | "main_prometheus": { |
| 3060 | "datasource": "prometheus", |
| 3061 | "row": { |
| 3062 | "ost-middleware": { |
| 3063 | "title": "Middleware", |
| 3064 | "panel": { |
| 3065 | "apache": { |
| 3066 | "target": { |
| 3067 | "cluster_status": { |
| 3068 | "expr": "avg(apache_up) by (name)" |
| 3069 | } |
| 3070 | }, |
| 3071 | "links": [ |
| 3072 | { |
| 3073 | "type": "dashboard", |
| 3074 | "dashboard": "Apache", |
| 3075 | "title": "Apache" |
| 3076 | } |
| 3077 | ], |
| 3078 | "title": "Apache" |
| 3079 | }, |
| 3080 | "haproxy": { |
| 3081 | "target": { |
| 3082 | "cluster_status": { |
| 3083 | "expr": "avg(haproxy_up) by (name)" |
| 3084 | } |
| 3085 | }, |
| 3086 | "links": [ |
| 3087 | { |
| 3088 | "type": "dashboard", |
| 3089 | "dashboard": "HAProxy", |
| 3090 | "title": "HAProxy" |
| 3091 | } |
| 3092 | ], |
| 3093 | "title": "HAProxy" |
| 3094 | }, |
| 3095 | "glusterfs": { |
| 3096 | "target": { |
| 3097 | "cluster_status": { |
| 3098 | "expr": "avg(glusterfs_up) by (name)" |
| 3099 | } |
| 3100 | }, |
| 3101 | "links": [ |
| 3102 | { |
| 3103 | "type": "dashboard", |
| 3104 | "dashboard": "GlusterFS", |
| 3105 | "title": "GlusterFS" |
| 3106 | } |
| 3107 | ], |
| 3108 | "title": "GlusterFS" |
| 3109 | }, |
| 3110 | "memcached": { |
| 3111 | "target": { |
| 3112 | "cluster_status": { |
| 3113 | "expr": "avg(memcached_up) by (name)" |
| 3114 | } |
| 3115 | }, |
| 3116 | "links": [ |
| 3117 | { |
| 3118 | "type": "dashboard", |
| 3119 | "dashboard": "Memcached", |
| 3120 | "title": "Memcached" |
| 3121 | } |
| 3122 | ], |
| 3123 | "title": "Memcached" |
| 3124 | } |
| 3125 | } |
| 3126 | }, |
| 3127 | "ost-control-plane": { |
| 3128 | "title": "OpenStack Control Plane", |
| 3129 | "panel": { |
| 3130 | "nova": { |
| 3131 | "target": { |
| 3132 | "cluster_status": { |
| 3133 | "expr": "avg(openstack_api_check_status{service=\"nova\"})" |
| 3134 | } |
| 3135 | }, |
| 3136 | "links": [ |
| 3137 | { |
| 3138 | "type": "dashboard", |
| 3139 | "dashboard": "Nova", |
| 3140 | "title": "Nova" |
| 3141 | } |
| 3142 | ], |
| 3143 | "title": "Nova" |
| 3144 | }, |
| 3145 | "heat": { |
| 3146 | "target": { |
| 3147 | "cluster_status": { |
| 3148 | "expr": "avg(openstack_api_check_status{service=~\"heat.*\"})" |
| 3149 | } |
| 3150 | }, |
| 3151 | "links": [ |
| 3152 | { |
| 3153 | "type": "dashboard", |
| 3154 | "dashboard": "Heat", |
| 3155 | "title": "Heat" |
| 3156 | } |
| 3157 | ], |
| 3158 | "title": "Heat" |
| 3159 | }, |
| 3160 | "keystone": { |
| 3161 | "target": { |
| 3162 | "cluster_status": { |
| 3163 | "expr": "avg(openstack_api_check_status{service=~\"keystone.*public.*\"})" |
| 3164 | } |
| 3165 | }, |
| 3166 | "links": [ |
| 3167 | { |
| 3168 | "type": "dashboard", |
| 3169 | "dashboard": "Keystone", |
| 3170 | "title": "Keystone" |
| 3171 | } |
| 3172 | ], |
| 3173 | "title": "Keystone" |
| 3174 | }, |
| 3175 | "cinder": { |
| 3176 | "target": { |
| 3177 | "cluster_status": { |
| 3178 | "expr": "avg(openstack_api_check_status{service=~\"cinder.*\"})" |
| 3179 | } |
| 3180 | }, |
| 3181 | "links": [ |
| 3182 | { |
| 3183 | "type": "dashboard", |
| 3184 | "dashboard": "Cinder", |
| 3185 | "title": "Cinder" |
| 3186 | } |
| 3187 | ], |
| 3188 | "title": "Cinder" |
| 3189 | }, |
| 3190 | "glance": { |
| 3191 | "target": { |
| 3192 | "cluster_status": { |
| 3193 | "expr": "avg(openstack_api_check_status{service=~\"glance.*\"})" |
| 3194 | } |
| 3195 | }, |
| 3196 | "links": [ |
| 3197 | { |
| 3198 | "type": "dashboard", |
| 3199 | "dashboard": "Glance", |
| 3200 | "title": "Glance" |
| 3201 | } |
| 3202 | ], |
| 3203 | "title": "Glance" |
| 3204 | }, |
| 3205 | "neutron": { |
| 3206 | "target": { |
| 3207 | "cluster_status": { |
| 3208 | "expr": "avg(openstack_api_check_status{service=~\"neutron.*\"})" |
| 3209 | } |
| 3210 | }, |
| 3211 | "links": [ |
| 3212 | { |
| 3213 | "type": "dashboard", |
| 3214 | "dashboard": "Neutron", |
| 3215 | "title": "Neutron" |
| 3216 | } |
| 3217 | ], |
| 3218 | "title": "Neutron" |
| 3219 | } |
| 3220 | } |
| 3221 | } |
| 3222 | } |
| 3223 | }, |
| 3224 | "haproxy_influxdb": { |
| 3225 | "datasource": "influxdb", |
| 3226 | "template": "haproxy/files/grafana_dashboards/haproxy_influxdb.json", |
| 3227 | "format": "json" |
| 3228 | }, |
| 3229 | "heat_influxdb": { |
| 3230 | "datasource": "influxdb", |
| 3231 | "template": "heat/files/grafana_dashboards/heat_influxdb.json", |
| 3232 | "format": "json" |
| 3233 | }, |
| 3234 | "keepalived_prometheus": { |
| 3235 | "datasource": "prometheus", |
| 3236 | "template": "keepalived/files/grafana_dashboards/keepalived_prometheus.json", |
| 3237 | "format": "json" |
| 3238 | }, |
| 3239 | "nova_hypervisor_prometheus": { |
| 3240 | "datasource": "prometheus", |
| 3241 | "template": "nova/files/grafana_dashboards/nova_hypervisor_prometheus.json", |
| 3242 | "format": "json" |
| 3243 | }, |
| 3244 | "main_influxdb": { |
| 3245 | "datasource": "influxdb", |
| 3246 | "row": { |
| 3247 | "ost-data-plane": { |
| 3248 | "title": "OpenStack Data Plane", |
| 3249 | "panel": { |
| 3250 | "cinder": { |
| 3251 | "target": { |
| 3252 | "cluster_status": { |
| 3253 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'cinder-data' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3254 | "rawQuery": true |
| 3255 | } |
| 3256 | }, |
| 3257 | "links": [ |
| 3258 | { |
| 3259 | "type": "dashboard", |
| 3260 | "dashboard": "Cinder", |
| 3261 | "title": "Cinder" |
| 3262 | } |
| 3263 | ], |
| 3264 | "title": "Cinder" |
| 3265 | }, |
| 3266 | "nova": { |
| 3267 | "target": { |
| 3268 | "cluster_status": { |
| 3269 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-data' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3270 | "rawQuery": true |
| 3271 | } |
| 3272 | }, |
| 3273 | "links": [ |
| 3274 | { |
| 3275 | "type": "dashboard", |
| 3276 | "dashboard": "Nova", |
| 3277 | "title": "Nova" |
| 3278 | } |
| 3279 | ], |
| 3280 | "title": "Nova" |
| 3281 | } |
| 3282 | } |
| 3283 | }, |
| 3284 | "ost-middleware": { |
| 3285 | "title": "Middleware", |
| 3286 | "panel": { |
| 3287 | "apache": { |
| 3288 | "target": { |
| 3289 | "cluster_status": { |
| 3290 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'apache' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3291 | "rawQuery": true |
| 3292 | } |
| 3293 | }, |
| 3294 | "links": [ |
| 3295 | { |
| 3296 | "type": "dashboard", |
| 3297 | "dashboard": "Apache", |
| 3298 | "title": "Apache" |
| 3299 | } |
| 3300 | ], |
| 3301 | "title": "Apache" |
| 3302 | }, |
| 3303 | "haproxy": { |
| 3304 | "target": { |
| 3305 | "cluster_status": { |
| 3306 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'haproxy-openstack' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3307 | "rawQuery": true |
| 3308 | } |
| 3309 | }, |
| 3310 | "links": [ |
| 3311 | { |
| 3312 | "type": "dashboard", |
| 3313 | "dashboard": "HAProxy", |
| 3314 | "title": "HAProxy" |
| 3315 | } |
| 3316 | ], |
| 3317 | "title": "HAProxy" |
| 3318 | }, |
| 3319 | "memcached": { |
| 3320 | "target": { |
| 3321 | "cluster_status": { |
| 3322 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'memcached' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3323 | "rawQuery": true |
| 3324 | } |
| 3325 | }, |
| 3326 | "links": [ |
| 3327 | { |
| 3328 | "type": "dashboard", |
| 3329 | "dashboard": "Memcached", |
| 3330 | "title": "Memcached" |
| 3331 | } |
| 3332 | ], |
| 3333 | "title": "Memcached" |
| 3334 | } |
| 3335 | } |
| 3336 | }, |
| 3337 | "ost-control-plane": { |
| 3338 | "title": "OpenStack Control Plane", |
| 3339 | "panel": { |
| 3340 | "nova": { |
| 3341 | "target": { |
| 3342 | "cluster_status": { |
| 3343 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'nova-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3344 | "rawQuery": true |
| 3345 | } |
| 3346 | }, |
| 3347 | "links": [ |
| 3348 | { |
| 3349 | "type": "dashboard", |
| 3350 | "dashboard": "Nova", |
| 3351 | "title": "Nova" |
| 3352 | } |
| 3353 | ], |
| 3354 | "title": "Nova" |
| 3355 | }, |
| 3356 | "heat": { |
| 3357 | "target": { |
| 3358 | "cluster_status": { |
| 3359 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'heat' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3360 | "rawQuery": true |
| 3361 | } |
| 3362 | }, |
| 3363 | "links": [ |
| 3364 | { |
| 3365 | "type": "dashboard", |
| 3366 | "dashboard": "Heat", |
| 3367 | "title": "Heat" |
| 3368 | } |
| 3369 | ], |
| 3370 | "title": "Heat" |
| 3371 | }, |
| 3372 | "keystone": { |
| 3373 | "target": { |
| 3374 | "cluster_status": { |
| 3375 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'keystone' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3376 | "rawQuery": true |
| 3377 | } |
| 3378 | }, |
| 3379 | "links": [ |
| 3380 | { |
| 3381 | "type": "dashboard", |
| 3382 | "dashboard": "Keystone", |
| 3383 | "title": "Keystone" |
| 3384 | } |
| 3385 | ], |
| 3386 | "title": "Keystone" |
| 3387 | }, |
| 3388 | "cinder": { |
| 3389 | "target": { |
| 3390 | "cluster_status": { |
| 3391 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'cinder-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3392 | "rawQuery": true |
| 3393 | } |
| 3394 | }, |
| 3395 | "links": [ |
| 3396 | { |
| 3397 | "type": "dashboard", |
| 3398 | "dashboard": "Cinder", |
| 3399 | "title": "Cinder" |
| 3400 | } |
| 3401 | ], |
| 3402 | "title": "Cinder" |
| 3403 | }, |
| 3404 | "glance": { |
| 3405 | "target": { |
| 3406 | "cluster_status": { |
| 3407 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'glance' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3408 | "rawQuery": true |
| 3409 | } |
| 3410 | }, |
| 3411 | "links": [ |
| 3412 | { |
| 3413 | "type": "dashboard", |
| 3414 | "dashboard": "Glance", |
| 3415 | "title": "Glance" |
| 3416 | } |
| 3417 | ], |
| 3418 | "title": "Glance" |
| 3419 | }, |
| 3420 | "neutron": { |
| 3421 | "target": { |
| 3422 | "cluster_status": { |
| 3423 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'neutron-control' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 3424 | "rawQuery": true |
| 3425 | } |
| 3426 | }, |
| 3427 | "links": [ |
| 3428 | { |
| 3429 | "type": "dashboard", |
| 3430 | "dashboard": "Neutron", |
| 3431 | "title": "Neutron" |
| 3432 | } |
| 3433 | ], |
| 3434 | "title": "Neutron" |
| 3435 | } |
| 3436 | } |
| 3437 | } |
| 3438 | } |
| 3439 | }, |
| 3440 | "keystone_prometheus": { |
| 3441 | "datasource": "prometheus", |
| 3442 | "template": "keystone/files/grafana_dashboards/keystone_prometheus_fluentd.json", |
| 3443 | "format": "json" |
| 3444 | }, |
| 3445 | "glance_influxdb": { |
| 3446 | "datasource": "influxdb", |
| 3447 | "template": "glance/files/grafana_dashboards/glance_influxdb.json", |
| 3448 | "format": "json" |
| 3449 | }, |
| 3450 | "nova_overview_prometheus": { |
| 3451 | "datasource": "prometheus", |
| 3452 | "template": "nova/files/grafana_dashboards/nova_overview_prometheus.json", |
| 3453 | "format": "json" |
| 3454 | }, |
| 3455 | "memcached_influxdb": { |
| 3456 | "datasource": "influxdb", |
| 3457 | "template": "memcached/files/grafana_dashboards/memcached_influxdb.json", |
| 3458 | "format": "json" |
| 3459 | }, |
| 3460 | "linux_overview_prometheus": { |
| 3461 | "datasource": "prometheus", |
| 3462 | "template": "linux/files/grafana_dashboards/system_overview_prometheus.json", |
| 3463 | "format": "json" |
| 3464 | } |
| 3465 | }, |
| 3466 | "parameters": null |
| 3467 | }, |
| 3468 | "ssh_fingerprints": { |
| 3469 | "rsa": "90:35:c6:81:d9:59:58:86:4a:ba:a0:f4:dd:cc:c6:e3", |
| 3470 | "ecdsa": "c1:30:3a:40:42:a8:cc:40:a7:3b:9a:5b:35:d5:4e:f1", |
| 3471 | "dsa": "a2:7a:52:8c:8b:4f:ee:68:99:69:4a:ae:a0:c9:e8:e0" |
| 3472 | }, |
| 3473 | "gid": 0, |
| 3474 | "master": "10.10.0.15", |
| 3475 | "ipv4": [ |
| 3476 | "10.10.100.7", |
| 3477 | "10.11.0.11", |
| 3478 | "10.12.100.14", |
| 3479 | "10.13.100.22", |
| 3480 | "127.0.0.1" |
| 3481 | ], |
| 3482 | "dns": { |
| 3483 | "domain": "", |
| 3484 | "sortlist": [], |
| 3485 | "nameservers": [ |
| 3486 | "172.18.176.6" |
| 3487 | ], |
| 3488 | "ip4_nameservers": [ |
| 3489 | "172.18.176.6" |
| 3490 | ], |
| 3491 | "search": [ |
| 3492 | "openstacklocal" |
| 3493 | ], |
| 3494 | "ip6_nameservers": [], |
| 3495 | "options": [] |
| 3496 | }, |
| 3497 | "ipv6": [ |
| 3498 | "::1", |
| 3499 | "fe80::f816:3eff:fe06:f3b", |
| 3500 | "fe80::f816:3eff:fe0c:1532", |
| 3501 | "fe80::f816:3eff:fe4e:f3c8", |
| 3502 | "fe80::f816:3eff:fedb:db4f" |
| 3503 | ], |
| 3504 | "cinder_policy": { |
| 3505 | "volume:create_volume_metadata": "rule:admin_or_owner", |
| 3506 | "volume:delete_snapshot_metadata": "rule:admin_or_owner", |
| 3507 | "volume:failover_host": "rule:admin_api", |
| 3508 | "volume_extension:capabilities": "rule:admin_api", |
| 3509 | "volume_extension:volume_admin_actions:force_detach": "rule:admin_api", |
| 3510 | "backup:delete": "rule:admin_or_owner", |
| 3511 | "volume_extension:volume_encryption_metadata": "rule:admin_or_owner", |
| 3512 | "clusters:get": "rule:admin_api", |
| 3513 | "message:get": "rule:admin_or_owner", |
| 3514 | "volume_extension:quotas:update": "rule:admin_api", |
| 3515 | "snapshot_extension:snapshot_actions:update_snapshot_status": "", |
| 3516 | "scheduler_extension:scheduler_stats:get_pools": "rule:admin_api", |
| 3517 | "backup:restore": "rule:admin_or_owner", |
| 3518 | "volume_extension:volume_tenant_attribute": "rule:admin_or_owner", |
| 3519 | "volume_extension:services:update": "rule:admin_api", |
| 3520 | "volume_extension:snapshot_admin_actions:reset_status": "rule:admin_api", |
| 3521 | "group:create_group_snapshot": "", |
| 3522 | "volume_extension:volume_admin_actions:force_delete": "rule:admin_api", |
| 3523 | "volume:update_readonly_flag": "rule:admin_or_owner", |
| 3524 | "backup:backup-export": "rule:admin_api", |
| 3525 | "group:group_types_manage": "rule:admin_api", |
| 3526 | "volume:create_from_image": "", |
| 3527 | "backup:backup-import": "rule:admin_api", |
| 3528 | "backup:get_all": "rule:admin_or_owner", |
| 3529 | "group:delete": "rule:admin_or_owner", |
| 3530 | "volume_extension:types_manage": "rule:admin_api", |
| 3531 | "group:get_all_group_snapshots": "rule:admin_or_owner", |
| 3532 | "volume:update_volume_metadata": "rule:admin_or_owner", |
| 3533 | "volume:accept_transfer": "", |
| 3534 | "default": "rule:admin_or_owner", |
| 3535 | "volume_extension:snapshot_admin_actions:force_delete": "rule:admin_api", |
| 3536 | "volume:force_delete": "rule:admin_api", |
| 3537 | "volume_extension:volume_mig_status_attribute": "rule:admin_api", |
| 3538 | "admin_api": "is_admin:True or (role:admin and is_admin_project:True)", |
| 3539 | "consistencygroup:get_all": "group:nobody", |
| 3540 | "volume_extension:quota_classes": "rule:admin_api", |
| 3541 | "backup:create": "", |
| 3542 | "volume:get_all": "rule:admin_or_owner", |
| 3543 | "snapshot_extension:snapshot_unmanage": "rule:admin_api", |
| 3544 | "volume_extension:volume_image_metadata": "rule:admin_or_owner", |
| 3545 | "volume:update_snapshot_metadata": "rule:admin_or_owner", |
| 3546 | "volume_extension:volume_type_access:removeProjectAccess": "rule:admin_api", |
| 3547 | "group:create": "", |
| 3548 | "volume:extend": "rule:admin_or_owner", |
| 3549 | "volume:get_snapshot_metadata": "rule:admin_or_owner", |
| 3550 | "volume_extension:volume_admin_actions:migrate_volume_completion": "rule:admin_api", |
| 3551 | "consistencygroup:create": "group:nobody", |
| 3552 | "workers:cleanup": "rule:admin_api", |
| 3553 | "volume:get_transfer": "rule:admin_or_owner", |
| 3554 | "group:reset_status": "rule:admin_api", |
| 3555 | "group:get": "rule:admin_or_owner", |
| 3556 | "group:update": "rule:admin_or_owner", |
| 3557 | "volume_extension:volume_manage": "rule:admin_api", |
| 3558 | "volume:get_snapshot": "rule:admin_or_owner", |
| 3559 | "volume:create": "", |
| 3560 | "volume:update_snapshot": "rule:admin_or_owner", |
| 3561 | "volume_extension:quotas:show": "", |
| 3562 | "volume_extension:hosts": "rule:admin_api", |
| 3563 | "group:update_group_snapshot": "rule:admin_or_owner", |
| 3564 | "volume_extension:volume_type_access": "rule:admin_or_owner", |
| 3565 | "volume:get_all_snapshots": "rule:admin_or_owner", |
| 3566 | "group:get_group_snapshot": "rule:admin_or_owner", |
| 3567 | "volume:get_all_transfers": "rule:admin_or_owner", |
| 3568 | "volume:freeze_host": "rule:admin_api", |
| 3569 | "consistencygroup:get": "group:nobody", |
| 3570 | "consistencygroup:create_cgsnapshot": "group:nobody", |
| 3571 | "volume_extension:types_extra_specs": "rule:admin_api", |
| 3572 | "volume:get": "rule:admin_or_owner", |
| 3573 | "volume:get_volume_metadata": "rule:admin_or_owner", |
| 3574 | "volume_extension:backup_admin_actions:force_delete": "rule:admin_api", |
| 3575 | "consistencygroup:update": "group:nobody", |
| 3576 | "group:access_group_types_specs": "rule:admin_api", |
| 3577 | "volume_extension:volume_unmanage": "rule:admin_api", |
| 3578 | "volume_extension:backup_admin_actions:reset_status": "rule:admin_api", |
| 3579 | "group:get_all": "rule:admin_or_owner", |
| 3580 | "group:reset_group_snapshot_status": "rule:admin_api", |
| 3581 | "volume:update_volume_admin_metadata": "rule:admin_api", |
| 3582 | "clusters:update": "rule:admin_api", |
| 3583 | "admin_or_owner": "is_admin:True or (role:admin and is_admin_project:True) or project_id:%(project_id)s", |
| 3584 | "volume_extension:volume_admin_actions:reset_status": "rule:admin_api", |
| 3585 | "volume_extension:volume_actions:upload_image": "rule:admin_or_owner", |
| 3586 | "volume_extension:volume_actions:upload_public": "rule:admin_api", |
| 3587 | "volume_extension:list_manageable": "rule:admin_api", |
| 3588 | "volume_extension:extended_snapshot_attributes": "rule:admin_or_owner", |
| 3589 | "volume:delete_transfer": "rule:admin_or_owner", |
| 3590 | "volume:create_snapshot": "rule:admin_or_owner", |
| 3591 | "snapshot_extension:list_manageable": "rule:admin_api", |
| 3592 | "volume_extension:quotas:delete": "rule:admin_api", |
| 3593 | "consistencygroup:delete": "group:nobody", |
| 3594 | "consistencygroup:delete_cgsnapshot": "group:nobody", |
| 3595 | "volume_extension:volume_host_attribute": "rule:admin_api", |
| 3596 | "volume:delete_volume_metadata": "rule:admin_or_owner", |
| 3597 | "backup:get": "rule:admin_or_owner", |
| 3598 | "backup:backup_project_attribute": "rule:admin_api", |
| 3599 | "volume:create_transfer": "rule:admin_or_owner", |
| 3600 | "volume:retype": "rule:admin_or_owner", |
| 3601 | "clusters:get_all": "rule:admin_api", |
| 3602 | "volume_extension:quota_classes:validate_setup_for_nested_quota_use": "rule:admin_api", |
| 3603 | "backup:update": "rule:admin_or_owner", |
| 3604 | "volume:delete_snapshot": "rule:admin_or_owner", |
| 3605 | "snapshot_extension:snapshot_manage": "rule:admin_api", |
| 3606 | "volume_extension:volume_admin_actions:migrate_volume": "rule:admin_api", |
| 3607 | "volume_extension:services:index": "rule:admin_api", |
| 3608 | "volume:delete": "rule:admin_or_owner", |
| 3609 | "volume_extension:access_types_extra_specs": "rule:admin_api", |
| 3610 | "volume_extension:volume_type_encryption": "rule:admin_api", |
| 3611 | "consistencygroup:get_all_cgsnapshots": "group:nobody", |
| 3612 | "group:group_type_access": "rule:admin_or_owner", |
| 3613 | "message:delete": "rule:admin_or_owner", |
| 3614 | "message:get_all": "rule:admin_or_owner", |
| 3615 | "group:group_types_specs": "rule:admin_api", |
| 3616 | "volume_extension:access_types_qos_specs_id": "rule:admin_api", |
| 3617 | "volume:update": "rule:admin_or_owner", |
| 3618 | "consistencygroup:get_cgsnapshot": "group:nobody", |
| 3619 | "group:delete_group_snapshot": "rule:admin_or_owner", |
| 3620 | "volume:get_volume_admin_metadata": "rule:admin_api", |
| 3621 | "volume_extension:volume_type_access:addProjectAccess": "rule:admin_api", |
| 3622 | "volume:thaw_host": "rule:admin_api" |
| 3623 | }, |
| 3624 | "server_id": 82054315, |
| 3625 | "cpu_flags": [ |
| 3626 | "fpu", |
| 3627 | "vme", |
| 3628 | "de", |
| 3629 | "pse", |
| 3630 | "tsc", |
| 3631 | "msr", |
| 3632 | "pae", |
| 3633 | "mce", |
| 3634 | "cx8", |
| 3635 | "apic", |
| 3636 | "sep", |
| 3637 | "mtrr", |
| 3638 | "pge", |
| 3639 | "mca", |
| 3640 | "cmov", |
| 3641 | "pat", |
| 3642 | "pse36", |
| 3643 | "clflush", |
| 3644 | "mmx", |
| 3645 | "fxsr", |
| 3646 | "sse", |
| 3647 | "sse2", |
| 3648 | "ss", |
| 3649 | "syscall", |
| 3650 | "nx", |
| 3651 | "pdpe1gb", |
| 3652 | "rdtscp", |
| 3653 | "lm", |
| 3654 | "constant_tsc", |
| 3655 | "arch_perfmon", |
| 3656 | "rep_good", |
| 3657 | "nopl", |
| 3658 | "xtopology", |
| 3659 | "cpuid", |
| 3660 | "pni", |
| 3661 | "pclmulqdq", |
| 3662 | "vmx", |
| 3663 | "ssse3", |
| 3664 | "fma", |
| 3665 | "cx16", |
| 3666 | "pcid", |
| 3667 | "sse4_1", |
| 3668 | "sse4_2", |
| 3669 | "x2apic", |
| 3670 | "movbe", |
| 3671 | "popcnt", |
| 3672 | "tsc_deadline_timer", |
| 3673 | "aes", |
| 3674 | "xsave", |
| 3675 | "avx", |
| 3676 | "f16c", |
| 3677 | "rdrand", |
| 3678 | "hypervisor", |
| 3679 | "lahf_lm", |
| 3680 | "abm", |
| 3681 | "3dnowprefetch", |
| 3682 | "cpuid_fault", |
| 3683 | "invpcid_single", |
| 3684 | "pti", |
| 3685 | "ssbd", |
| 3686 | "ibrs", |
| 3687 | "ibpb", |
| 3688 | "tpr_shadow", |
| 3689 | "vnmi", |
| 3690 | "flexpriority", |
| 3691 | "ept", |
| 3692 | "vpid", |
| 3693 | "fsgsbase", |
| 3694 | "tsc_adjust", |
| 3695 | "bmi1", |
| 3696 | "hle", |
| 3697 | "avx2", |
| 3698 | "smep", |
| 3699 | "bmi2", |
| 3700 | "erms", |
| 3701 | "invpcid", |
| 3702 | "rtm", |
| 3703 | "rdseed", |
| 3704 | "adx", |
| 3705 | "smap", |
| 3706 | "xsaveopt", |
| 3707 | "arat" |
| 3708 | ], |
| 3709 | "osfullname": "Ubuntu", |
| 3710 | "localhost": "ctl01", |
| 3711 | "lsb_distrib_id": "Ubuntu", |
| 3712 | "username": "root", |
| 3713 | "fqdn_ip4": [ |
| 3714 | "10.11.0.11" |
| 3715 | ], |
| 3716 | "shell": "/bin/sh", |
| 3717 | "nodename": "ctl01", |
| 3718 | "saltversion": "2017.7.8", |
| 3719 | "lsb_distrib_release": "16.04", |
| 3720 | "pid": 1775, |
| 3721 | "saltpath": "/usr/lib/python2.7/dist-packages/salt", |
| 3722 | "pythonversion": [ |
| 3723 | 2, |
| 3724 | 7, |
| 3725 | 12, |
| 3726 | "final", |
| 3727 | 0 |
| 3728 | ], |
| 3729 | "host": "ctl01", |
| 3730 | "os_family": "Debian", |
| 3731 | "oscodename": "xenial", |
| 3732 | "services": [ |
| 3733 | "fluentd", |
| 3734 | "telegraf", |
| 3735 | "glusterfs", |
| 3736 | "rsyslog", |
| 3737 | "linux", |
| 3738 | "glance", |
| 3739 | "keepalived", |
| 3740 | "nova", |
| 3741 | "grafana", |
| 3742 | "keystone", |
| 3743 | "memcached", |
| 3744 | "openscap", |
| 3745 | "neutron", |
| 3746 | "ntp", |
| 3747 | "nginx", |
| 3748 | "heat", |
| 3749 | "apache", |
| 3750 | "haproxy", |
| 3751 | "openssh", |
| 3752 | "opencontrail", |
| 3753 | "logrotate", |
| 3754 | "_reclass_", |
| 3755 | "prometheus", |
| 3756 | "cinder", |
| 3757 | "salt" |
| 3758 | ], |
| 3759 | "osfinger": "Ubuntu-16.04", |
| 3760 | "biosreleasedate": "04/01/2014", |
| 3761 | "dns_records": [ |
| 3762 | { |
| 3763 | "names": [ |
| 3764 | "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 3765 | "ctl01" |
| 3766 | ], |
| 3767 | "address": "10.11.0.11" |
| 3768 | } |
| 3769 | ], |
| 3770 | "lsb_distrib_description": "Ubuntu 16.04.5 LTS", |
| 3771 | "sphinx": { |
| 3772 | "doc": { |
| 3773 | "haproxy": { |
| 3774 | "role": { |
| 3775 | "proxy": { |
| 3776 | "endpoint": { |
| 3777 | "glance_api_openstack-service": { |
| 3778 | "type": "openstack-service", |
| 3779 | "protocol": "http", |
| 3780 | "name": "glance_api", |
| 3781 | "address": "http://10.11.0.10:9292/" |
| 3782 | }, |
| 3783 | "nova_metadata_api_openstack-service": { |
| 3784 | "type": "openstack-service", |
| 3785 | "protocol": "http", |
| 3786 | "name": "nova_metadata_api", |
| 3787 | "address": "http://10.11.0.10:8775/" |
| 3788 | }, |
| 3789 | "heat_api_openstack-service": { |
| 3790 | "type": "openstack-service", |
| 3791 | "protocol": "http", |
| 3792 | "name": "heat_api", |
| 3793 | "address": "http://10.11.0.10:8004/" |
| 3794 | }, |
| 3795 | "cinder_api_openstack-service": { |
| 3796 | "type": "openstack-service", |
| 3797 | "protocol": "http", |
| 3798 | "name": "cinder_api", |
| 3799 | "address": "http://10.11.0.10:8776/" |
| 3800 | }, |
| 3801 | "heat_cloudwatch_api_openstack-service": { |
| 3802 | "type": "openstack-service", |
| 3803 | "protocol": "http", |
| 3804 | "name": "heat_cloudwatch_api", |
| 3805 | "address": "http://10.11.0.10:8003/" |
| 3806 | }, |
| 3807 | "heat_cfn_api_openstack-service": { |
| 3808 | "type": "openstack-service", |
| 3809 | "protocol": "http", |
| 3810 | "name": "heat_cfn_api", |
| 3811 | "address": "http://10.11.0.10:8000/" |
| 3812 | }, |
| 3813 | "nova_novnc_general-service": { |
| 3814 | "type": "general-service", |
| 3815 | "protocol": "http", |
| 3816 | "name": "nova_novnc", |
| 3817 | "address": "http://10.11.0.10:6080/" |
| 3818 | }, |
| 3819 | "placement_api_http": { |
| 3820 | "type": "http", |
| 3821 | "protocol": "http", |
| 3822 | "mode": "http", |
| 3823 | "name": "placement_api", |
| 3824 | "address": "http://10.11.0.10:8778/" |
| 3825 | }, |
| 3826 | "keystone_public_api_openstack-service": { |
| 3827 | "type": "openstack-service", |
| 3828 | "protocol": "http", |
| 3829 | "name": "keystone_public_api", |
| 3830 | "address": "http://10.11.0.10:5000/" |
| 3831 | }, |
| 3832 | "keystone_admin_api_openstack-service": { |
| 3833 | "type": "openstack-service", |
| 3834 | "protocol": "http", |
| 3835 | "name": "keystone_admin_api", |
| 3836 | "address": "http://10.11.0.10:35357/" |
| 3837 | }, |
| 3838 | "glance_registry_api_general-service": { |
| 3839 | "type": "general-service", |
| 3840 | "protocol": "http", |
| 3841 | "name": "glance_registry_api", |
| 3842 | "address": "http://10.11.0.10:9191/" |
| 3843 | }, |
| 3844 | "neutron_api_openstack-service": { |
| 3845 | "type": "openstack-service", |
| 3846 | "protocol": "http", |
| 3847 | "name": "neutron_api", |
| 3848 | "address": "http://10.11.0.10:9696/" |
| 3849 | }, |
| 3850 | "nova_api_openstack-service": { |
| 3851 | "type": "openstack-service", |
| 3852 | "protocol": "http", |
| 3853 | "name": "nova_api", |
| 3854 | "address": "http://10.11.0.10:8774/" |
| 3855 | } |
| 3856 | }, |
| 3857 | "name": "proxy", |
| 3858 | "param": { |
| 3859 | "version": { |
| 3860 | "value": "1.6.3 2015/12/25 Copyright 2000-2015 Willy Tarreau <willy@haproxy.org>" |
| 3861 | } |
| 3862 | } |
| 3863 | } |
| 3864 | }, |
| 3865 | "description": "The Reliable, High Performance TCP/HTTP Load Balancer.", |
| 3866 | "name": "HAProxy" |
| 3867 | }, |
| 3868 | "keepalived": { |
| 3869 | "role": { |
| 3870 | "cluster": { |
| 3871 | "name": "cluster", |
| 3872 | "param": { |
| 3873 | "router_VIP": { |
| 3874 | "name": "Instance VIP", |
| 3875 | "value": "10.11.0.10 at ens3, priority 103 of router 50" |
| 3876 | } |
| 3877 | } |
| 3878 | } |
| 3879 | }, |
| 3880 | "description": "The main goal of this project is to provide simple and robust facilities for loadbalancing and high-availability to Linux system and Linux based infrastructures.", |
| 3881 | "name": "Keepalived" |
| 3882 | }, |
| 3883 | "heat": { |
| 3884 | "role": { |
| 3885 | "server": { |
| 3886 | "endpoint": { |
| 3887 | "heat_api_cfn": { |
| 3888 | "type": "heat-api-cfn", |
| 3889 | "protocol": "http", |
| 3890 | "name": "heat-api-cfn", |
| 3891 | "address": "http://10.11.0.11:8003" |
| 3892 | }, |
| 3893 | "heat_api_cloudwatch": { |
| 3894 | "type": "heat-api-cloudwatch", |
| 3895 | "protocol": "http", |
| 3896 | "name": "heat-api-cloudwatch", |
| 3897 | "address": "http://10.11.0.11:8000" |
| 3898 | }, |
| 3899 | "heat_api": { |
| 3900 | "type": "heat-api", |
| 3901 | "protocol": "http", |
| 3902 | "name": "heat-api", |
| 3903 | "address": "http://10.11.0.11:8004" |
| 3904 | } |
| 3905 | }, |
| 3906 | "name": "server", |
| 3907 | "param": { |
| 3908 | "message_queue_ip": { |
| 3909 | "name": "Message queue", |
| 3910 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 3911 | }, |
| 3912 | "bind": { |
| 3913 | "value": "10.11.0.11:8004" |
| 3914 | }, |
| 3915 | "version": { |
| 3916 | "name": "Version", |
| 3917 | "value": "queens" |
| 3918 | }, |
| 3919 | "identity_host": { |
| 3920 | "name": "Identity service", |
| 3921 | "value": "heat@10.11.0.10:35357" |
| 3922 | }, |
| 3923 | "packages": { |
| 3924 | "value": "* heat-api: 1:10.0.3-1.0~u16.04+mcp59\n* heat-api-cfn: 1:10.0.3-1.0~u16.04+mcp59\n* heat-engine: 1:10.0.3-1.0~u16.04+mcp59\n* heat-common: 1:10.0.3-1.0~u16.04+mcp59\n* python-heatclient: 1.14.0-1.0~u16.04+mcp6\n* gettext-base: 0.19.7-2ubuntu3.1" |
| 3925 | }, |
| 3926 | "database_host": { |
| 3927 | "name": "Database", |
| 3928 | "value": "heat@10.11.0.50:3306//heat" |
| 3929 | } |
| 3930 | } |
| 3931 | } |
| 3932 | }, |
| 3933 | "description": "Heat implements an orchestration engine to launch multiple composite cloud applications based on templates in the form of text files that can be treated like code.", |
| 3934 | "name": "Heat" |
| 3935 | }, |
| 3936 | "nova": { |
| 3937 | "role": { |
| 3938 | "controller": { |
| 3939 | "endpoint": { |
| 3940 | "nova_ec2_api": { |
| 3941 | "type": "nova-ec2-api", |
| 3942 | "protocol": "http", |
| 3943 | "name": "nova-ec2-api", |
| 3944 | "address": "http://10.11.0.11:8773" |
| 3945 | }, |
| 3946 | "nova_api": { |
| 3947 | "type": "nova-api", |
| 3948 | "protocol": "http", |
| 3949 | "name": "nova-api", |
| 3950 | "address": "http://10.11.0.11:8774" |
| 3951 | }, |
| 3952 | "nova_metadata": { |
| 3953 | "type": "nova-metadata", |
| 3954 | "protocol": "http", |
| 3955 | "name": "nova-metadata", |
| 3956 | "address": "http://10.11.0.11:8775" |
| 3957 | } |
| 3958 | }, |
| 3959 | "name": "controller", |
| 3960 | "param": { |
| 3961 | "network_host": { |
| 3962 | "name": "Network service", |
| 3963 | "value": "10.11.0.10:9696" |
| 3964 | }, |
| 3965 | "message_queue_ip": { |
| 3966 | "name": "Message queue", |
| 3967 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 3968 | }, |
| 3969 | "networking": { |
| 3970 | "name": "Networking plugin", |
| 3971 | "value": "default" |
| 3972 | }, |
| 3973 | "identity_host": { |
| 3974 | "name": "Identity host ip", |
| 3975 | "value": "nova@10.11.0.10:35357" |
| 3976 | }, |
| 3977 | "dhcp_domain": { |
| 3978 | "name": "DHCP domain", |
| 3979 | "value": "novalocal" |
| 3980 | }, |
| 3981 | "bind": { |
| 3982 | "value": "10.11.0.11" |
| 3983 | }, |
| 3984 | "workers": { |
| 3985 | "name": "Number of osapi and conductor workers", |
| 3986 | "value": 8 |
| 3987 | }, |
| 3988 | "vncproxy_url": { |
| 3989 | "name": "VNC proxy URL", |
| 3990 | "value": "https://10.13.250.9:6080" |
| 3991 | }, |
| 3992 | "ram_allocation_ratio": { |
| 3993 | "name": "RAM allocation ratio", |
| 3994 | "value": 1.5 |
| 3995 | }, |
| 3996 | "glance_host": { |
| 3997 | "name": "Glance service", |
| 3998 | "value": "10.11.0.10:9292" |
| 3999 | }, |
| 4000 | "version": { |
| 4001 | "name": "Version", |
| 4002 | "value": "queens" |
| 4003 | }, |
| 4004 | "scheduler_default_filters": { |
| 4005 | "name": "Scheduler default filters", |
| 4006 | "value": "DifferentHostFilter SameHostFilter RetryFilter AvailabilityZoneFilter RamFilter CoreFilter DiskFilter ComputeFilter ComputeCapabilitiesFilter ImagePropertiesFilter ServerGroupAntiAffinityFilter ServerGroupAffinityFilter PciPassthroughFilter NUMATopologyFilter AggregateInstanceExtraSpecsFilter" |
| 4007 | }, |
| 4008 | "disk_allocation_ratio": { |
| 4009 | "name": "Disk allocation ratio", |
| 4010 | "value": 1.0 |
| 4011 | }, |
| 4012 | "cpu_allocation_ratio": { |
| 4013 | "name": "CPU allocation ratio", |
| 4014 | "value": 16.0 |
| 4015 | }, |
| 4016 | "packages": { |
| 4017 | "value": "* nova-common: 2:17.0.10-7~u16.01+mcp188\n* nova-consoleproxy: 2:17.0.10-7~u16.01+mcp188\n* novnc: 1:0.6.1-1.1~u16.04+mcp3\n* nova-api: 2:17.0.10-7~u16.01+mcp188\n* nova-conductor: 2:17.0.10-7~u16.01+mcp188\n* nova-consoleauth: 2:17.0.10-7~u16.01+mcp188\n* nova-doc: 2:17.0.9-6~u16.01+mcp189\n* nova-scheduler: 2:17.0.10-7~u16.01+mcp188\n* python-novaclient: 2:9.1.1-1~u16.04+mcp6\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-pycadf: 2.7.0-1~u16.04+mcp3" |
| 4018 | }, |
| 4019 | "database_host": { |
| 4020 | "name": "Database", |
| 4021 | "value": "nova@10.11.0.50:3306/nova" |
| 4022 | } |
| 4023 | } |
| 4024 | } |
| 4025 | }, |
| 4026 | "description": "OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of virtualization technologies, including KVM, Xen, LXC, VMware, and more.", |
| 4027 | "name": "Nova" |
| 4028 | }, |
| 4029 | "glusterfs": { |
| 4030 | "role": { |
| 4031 | "client": { |
| 4032 | "name": "client", |
| 4033 | "param": { |
| 4034 | "mounts": { |
| 4035 | "value": { |
| 4036 | "glance": "/var/lib/glance/images" |
| 4037 | } |
| 4038 | } |
| 4039 | } |
| 4040 | } |
| 4041 | }, |
| 4042 | "description": "An open source, distributed file system capable of scaling to several petabytes and handling thousands of clients.", |
| 4043 | "name": "GlusterFS" |
| 4044 | }, |
| 4045 | "keystone": { |
| 4046 | "role": { |
| 4047 | "client": { |
| 4048 | "name": "client", |
| 4049 | "param": {} |
| 4050 | }, |
| 4051 | "server": { |
| 4052 | "endpoint": { |
| 4053 | "keystone_api_admin": { |
| 4054 | "type": "keystone-api-admin", |
| 4055 | "protocol": "http", |
| 4056 | "name": "keystone-api-admin", |
| 4057 | "address": "http://10.11.0.11:35357" |
| 4058 | }, |
| 4059 | "keystone_api_public": { |
| 4060 | "type": "keystone-api-public", |
| 4061 | "protocol": "http", |
| 4062 | "name": "keystone-api-public", |
| 4063 | "address": "http://10.11.0.11:5000" |
| 4064 | } |
| 4065 | }, |
| 4066 | "name": "server", |
| 4067 | "param": { |
| 4068 | "service_tenant": { |
| 4069 | "value": "service" |
| 4070 | }, |
| 4071 | "token_engine": { |
| 4072 | "value": "fernet" |
| 4073 | }, |
| 4074 | "bind": { |
| 4075 | "value": "10.11.0.11:5000" |
| 4076 | }, |
| 4077 | "region": { |
| 4078 | "name": "Region", |
| 4079 | "value": "RegionOne" |
| 4080 | }, |
| 4081 | "private_bind": { |
| 4082 | "value": "10.11.0.11:35357" |
| 4083 | }, |
| 4084 | "version": { |
| 4085 | "name": "Version", |
| 4086 | "value": "queens" |
| 4087 | }, |
| 4088 | "services": { |
| 4089 | "value": "" |
| 4090 | }, |
| 4091 | "packages": { |
| 4092 | "value": "* keystone: 2:13.0.2-3~u16.04+mcp19\n* python-keystone: 2:13.0.2-3~u16.04+mcp19\n* python-keystoneclient: 1:3.15.0-1.0~u16.04+mcp12\n* python-psycopg2: 2.7.4-1.0~u16.04+mcp1\n* python-mysqldb: 1.3.7-1build2\n* mysql-client: 5.6.41-1~u16.04+mcp1\n* python-six: 1.10.0-3\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-openstackclient: 3.14.3-1.0~u16.04+mcp18\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-pycadf: 2.7.0-1~u16.04+mcp3" |
| 4093 | }, |
| 4094 | "database_host": { |
| 4095 | "name": "Database", |
| 4096 | "value": "keystone@10.11.0.50:3306/keystone" |
| 4097 | } |
| 4098 | } |
| 4099 | } |
| 4100 | }, |
| 4101 | "description": "Keystone provides authentication, authorization and service discovery mechanisms via HTTP primarily for use by projects in the OpenStack family.", |
| 4102 | "name": "Keystone" |
| 4103 | }, |
| 4104 | "linux": { |
| 4105 | "role": { |
| 4106 | "network": { |
| 4107 | "name": "Network", |
| 4108 | "param": { |
| 4109 | "ip": { |
| 4110 | "name": "IP Addresses", |
| 4111 | "value": [ |
| 4112 | "10.10.100.7", |
| 4113 | "10.11.0.10", |
| 4114 | "10.11.0.11", |
| 4115 | "10.12.100.14", |
| 4116 | "10.13.100.22", |
| 4117 | "127.0.0.1" |
| 4118 | ] |
| 4119 | }, |
| 4120 | "fqdn": { |
| 4121 | "name": "FQDN", |
| 4122 | "value": "ctl01.ozhurba-os-oc-cicd-sl.local" |
| 4123 | } |
| 4124 | } |
| 4125 | }, |
| 4126 | "system": { |
| 4127 | "name": "System", |
| 4128 | "param": { |
| 4129 | "kernel": { |
| 4130 | "value": "Linux 4.15.0-43-generic" |
| 4131 | }, |
| 4132 | "distribution": { |
| 4133 | "value": "Ubuntu 16.04.5 LTS" |
| 4134 | }, |
| 4135 | "name": { |
| 4136 | "value": "ctl01" |
| 4137 | } |
| 4138 | } |
| 4139 | } |
| 4140 | }, |
| 4141 | "description": "Linux is a high performance, yet completely free, Unix-like operating system that is suitable for use on a wide range of computers and other products.", |
| 4142 | "name": "Linux" |
| 4143 | }, |
| 4144 | "apache": { |
| 4145 | "role": { |
| 4146 | "server": { |
| 4147 | "endpoint": { |
| 4148 | "keystone_keystone": { |
| 4149 | "type": "keystone", |
| 4150 | "protocol": "http", |
| 4151 | "name": "keystone", |
| 4152 | "address": "http://ctl01.ozhurba-os-oc-cicd-sl.local:80/" |
| 4153 | } |
| 4154 | }, |
| 4155 | "name": "server", |
| 4156 | "param": { |
| 4157 | "version": { |
| 4158 | "value": "2.4.18 (Ubuntu)" |
| 4159 | } |
| 4160 | } |
| 4161 | } |
| 4162 | }, |
| 4163 | "description": "The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server", |
| 4164 | "name": "Apache" |
| 4165 | }, |
| 4166 | "cinder": { |
| 4167 | "role": { |
| 4168 | "volume": { |
| 4169 | "name": "volume", |
| 4170 | "param": { |
| 4171 | "backends": { |
| 4172 | "value": "" |
| 4173 | }, |
| 4174 | "packages": { |
| 4175 | "value": "* cinder-volume: dpkg-query: no packages found matching cinder-volume\n* lvm2: 2.02.133-1ubuntu10\n* sysfsutils: 2.1.0+repack-4\n* sg3-utils: dpkg-query: no packages found matching sg3-utils\n* python-cinder: 2:12.0.7-2~u16.04+mcp100\n* python-mysqldb: 1.3.7-1build2\n* p7zip: dpkg-query: no packages found matching p7zip\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-pycadf: 2.7.0-1~u16.04+mcp3\n" |
| 4176 | } |
| 4177 | } |
| 4178 | }, |
| 4179 | "controller": { |
| 4180 | "endpoint": { |
| 4181 | "glance_api": { |
| 4182 | "type": "cinder-api", |
| 4183 | "protocol": "http", |
| 4184 | "name": "cinder-api", |
| 4185 | "address": "http://10.11.0.11:8776" |
| 4186 | } |
| 4187 | }, |
| 4188 | "name": "controller", |
| 4189 | "param": { |
| 4190 | "message_queue_ip": { |
| 4191 | "name": "Message queue", |
| 4192 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 4193 | }, |
| 4194 | "version": { |
| 4195 | "name": "Version", |
| 4196 | "value": "queens" |
| 4197 | }, |
| 4198 | "bind": { |
| 4199 | "value": "10.11.0.11:8776" |
| 4200 | }, |
| 4201 | "glance_host": { |
| 4202 | "name": "Glance service", |
| 4203 | "value": "10.11.0.10:9292" |
| 4204 | }, |
| 4205 | "backends": { |
| 4206 | "value": "" |
| 4207 | }, |
| 4208 | "identity_host": { |
| 4209 | "name": "Identity service", |
| 4210 | "value": "cinder@10.11.0.10:35357" |
| 4211 | }, |
| 4212 | "packages": { |
| 4213 | "value": "* cinder-api: dpkg-query: no packages found matching cinder-api\n* cinder-scheduler: 2:12.0.7-2~u16.04+mcp100\n* lvm2: 2.02.133-1ubuntu10\n* python-cinder: 2:12.0.7-2~u16.04+mcp100\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-pycadf: 2.7.0-1~u16.04+mcp3\n" |
| 4214 | }, |
| 4215 | "database_host": { |
| 4216 | "name": "Database", |
| 4217 | "value": "cinder@10.11.0.50:3306//cinder" |
| 4218 | } |
| 4219 | } |
| 4220 | } |
| 4221 | }, |
| 4222 | "description": "Cinder provides an infrastructure for managing volumes in OpenStack. It was originally a Nova component called nova-volume, but has become an independent project since the Folsom release.", |
| 4223 | "name": "Cinder" |
| 4224 | }, |
| 4225 | "glance": { |
| 4226 | "role": { |
| 4227 | "server": { |
| 4228 | "endpoint": { |
| 4229 | "glance_registry": { |
| 4230 | "type": "glance-registry", |
| 4231 | "protocol": "http", |
| 4232 | "name": "glance-registry", |
| 4233 | "address": "http://10.11.0.10:9191" |
| 4234 | }, |
| 4235 | "glance_api": { |
| 4236 | "type": "glance-api", |
| 4237 | "protocol": "http", |
| 4238 | "name": "glance-api", |
| 4239 | "address": "http://10.11.0.11:9292" |
| 4240 | } |
| 4241 | }, |
| 4242 | "name": "server", |
| 4243 | "param": { |
| 4244 | "message_queue_ip": { |
| 4245 | "name": "Message queue", |
| 4246 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 4247 | }, |
| 4248 | "bind": { |
| 4249 | "value": "10.11.0.11:9292" |
| 4250 | }, |
| 4251 | "workers": { |
| 4252 | "name": "Number of workers", |
| 4253 | "value": 8 |
| 4254 | }, |
| 4255 | "storage_engine": { |
| 4256 | "name": "Glance storage engine", |
| 4257 | "value": "file" |
| 4258 | }, |
| 4259 | "version": { |
| 4260 | "name": "Version", |
| 4261 | "value": "queens" |
| 4262 | }, |
| 4263 | "identity_host": { |
| 4264 | "name": "Identity service", |
| 4265 | "value": "glance@10.11.0.10:35357" |
| 4266 | }, |
| 4267 | "packages": { |
| 4268 | "value": "* glance: 2:16.0.1-2~u16.04+mcp23\n* glance-api: 2:16.0.1-2~u16.04+mcp23\n* glance-registry: 2:16.0.1-2~u16.04+mcp23\n* glance-common: 2:16.0.1-2~u16.04+mcp23\n* python-glance: 2:16.0.1-2~u16.04+mcp23\n* python-glance-store: 0.23.0-2~u16.04+mcp6\n* python-glanceclient: 1:2.10.1-1.0~u16.04+mcp4\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-memcache: 1.57+fixed-1~u16.04+mcp1\n* python-pycadf: 2.7.0-1~u16.04+mcp3" |
| 4269 | }, |
| 4270 | "database_host": { |
| 4271 | "name": "Database", |
| 4272 | "value": "glance@10.11.0.50:3306//glance" |
| 4273 | } |
| 4274 | } |
| 4275 | } |
| 4276 | }, |
| 4277 | "description": "The Glance project provides services for discovering, registering, and retrieving virtual machine images.", |
| 4278 | "name": "Glance" |
| 4279 | }, |
| 4280 | "salt": { |
| 4281 | "role": { |
| 4282 | "minion": { |
| 4283 | "name": "minion", |
| 4284 | "param": { |
| 4285 | "version": { |
| 4286 | "value": "2017.7.8 (Nitrogen)" |
| 4287 | } |
| 4288 | } |
| 4289 | } |
| 4290 | }, |
| 4291 | "description": "Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.", |
| 4292 | "name": "Salt" |
| 4293 | }, |
| 4294 | "neutron": { |
| 4295 | "role": { |
| 4296 | "server": { |
| 4297 | "endpoint": { |
| 4298 | "neutron_server": { |
| 4299 | "type": "neutron-server", |
| 4300 | "protocol": "http", |
| 4301 | "name": "neutron-server", |
| 4302 | "address": "http://10.11.0.11:9696" |
| 4303 | } |
| 4304 | }, |
| 4305 | "name": "server", |
| 4306 | "param": { |
| 4307 | "message_queue_ip": { |
| 4308 | "name": "Message queue", |
| 4309 | "value": "openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.41:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.42:5672,openstack:vsCFaby8sPgbSu4YdtkaL912mkWAJw9b@10.11.0.43:5672//openstack" |
| 4310 | }, |
| 4311 | "plugin": { |
| 4312 | "value": "contrail" |
| 4313 | }, |
| 4314 | "bind": { |
| 4315 | "value": "10.11.0.11:9696" |
| 4316 | }, |
| 4317 | "version": { |
| 4318 | "name": "Version", |
| 4319 | "value": "queens" |
| 4320 | }, |
| 4321 | "identity_host": { |
| 4322 | "name": "Identity service", |
| 4323 | "value": "neutron@10.11.0.10:35357" |
| 4324 | }, |
| 4325 | "compute_host": { |
| 4326 | "name": "Compute service", |
| 4327 | "value": "nova@10.11.0.10" |
| 4328 | }, |
| 4329 | "packages": { |
| 4330 | "value": "* neutron-server: 2:12.0.5-5~u16.04+mcp155\n* python-neutron-lbaas: 2:12.0.0-2~u16.04+mcp34\n* gettext-base: 0.19.7-2ubuntu3.1\n* python-pycadf: 2.7.0-1~u16.04+mcp3" |
| 4331 | }, |
| 4332 | "database_host": { |
| 4333 | "name": "Database", |
| 4334 | "value": "neutron@10.11.0.50:3306//neutron" |
| 4335 | } |
| 4336 | } |
| 4337 | } |
| 4338 | }, |
| 4339 | "description": "Neutron is an OpenStack project to provide networking as a service between interface devices managed by other Openstack services.", |
| 4340 | "name": "Neutron" |
| 4341 | } |
| 4342 | } |
| 4343 | }, |
| 4344 | "num_gpus": 1, |
| 4345 | "roles": [ |
| 4346 | "fluentd.agent", |
| 4347 | "telegraf.agent", |
| 4348 | "glusterfs.client", |
| 4349 | "rsyslog.client", |
| 4350 | "linux.storage", |
| 4351 | "linux.system", |
| 4352 | "linux.network", |
| 4353 | "glance.client", |
| 4354 | "glance.server", |
| 4355 | "keepalived.cluster", |
| 4356 | "nova.controller", |
| 4357 | "grafana.collector", |
| 4358 | "keystone.client", |
| 4359 | "keystone.server", |
| 4360 | "memcached.server", |
| 4361 | "openscap.service", |
| 4362 | "neutron.client", |
| 4363 | "neutron.server", |
| 4364 | "ntp.client", |
| 4365 | "nginx.server", |
| 4366 | "heat.server", |
| 4367 | "apache.server", |
| 4368 | "haproxy.proxy", |
| 4369 | "openssh.server", |
| 4370 | "opencontrail.client", |
| 4371 | "logrotate.server", |
| 4372 | "prometheus.collector", |
| 4373 | "cinder.controller", |
| 4374 | "salt.minion" |
| 4375 | ], |
| 4376 | "virtual": "kvm", |
| 4377 | "os": "Ubuntu", |
| 4378 | "disks": [ |
| 4379 | "loop1", |
| 4380 | "dm-1", |
| 4381 | "loop6", |
| 4382 | "vdb", |
| 4383 | "loop4", |
| 4384 | "dm-4", |
| 4385 | "loop2", |
| 4386 | "dm-2", |
| 4387 | "loop0", |
| 4388 | "dm-0", |
| 4389 | "loop7", |
| 4390 | "loop5", |
| 4391 | "dm-5", |
| 4392 | "vda", |
| 4393 | "loop3", |
| 4394 | "dm-3" |
| 4395 | ], |
| 4396 | "cpu_model": "Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz", |
| 4397 | "osmajorrelease": 16, |
| 4398 | "pythonexecutable": "/usr/bin/python", |
| 4399 | "productname": "OpenStack Nova", |
| 4400 | "osarch": "amd64", |
| 4401 | "cpuarch": "x86_64", |
| 4402 | "lsb_distrib_codename": "xenial", |
| 4403 | "osrelease_info": [ |
| 4404 | 16, |
| 4405 | 4 |
| 4406 | ], |
| 4407 | "locale_info": { |
| 4408 | "detectedencoding": "UTF-8", |
| 4409 | "defaultlanguage": "en_US", |
| 4410 | "defaultencoding": "UTF-8" |
| 4411 | }, |
| 4412 | "gpus": [ |
| 4413 | { |
| 4414 | "model": "GD 5446", |
| 4415 | "vendor": "unknown" |
| 4416 | } |
| 4417 | ], |
| 4418 | "prometheus": { |
| 4419 | "server": { |
| 4420 | "recording": {}, |
| 4421 | "target": { |
| 4422 | "static": { |
| 4423 | "fluentd": { |
| 4424 | "relabel_configs": [ |
| 4425 | { |
| 4426 | "regex": "10.11.0.11:24231", |
| 4427 | "source_labels": "__address__", |
| 4428 | "target_label": "host", |
| 4429 | "replacement": "ctl01" |
| 4430 | } |
| 4431 | ], |
| 4432 | "honor_labels": true, |
| 4433 | "endpoint": [ |
| 4434 | { |
| 4435 | "port": 24231, |
| 4436 | "address": "10.11.0.11" |
| 4437 | } |
| 4438 | ] |
| 4439 | }, |
| 4440 | "telegraf": { |
| 4441 | "relabel_configs": [ |
| 4442 | { |
| 4443 | "regex": "10.11.0.11:9126", |
| 4444 | "source_labels": "__address__", |
| 4445 | "target_label": "host", |
| 4446 | "replacement": "ctl01" |
| 4447 | } |
| 4448 | ], |
| 4449 | "honor_labels": true, |
| 4450 | "endpoint": [ |
| 4451 | { |
| 4452 | "port": 9126, |
| 4453 | "address": "10.11.0.11" |
| 4454 | } |
| 4455 | ] |
| 4456 | } |
| 4457 | }, |
| 4458 | "dns": { |
| 4459 | "endpoint": [ |
| 4460 | { |
| 4461 | "domain": [ |
| 4462 | "tasks.monitoring_remote_agent" |
| 4463 | ], |
| 4464 | "type": "A", |
| 4465 | "name": "remote_agent_openstack", |
| 4466 | "port": "9127" |
| 4467 | } |
| 4468 | ], |
| 4469 | "enabled": true |
| 4470 | } |
| 4471 | }, |
| 4472 | "alert": { |
| 4473 | "GlareApiOutage": { |
| 4474 | "labels": { |
| 4475 | "severity": "critical", |
| 4476 | "service": "glance" |
| 4477 | }, |
| 4478 | "annotations": { |
| 4479 | "description": "Glare API is not accessible for the Glare endpoint in the OpenStack service catalog.", |
| 4480 | "summary": "Glare API outage" |
| 4481 | }, |
| 4482 | "if": "openstack_api_check_status{name=\"glare\"} == 0" |
| 4483 | }, |
| 4484 | "ApacheWorkersAbsent": { |
| 4485 | "labels": { |
| 4486 | "severity": "minor", |
| 4487 | "service": "apache" |
| 4488 | }, |
| 4489 | "annotations": { |
| 4490 | "description": "The Apache service on the {{ $labels.host }} node has no available workers for 2 minutes.", |
| 4491 | "summary": "Apache has no available idle workers" |
| 4492 | }, |
| 4493 | "for": "2m", |
| 4494 | "if": "apache_IdleWorkers == 0" |
| 4495 | }, |
| 4496 | "KeepalivedProcessNotResponsive": { |
| 4497 | "labels": { |
| 4498 | "severity": "major", |
| 4499 | "service": "keepalived" |
| 4500 | }, |
| 4501 | "annotations": { |
| 4502 | "description": "The Keepalived process on the {{ $labels.host }} node is not responding.", |
| 4503 | "summary": "Keepalived process is not responding" |
| 4504 | }, |
| 4505 | "if": "keepalived_up == 0" |
| 4506 | }, |
| 4507 | "NetdevBudgetRanOutsWarning": { |
| 4508 | "labels": { |
| 4509 | "severity": "warning", |
| 4510 | "service": "system" |
| 4511 | }, |
| 4512 | "annotations": { |
| 4513 | "description": "The rate of net_rx_action loops terminations on the {{ $labels.host }} node is {{ $value }} per second during the last 7 minutes. Modify the net.core.netdev_budget and net.core.netdev_budget_usecs kernel parameters.", |
| 4514 | "summary": "CPU terminated 0.1 net_rx_action loops per second" |
| 4515 | }, |
| 4516 | "for": "7m", |
| 4517 | "if": "max(rate(nstat_time_squeeze[5m])) without (cpu) > 0.1" |
| 4518 | }, |
| 4519 | "HaproxyHTTPResponse5xxTooHigh": { |
| 4520 | "labels": { |
| 4521 | "severity": "warning", |
| 4522 | "service": "haproxy" |
| 4523 | }, |
| 4524 | "annotations": { |
| 4525 | "description": "The average per-second rate of 5xx HTTP errors on the {{ $labels.host }} node for the {{ $labels.proxy }} back end is {{ $value }} (as measured over the last 2 minutes).", |
| 4526 | "summary": "HTTP 5xx responses on the {{ $labels.proxy }} back end" |
| 4527 | }, |
| 4528 | "if": "rate(haproxy_http_response_5xx{sv=\"FRONTEND\"}[2m]) > 1" |
| 4529 | }, |
| 4530 | "NovaServicesDownMinor": { |
| 4531 | "labels": { |
| 4532 | "severity": "minor", |
| 4533 | "service": "nova" |
| 4534 | }, |
| 4535 | "annotations": { |
| 4536 | "description": "More than 30% {{ $labels.binary }} services are down.", |
| 4537 | "summary": "30% of {{ $labels.binary }} services are down" |
| 4538 | }, |
| 4539 | "if": "count(openstack_nova_service_state{binary!~\"nova-compute\"} == 0) by (binary) >= on (binary) count(openstack_nova_service_state{binary!~\"nova-compute\"}) by (binary) * 0.3" |
| 4540 | }, |
| 4541 | "HeatApiEndpointsOutage": { |
| 4542 | "labels": { |
| 4543 | "severity": "critical", |
| 4544 | "service": "heat" |
| 4545 | }, |
| 4546 | "annotations": { |
| 4547 | "description": "All available {{ $labels.name }} endpoints are not accessible for 2 minutes.", |
| 4548 | "summary": "{{ $labels.name }} endpoints outage" |
| 4549 | }, |
| 4550 | "for": "2m", |
| 4551 | "if": "count(http_response_status{name=~\"heat.*-api\"} == 0) by (name) == count(http_response_status{name=~\"heat.*-api\"}) by (name)" |
| 4552 | }, |
| 4553 | "NovaServiceDown": { |
| 4554 | "labels": { |
| 4555 | "severity": "minor", |
| 4556 | "service": "nova" |
| 4557 | }, |
| 4558 | "annotations": { |
| 4559 | "description": "The {{ $labels.binary }} service on the {{ $labels.hostname }} node is down.", |
| 4560 | "summary": "{{ $labels.binary }} service is down" |
| 4561 | }, |
| 4562 | "if": "openstack_nova_service_state == 0" |
| 4563 | }, |
| 4564 | "GlanceApiEndpointsDownMajor": { |
| 4565 | "labels": { |
| 4566 | "severity": "major", |
| 4567 | "service": "glance" |
| 4568 | }, |
| 4569 | "annotations": { |
| 4570 | "description": "{{ $value }} {{ $labels.name }} endpoints (>= 50.0%) are not accessible for 2 minutes.", |
| 4571 | "summary": "50.0% of {{ $labels.name }} endpoints are not accessible" |
| 4572 | }, |
| 4573 | "for": "2m", |
| 4574 | "if": "count(http_response_status{name=~\"glance.*\"} == 0) by (name) >= count(http_response_status{name=~\"glance.*\"}) by (name) * 0.5" |
| 4575 | }, |
| 4576 | "SystemDiskFullWarning": { |
| 4577 | "labels": { |
| 4578 | "severity": "warning", |
| 4579 | "service": "system" |
| 4580 | }, |
| 4581 | "annotations": { |
| 4582 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 4583 | "summary": "Disk partition {{ $labels.path }} is 85.0% full" |
| 4584 | }, |
| 4585 | "for": "2m", |
| 4586 | "if": "disk_used_percent >= 85.0" |
| 4587 | }, |
| 4588 | "SystemMemoryFullWarning": { |
| 4589 | "labels": { |
| 4590 | "severity": "warning", |
| 4591 | "service": "system" |
| 4592 | }, |
| 4593 | "annotations": { |
| 4594 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 4595 | "summary": "90.0% of memory is used" |
| 4596 | }, |
| 4597 | "for": "2m", |
| 4598 | "if": "mem_used_percent >= 90.0" |
| 4599 | }, |
| 4600 | "HaproxyServiceDown": { |
| 4601 | "labels": { |
| 4602 | "severity": "minor", |
| 4603 | "service": "haproxy" |
| 4604 | }, |
| 4605 | "annotations": { |
| 4606 | "description": "The HAProxy service on the {{ $labels.host }} node is down.", |
| 4607 | "summary": "HAProxy service is down" |
| 4608 | }, |
| 4609 | "if": "haproxy_up != 1" |
| 4610 | }, |
| 4611 | "ApacheServiceDown": { |
| 4612 | "labels": { |
| 4613 | "severity": "minor", |
| 4614 | "service": "apache" |
| 4615 | }, |
| 4616 | "annotations": { |
| 4617 | "description": "The Apache service on the {{ $labels.host }} node is down.", |
| 4618 | "summary": "Apache service is down" |
| 4619 | }, |
| 4620 | "if": "apache_up != 1" |
| 4621 | }, |
| 4622 | "HaproxyBackendDown": { |
| 4623 | "labels": { |
| 4624 | "severity": "minor", |
| 4625 | "service": "haproxy" |
| 4626 | }, |
| 4627 | "annotations": { |
| 4628 | "description": "The {{ $labels.proxy }} back end on the {{ $labels.host }} node is down.", |
| 4629 | "summary": "{{ $labels.proxy }} back end is down" |
| 4630 | }, |
| 4631 | "if": "increase(haproxy_chkdown{sv=\"BACKEND\"}[1m]) > 0" |
| 4632 | }, |
| 4633 | "CinderApiEndpointsDownMajor": { |
| 4634 | "labels": { |
| 4635 | "severity": "major", |
| 4636 | "service": "cinder" |
| 4637 | }, |
| 4638 | "annotations": { |
| 4639 | "description": "{{ $value }} cinder-api endpoints (>= 50.0%) are not accessible for 2 minutes.", |
| 4640 | "summary": "50.0% of cinder-api endpoints are not accessible" |
| 4641 | }, |
| 4642 | "for": "2m", |
| 4643 | "if": "count(http_response_status{name=~\"cinder-api\"} == 0) >= count(http_response_status{name=~\"cinder-api\"}) * 0.5" |
| 4644 | }, |
| 4645 | "HeatApiEndpointsDownMajor": { |
| 4646 | "labels": { |
| 4647 | "severity": "major", |
| 4648 | "service": "heat" |
| 4649 | }, |
| 4650 | "annotations": { |
| 4651 | "description": "{{ $value }} {{ $labels.name }} endpoints (>= 50.0%) are not accessible for 2 minutes.", |
| 4652 | "summary": "50.0% of {{ $labels.name }} endpoints are not accessible" |
| 4653 | }, |
| 4654 | "for": "2m", |
| 4655 | "if": "count(http_response_status{name=~\"heat.*-api\"} == 0) by (name) >= count(http_response_status{name=~\"heat.*-api\"}) by (name) * 0.5" |
| 4656 | }, |
| 4657 | "CinderApiEndpointsOutage": { |
| 4658 | "labels": { |
| 4659 | "severity": "critical", |
| 4660 | "service": "cinder" |
| 4661 | }, |
| 4662 | "annotations": { |
| 4663 | "description": "All available cinder-api endpoints are not accessible for 2 minutes.", |
| 4664 | "summary": "Cinder-api endpoints outage" |
| 4665 | }, |
| 4666 | "for": "2m", |
| 4667 | "if": "count(http_response_status{name=~\"cinder-api\"} == 0) == count(http_response_status{name=~\"cinder-api\"})" |
| 4668 | }, |
| 4669 | "HaproxyServiceOutage": { |
| 4670 | "labels": { |
| 4671 | "severity": "critical", |
| 4672 | "service": "haproxy" |
| 4673 | }, |
| 4674 | "annotations": { |
| 4675 | "description": "All HAProxy services within the {{ $labels.cluster }} are down.", |
| 4676 | "summary": "HAProxy service outage" |
| 4677 | }, |
| 4678 | "if": "count(label_replace(haproxy_up, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\") != 1) by (cluster) == count(label_replace(haproxy_up, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster)" |
| 4679 | }, |
| 4680 | "HeatErrorLogsTooHigh": { |
| 4681 | "labels": { |
| 4682 | "severity": "warning", |
| 4683 | "service": "heat" |
| 4684 | }, |
| 4685 | "annotations": { |
| 4686 | "description": "The average per-second rate of errors in Heat logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 4687 | "summary": "High number of errors in Heat logs" |
| 4688 | }, |
| 4689 | "if": "sum(rate(log_messages{service=\"heat\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 4690 | }, |
| 4691 | "NovaApiOutage": { |
| 4692 | "labels": { |
| 4693 | "severity": "critical", |
| 4694 | "service": "nova" |
| 4695 | }, |
| 4696 | "annotations": { |
| 4697 | "description": "Nova API is not accessible for all available Nova endpoints in the OpenStack service catalog.", |
| 4698 | "summary": "Nova API outage" |
| 4699 | }, |
| 4700 | "if": "max(openstack_api_check_status{name=~\"nova.*|placement\"}) == 0" |
| 4701 | }, |
| 4702 | "CinderApiEndpointDown": { |
| 4703 | "labels": { |
| 4704 | "severity": "minor", |
| 4705 | "service": "cinder" |
| 4706 | }, |
| 4707 | "annotations": { |
| 4708 | "description": "The cinder-api endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 4709 | "summary": "Cinder-api endpoint is not accessible" |
| 4710 | }, |
| 4711 | "for": "2m", |
| 4712 | "if": "http_response_status{name=~\"cinder-api\"} == 0" |
| 4713 | }, |
| 4714 | "NovaComputeServicesDownMajor": { |
| 4715 | "labels": { |
| 4716 | "severity": "major", |
| 4717 | "service": "nova" |
| 4718 | }, |
| 4719 | "annotations": { |
| 4720 | "description": "More than 50% of nova-compute services are down.", |
| 4721 | "summary": "More than 50% of nova-compute services are down" |
| 4722 | }, |
| 4723 | "if": "count(openstack_nova_service_state{binary=\"nova-compute\"} == 0) >= count(openstack_nova_service_state{binary=\"nova-compute\"}) * 0.5" |
| 4724 | }, |
| 4725 | "PacketsDroppedByCpuWarning": { |
| 4726 | "labels": { |
| 4727 | "severity": "warning", |
| 4728 | "service": "system" |
| 4729 | }, |
| 4730 | "annotations": { |
| 4731 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 10 minutes.", |
| 4732 | "summary": "Increased number of CPU dropped packets" |
| 4733 | }, |
| 4734 | "if": "floor(increase(nstat_packet_drop[10m])) > 0" |
| 4735 | }, |
| 4736 | "KeepalivedUnknownState": { |
| 4737 | "labels": { |
| 4738 | "severity": "minor", |
| 4739 | "service": "keepalived" |
| 4740 | }, |
| 4741 | "annotations": { |
| 4742 | "description": "The Keepalived VRRP {{ $labels.name }} is in the UNKNOWN state on the {{ $labels.host }} node.", |
| 4743 | "summary": "Keepalived VRRP state is UNKNOWN" |
| 4744 | }, |
| 4745 | "if": "keepalived_state == -1" |
| 4746 | }, |
| 4747 | "HaproxyBackendOutage": { |
| 4748 | "labels": { |
| 4749 | "severity": "critical", |
| 4750 | "service": "haproxy" |
| 4751 | }, |
| 4752 | "annotations": { |
| 4753 | "description": "All {{ $labels.proxy }} back ends are down.", |
| 4754 | "summary": "{{ $labels.proxy }} back end outage" |
| 4755 | }, |
| 4756 | "if": "max(haproxy_active_servers{sv=\"BACKEND\"}) by (proxy) + max(haproxy_backup_servers{sv=\"BACKEND\"}) by (proxy) == 0" |
| 4757 | }, |
| 4758 | "KeystoneApiResponseTimeTooHigh": { |
| 4759 | "labels": { |
| 4760 | "severity": "warning", |
| 4761 | "service": "keystone" |
| 4762 | }, |
| 4763 | "annotations": { |
| 4764 | "description": "The Keystone API response time for GET and POST requests on the {{ $labels.host }} node is higher than 3.0s for 2 minutes.", |
| 4765 | "summary": "High response time of Keystone API" |
| 4766 | }, |
| 4767 | "for": "2m", |
| 4768 | "if": "max by(host) (openstack_http_response_times{service='keystone',quantile=\"0.9\",http_method=~\"^(GET|POST)$\",http_status=~\"^2..$\"}) >= 3.0" |
| 4769 | }, |
| 4770 | "KeystoneErrorLogsTooHigh": { |
| 4771 | "labels": { |
| 4772 | "severity": "warning", |
| 4773 | "service": "keystone" |
| 4774 | }, |
| 4775 | "annotations": { |
| 4776 | "description": "The average per-second rate of errors in Keystone logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 4777 | "summary": "High number of errors in Keystone logs" |
| 4778 | }, |
| 4779 | "if": "sum(rate(log_messages{service=\"keystone\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 4780 | }, |
| 4781 | "KeepalivedMultipleIPAddr": { |
| 4782 | "labels": { |
| 4783 | "severity": "major", |
| 4784 | "service": "keepalived" |
| 4785 | }, |
| 4786 | "annotations": { |
| 4787 | "description": "The Keepalived {{ $labels.ip }} virtual IP is assigned more than once.", |
| 4788 | "summary": "Keepalived VIP is assigned more than once" |
| 4789 | }, |
| 4790 | "for": "2m", |
| 4791 | "if": "count(ipcheck_assigned) by (ip) > 1" |
| 4792 | }, |
| 4793 | "SystemLoadTooHighWarning": { |
| 4794 | "labels": { |
| 4795 | "severity": "warning", |
| 4796 | "service": "system" |
| 4797 | }, |
| 4798 | "annotations": { |
| 4799 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 4800 | "summary": "System load is1.0" |
| 4801 | }, |
| 4802 | "for": "5m", |
| 4803 | "if": "system_load5 / system_n_cpus > 1.0" |
| 4804 | }, |
| 4805 | "NovaApiEndpointsOutage": { |
| 4806 | "labels": { |
| 4807 | "severity": "critical", |
| 4808 | "service": "nova" |
| 4809 | }, |
| 4810 | "annotations": { |
| 4811 | "description": "All available nova-api endpoints are not accessible for 2 minutes.", |
| 4812 | "summary": "nova-api endpoints outage" |
| 4813 | }, |
| 4814 | "for": "2m", |
| 4815 | "if": "count(http_response_status{name=~\"nova-api\"} == 0) == count(http_response_status{name=~\"nova-api\"})" |
| 4816 | }, |
| 4817 | "SystemDiskInodesFullWarning": { |
| 4818 | "labels": { |
| 4819 | "severity": "warning", |
| 4820 | "service": "system" |
| 4821 | }, |
| 4822 | "annotations": { |
| 4823 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 4824 | "summary": "85.0% of inodes for {{ $labels.path }} are used" |
| 4825 | }, |
| 4826 | "for": "2m", |
| 4827 | "if": "100 * disk_inodes_used / disk_inodes_total >= 85.0" |
| 4828 | }, |
| 4829 | "NovaComputeServicesDownMinor": { |
| 4830 | "labels": { |
| 4831 | "severity": "minor", |
| 4832 | "service": "nova" |
| 4833 | }, |
| 4834 | "annotations": { |
| 4835 | "description": "More than 25% of nova-compute services are down.", |
| 4836 | "summary": "More than 25% of nova-compute services are down" |
| 4837 | }, |
| 4838 | "if": "count(openstack_nova_service_state{binary=\"nova-compute\"} == 0) >= count(openstack_nova_service_state{binary=\"nova-compute\"}) * 0.25" |
| 4839 | }, |
| 4840 | "SshFailedLoginsTooHigh": { |
| 4841 | "labels": { |
| 4842 | "severity": "warning", |
| 4843 | "service": "system" |
| 4844 | }, |
| 4845 | "annotations": { |
| 4846 | "description": "{{ $value }} failed SSH login attempts on the {{ $labels.host }} node during the last 5 minutes.", |
| 4847 | "summary": "5 failed SSH logins" |
| 4848 | }, |
| 4849 | "if": "increase(failed_logins_total[5m]) > 5" |
| 4850 | }, |
| 4851 | "NovaApiDown": { |
| 4852 | "labels": { |
| 4853 | "severity": "major", |
| 4854 | "service": "nova" |
| 4855 | }, |
| 4856 | "annotations": { |
| 4857 | "description": "Nova API is not accessible for the {{ $labels.name }} endpoint.", |
| 4858 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 4859 | }, |
| 4860 | "if": "openstack_api_check_status{name=~\"nova.*|placement\"} == 0" |
| 4861 | }, |
| 4862 | "MemcachedConnectionsNoneMinor": { |
| 4863 | "labels": { |
| 4864 | "severity": "minor", |
| 4865 | "service": "memcached" |
| 4866 | }, |
| 4867 | "annotations": { |
| 4868 | "description": "The Memcached database on the {{ $labels.host }} node has no open connections.", |
| 4869 | "summary": "Memcached has no open connections" |
| 4870 | }, |
| 4871 | "if": "memcached_curr_connections == 0" |
| 4872 | }, |
| 4873 | "NeutronApiOutage": { |
| 4874 | "labels": { |
| 4875 | "severity": "critical", |
| 4876 | "service": "neutron" |
| 4877 | }, |
| 4878 | "annotations": { |
| 4879 | "description": "Neutron API is not accessible for the Neutron endpoint in the OpenStack service catalog.", |
| 4880 | "summary": "Neutron API outage" |
| 4881 | }, |
| 4882 | "if": "openstack_api_check_status{name=\"neutron\"} == 0" |
| 4883 | }, |
| 4884 | "SystemMemoryFullMajor": { |
| 4885 | "labels": { |
| 4886 | "severity": "major", |
| 4887 | "service": "system" |
| 4888 | }, |
| 4889 | "annotations": { |
| 4890 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 4891 | "summary": "95.0% of memory is used" |
| 4892 | }, |
| 4893 | "for": "2m", |
| 4894 | "if": "mem_used_percent >= 95.0" |
| 4895 | }, |
| 4896 | "SystemCpuFullWarning": { |
| 4897 | "labels": { |
| 4898 | "severity": "warning", |
| 4899 | "service": "system" |
| 4900 | }, |
| 4901 | "annotations": { |
| 4902 | "description": "The average CPU usage on the {{ $labels.host }} node is {{ $value }}% for 2 minutes.", |
| 4903 | "summary": "90.0% CPU usage" |
| 4904 | }, |
| 4905 | "for": "2m", |
| 4906 | "if": "100 - avg_over_time(cpu_usage_idle{cpu=\"cpu-total\"}[5m]) > 90.0" |
| 4907 | }, |
| 4908 | "CinderErrorLogsTooHigh": { |
| 4909 | "labels": { |
| 4910 | "severity": "warning", |
| 4911 | "service": "cinder" |
| 4912 | }, |
| 4913 | "annotations": { |
| 4914 | "description": "The average per-second rate of errors in Cinder logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 4915 | "summary": "High number of errors in Cinder logs" |
| 4916 | }, |
| 4917 | "if": "sum(rate(log_messages{service=\"cinder\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 4918 | }, |
| 4919 | "KeystoneApiEndpointsOutage": { |
| 4920 | "labels": { |
| 4921 | "severity": "critical", |
| 4922 | "service": "keystone" |
| 4923 | }, |
| 4924 | "annotations": { |
| 4925 | "description": "All available {{ $labels.name }} endpoints are not accessible for 2 minutes.", |
| 4926 | "summary": "{{ $labels.name }} endpoints outage" |
| 4927 | }, |
| 4928 | "for": "2m", |
| 4929 | "if": "count(http_response_status{name=~\"keystone.*\"} == 0) by (name) == count(http_response_status{name=~\"keystone.*\"}) by (name)" |
| 4930 | }, |
| 4931 | "NeutronApiEndpointDown": { |
| 4932 | "labels": { |
| 4933 | "severity": "minor", |
| 4934 | "service": "neutron" |
| 4935 | }, |
| 4936 | "annotations": { |
| 4937 | "description": "The neutron-api endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 4938 | "summary": "neutron-api endpoint is not accessible" |
| 4939 | }, |
| 4940 | "for": "2m", |
| 4941 | "if": "http_response_status{name=\"neutron-api\"} == 0" |
| 4942 | }, |
| 4943 | "MemcachedConnectionsNoneMajor": { |
| 4944 | "labels": { |
| 4945 | "severity": "major", |
| 4946 | "service": "memcached" |
| 4947 | }, |
| 4948 | "annotations": { |
| 4949 | "description": "The Memcached database has no open connections on all nodes.", |
| 4950 | "summary": "Memcached has no open connections on all nodes" |
| 4951 | }, |
| 4952 | "if": "count(memcached_curr_connections == 0) == count(memcached_up)" |
| 4953 | }, |
| 4954 | "CinderServicesDownMinor": { |
| 4955 | "labels": { |
| 4956 | "severity": "minor", |
| 4957 | "service": "cinder" |
| 4958 | }, |
| 4959 | "annotations": { |
| 4960 | "description": "{{ $value }} {{ $labels.binary }} services (>=30.0%) are down.", |
| 4961 | "summary": "30.0% of {{ $labels.binary }} services are down" |
| 4962 | }, |
| 4963 | "if": "count(openstack_cinder_service_state == 0) by (binary) >= on (binary) count(openstack_cinder_service_state) by (binary) * 0.3" |
| 4964 | }, |
| 4965 | "KeepalivedFailedState": { |
| 4966 | "labels": { |
| 4967 | "severity": "minor", |
| 4968 | "service": "keepalived" |
| 4969 | }, |
| 4970 | "annotations": { |
| 4971 | "description": "The Keepalived VRRP {{ $labels.name }} is in the FAILED state on the {{ $labels.host }} node.", |
| 4972 | "summary": "Keepalived VRRP state is FAILED" |
| 4973 | }, |
| 4974 | "if": "keepalived_state == 0" |
| 4975 | }, |
| 4976 | "NeutronApiEndpointsOutage": { |
| 4977 | "labels": { |
| 4978 | "severity": "critical", |
| 4979 | "service": "neutron" |
| 4980 | }, |
| 4981 | "annotations": { |
| 4982 | "description": "All available neutron-api endpoints are not accessible for 2 minutes.", |
| 4983 | "summary": "neutron-api endpoints outage" |
| 4984 | }, |
| 4985 | "for": "2m", |
| 4986 | "if": "count(http_response_status{name=\"neutron-api\"} == 0) == count(http_response_status{name=\"neutron-api\"})" |
| 4987 | }, |
| 4988 | "NovaServicesDownMajor": { |
| 4989 | "labels": { |
| 4990 | "severity": "major", |
| 4991 | "service": "nova" |
| 4992 | }, |
| 4993 | "annotations": { |
| 4994 | "description": "More than 60% of {{ $labels.binary }} services are down.", |
| 4995 | "summary": "More than 60% of {{ $labels.binary }} services are down" |
| 4996 | }, |
| 4997 | "if": "count(openstack_nova_service_state{binary!~\"nova-compute\"} == 0) by (binary) >= on (binary) count(openstack_nova_service_state{binary!~\"nova-compute\"}) by (binary) * 0.6" |
| 4998 | }, |
| 4999 | "CertificateExpirationWarning": { |
| 5000 | "labels": { |
| 5001 | "severity": "warning", |
| 5002 | "service": "system" |
| 5003 | }, |
| 5004 | "annotations": { |
| 5005 | "description": "The {{ $labels.source }} certificate on the {{ $labels.host }} node expires in less than 60 days.", |
| 5006 | "summary": "The certificate expires in less than 60 days" |
| 5007 | }, |
| 5008 | "if": "x509_cert_expiry / (24 * 60 * 60) < 60" |
| 5009 | }, |
| 5010 | "GlanceApiEndpointsOutage": { |
| 5011 | "labels": { |
| 5012 | "severity": "critical", |
| 5013 | "service": "glance" |
| 5014 | }, |
| 5015 | "annotations": { |
| 5016 | "description": "All available {{ $labels.name }} endpoints are not accessible for 2 minutes.", |
| 5017 | "summary": "{{ $labels.name }} endpoints outage" |
| 5018 | }, |
| 5019 | "for": "2m", |
| 5020 | "if": "count(http_response_status{name=~\"glance.*\"} == 0) by (name) == count(http_response_status{name=~\"glance.*\"}) by (name)" |
| 5021 | }, |
| 5022 | "SaltMinionServiceDown": { |
| 5023 | "labels": { |
| 5024 | "severity": "critical", |
| 5025 | "service": "salt" |
| 5026 | }, |
| 5027 | "annotations": { |
| 5028 | "description": "The salt-minion service on the {{ $labels.host }} node is down.", |
| 5029 | "summary": "Salt-minion service is down" |
| 5030 | }, |
| 5031 | "if": "procstat_running{process_name=\"salt-minion\"} == 0" |
| 5032 | }, |
| 5033 | "CinderServiceDown": { |
| 5034 | "labels": { |
| 5035 | "severity": "minor", |
| 5036 | "service": "cinder" |
| 5037 | }, |
| 5038 | "annotations": { |
| 5039 | "description": "The {{ $labels.binary }} service on the {{ $labels.hostname }} node is down.", |
| 5040 | "summary": "{{ $labels.binary }} service is down" |
| 5041 | }, |
| 5042 | "if": "openstack_cinder_service_state == 0" |
| 5043 | }, |
| 5044 | "NovaApiEndpointDown": { |
| 5045 | "labels": { |
| 5046 | "severity": "minor", |
| 5047 | "service": "nova" |
| 5048 | }, |
| 5049 | "annotations": { |
| 5050 | "description": "The nova-api endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 5051 | "summary": "nova-api endpoint is not accessible" |
| 5052 | }, |
| 5053 | "for": "2m", |
| 5054 | "if": "http_response_status{name=~\"nova-api\"} == 0" |
| 5055 | }, |
| 5056 | "SystemLoadTooHighCritical": { |
| 5057 | "labels": { |
| 5058 | "severity": "warning", |
| 5059 | "service": "system" |
| 5060 | }, |
| 5061 | "annotations": { |
| 5062 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 5063 | "summary": "System load is2.0" |
| 5064 | }, |
| 5065 | "for": "5m", |
| 5066 | "if": "system_load5 / system_n_cpus > 2.0" |
| 5067 | }, |
| 5068 | "HaproxyServiceDownMajor": { |
| 5069 | "labels": { |
| 5070 | "severity": "major", |
| 5071 | "service": "haproxy" |
| 5072 | }, |
| 5073 | "annotations": { |
| 5074 | "description": "{{ $value }} HAProxy services (>= 50%) within the {{ $labels.cluster }} cluster are down.", |
| 5075 | "summary": "50% of HAProxy services are down" |
| 5076 | }, |
| 5077 | "if": "count(label_replace(haproxy_up, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\") != 1) by (cluster) >= 0.5 * count(label_replace(haproxy_up, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster)" |
| 5078 | }, |
| 5079 | "PacketsDroppedByCpuMinor": { |
| 5080 | "labels": { |
| 5081 | "severity": "minor", |
| 5082 | "service": "system" |
| 5083 | }, |
| 5084 | "annotations": { |
| 5085 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 10 minutes.", |
| 5086 | "summary": "CPU dropped more than 100 packets" |
| 5087 | }, |
| 5088 | "if": "floor(increase(nstat_packet_drop[10m])) > 100" |
| 5089 | }, |
| 5090 | "CronProcessDown": { |
| 5091 | "labels": { |
| 5092 | "severity": "critical", |
| 5093 | "service": "system" |
| 5094 | }, |
| 5095 | "annotations": { |
| 5096 | "description": "The cron process on the {{ $labels.host }} node is down.", |
| 5097 | "summary": "Cron process is down" |
| 5098 | }, |
| 5099 | "if": "procstat_running{process_name=\"cron\"} == 0" |
| 5100 | }, |
| 5101 | "SshdProcessDown": { |
| 5102 | "labels": { |
| 5103 | "severity": "critical", |
| 5104 | "service": "system" |
| 5105 | }, |
| 5106 | "annotations": { |
| 5107 | "description": "The SSH process on the {{ $labels.host }} node is down.", |
| 5108 | "summary": "SSH process is down" |
| 5109 | }, |
| 5110 | "if": "procstat_running{process_name=\"sshd\"} == 0" |
| 5111 | }, |
| 5112 | "CinderServiceOutage": { |
| 5113 | "labels": { |
| 5114 | "severity": "critical", |
| 5115 | "service": "cinder" |
| 5116 | }, |
| 5117 | "annotations": { |
| 5118 | "description": "All {{ $labels.binary }} services are down.", |
| 5119 | "summary": "{{ $labels.binary }} service outage" |
| 5120 | }, |
| 5121 | "if": "count(openstack_cinder_service_state == 0) by (binary) == on (binary) count(openstack_cinder_service_state) by (binary)" |
| 5122 | }, |
| 5123 | "SystemDiskInodesFullMajor": { |
| 5124 | "labels": { |
| 5125 | "severity": "major", |
| 5126 | "service": "system" |
| 5127 | }, |
| 5128 | "annotations": { |
| 5129 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 5130 | "summary": "95.0% of inodes for {{ $labels.path }} are used" |
| 5131 | }, |
| 5132 | "for": "2m", |
| 5133 | "if": "100 * disk_inodes_used / disk_inodes_total >= 95.0" |
| 5134 | }, |
| 5135 | "NovaErrorLogsTooHigh": { |
| 5136 | "labels": { |
| 5137 | "severity": "warning", |
| 5138 | "service": "nova" |
| 5139 | }, |
| 5140 | "annotations": { |
| 5141 | "description": "The average rate of errors in Nova logs on the {{ $labels.host }} node is more than 0.2 error messages per second (as measured over the last 5 minutes).", |
| 5142 | "summary": "High number of errors in Nova logs" |
| 5143 | }, |
| 5144 | "if": "sum(rate(log_messages{service=\"nova\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 5145 | }, |
| 5146 | "KeystoneApiEndpointDown": { |
| 5147 | "labels": { |
| 5148 | "severity": "minor", |
| 5149 | "service": "keystone" |
| 5150 | }, |
| 5151 | "annotations": { |
| 5152 | "description": "The {{ $labels.name }} endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 5153 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 5154 | }, |
| 5155 | "for": "2m", |
| 5156 | "if": "http_response_status{name=~\"keystone.*\"} == 0" |
| 5157 | }, |
| 5158 | "SystemDiskFullMajor": { |
| 5159 | "labels": { |
| 5160 | "severity": "major", |
| 5161 | "service": "system" |
| 5162 | }, |
| 5163 | "annotations": { |
| 5164 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 5165 | "summary": "Disk partition {{ $labels.path }} is 95.0% full" |
| 5166 | }, |
| 5167 | "for": "2m", |
| 5168 | "if": "disk_used_percent >= 95.0" |
| 5169 | }, |
| 5170 | "MemcachedConnectionThrottled": { |
| 5171 | "labels": { |
| 5172 | "severity": "warning", |
| 5173 | "service": "memcached" |
| 5174 | }, |
| 5175 | "annotations": { |
| 5176 | "description": "An average of {{ $value }} client connections to the Memcached database on the {{ $labels.host }} node throttle for 2 minutes.", |
| 5177 | "summary": " 5 throttled Memcached connections" |
| 5178 | }, |
| 5179 | "for": "2m", |
| 5180 | "if": "increase(memcached_conn_yields[1m]) > 5" |
| 5181 | }, |
| 5182 | "KeystoneApiOutage": { |
| 5183 | "labels": { |
| 5184 | "severity": "critical", |
| 5185 | "service": "keystone" |
| 5186 | }, |
| 5187 | "annotations": { |
| 5188 | "description": "Keystone API is not accessible for the Keystone endpoint in the OpenStack service catalog.", |
| 5189 | "summary": "Keystone API outage" |
| 5190 | }, |
| 5191 | "if": "openstack_api_check_status{name=~\"keystone.*\"} == 0" |
| 5192 | }, |
| 5193 | "GlanceApiEndpointDown": { |
| 5194 | "labels": { |
| 5195 | "severity": "minor", |
| 5196 | "service": "glance" |
| 5197 | }, |
| 5198 | "annotations": { |
| 5199 | "description": "The {{ $labels.name }} endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 5200 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 5201 | }, |
| 5202 | "for": "2m", |
| 5203 | "if": "http_response_status{name=~\"glance.*\"} == 0" |
| 5204 | }, |
| 5205 | "HeatApiEndpointDown": { |
| 5206 | "labels": { |
| 5207 | "severity": "minor", |
| 5208 | "service": "heat" |
| 5209 | }, |
| 5210 | "annotations": { |
| 5211 | "description": "The {{ $labels.name }} endpoint on the {{ $labels.host }} node is not accessible for 2 minutes.", |
| 5212 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 5213 | }, |
| 5214 | "for": "2m", |
| 5215 | "if": "http_response_status{name=~\"heat.*-api\"} == 0" |
| 5216 | }, |
| 5217 | "GlanceErrorLogsTooHigh": { |
| 5218 | "labels": { |
| 5219 | "severity": "warning", |
| 5220 | "service": "glance" |
| 5221 | }, |
| 5222 | "annotations": { |
| 5223 | "description": "The average per-second rate of errors in Glance logs on the {{ $labels.host }} node is {{ $value }} (as measured over the last 5 minutes).", |
| 5224 | "summary": "High number of errors in Glance logs" |
| 5225 | }, |
| 5226 | "if": "sum(rate(log_messages{service=\"glance\",level=~\"(?i:(error|emergency|fatal))\"}[5m])) without (level) > 0.2" |
| 5227 | }, |
| 5228 | "NeutronApiEndpointsDownMajor": { |
| 5229 | "labels": { |
| 5230 | "severity": "major", |
| 5231 | "service": "neutron" |
| 5232 | }, |
| 5233 | "annotations": { |
| 5234 | "description": "{{ $value }} neutron-api endpoints (>= 50.0%) are not accessible for 2 minutes.", |
| 5235 | "summary": "50.0% of neutron-api endpoints are not accessible" |
| 5236 | }, |
| 5237 | "for": "2m", |
| 5238 | "if": "count(http_response_status{name=\"neutron-api\"} == 0) >= count(http_response_status{name=\"neutron-api\"}) * 0.5" |
| 5239 | }, |
| 5240 | "KeepalivedServiceOutage": { |
| 5241 | "labels": { |
| 5242 | "severity": "critical", |
| 5243 | "service": "keepalived" |
| 5244 | }, |
| 5245 | "annotations": { |
| 5246 | "description": "All Keepalived processes within the {{ $labels.cluster }} cluster are down.", |
| 5247 | "summary": "Keepalived service outage" |
| 5248 | }, |
| 5249 | "if": "count(label_replace(procstat_running{process_name=\"keepalived\"}, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster) == count(label_replace(procstat_running{process_name=\"keepalived\"} == 0, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster)" |
| 5250 | }, |
| 5251 | "MemcachedEvictionsLimit": { |
| 5252 | "labels": { |
| 5253 | "severity": "warning", |
| 5254 | "service": "memcached" |
| 5255 | }, |
| 5256 | "annotations": { |
| 5257 | "description": "An average of {{ $value }} evictions in the Memcached database occurred on the {{ $labels.host }} node during the last minute.", |
| 5258 | "summary": "10 Memcached evictions" |
| 5259 | }, |
| 5260 | "if": "increase(memcached_evictions[1m]) > 10" |
| 5261 | }, |
| 5262 | "NovaApiEndpointsDownMajor": { |
| 5263 | "labels": { |
| 5264 | "severity": "major", |
| 5265 | "service": "nova" |
| 5266 | }, |
| 5267 | "annotations": { |
| 5268 | "description": "More than 60% of nova-api endpoints are not accessible for 2 minutes.", |
| 5269 | "summary": "60% of nova-api endpoints are not accessible" |
| 5270 | }, |
| 5271 | "for": "2m", |
| 5272 | "if": "count(http_response_status{name=~\"nova-api\"} == 0) >= count(http_response_status{name=~\"nova-api\"}) * 0.6" |
| 5273 | }, |
| 5274 | "HeatApiDown": { |
| 5275 | "labels": { |
| 5276 | "severity": "major", |
| 5277 | "service": "heat" |
| 5278 | }, |
| 5279 | "annotations": { |
| 5280 | "description": "Heat API is not accessible for the {{ $labels.name }} endpoint.", |
| 5281 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 5282 | }, |
| 5283 | "if": "openstack_api_check_status{name=~\"heat.*\"} == 0" |
| 5284 | }, |
| 5285 | "NovaServiceOutage": { |
| 5286 | "labels": { |
| 5287 | "severity": "critical", |
| 5288 | "service": "nova" |
| 5289 | }, |
| 5290 | "annotations": { |
| 5291 | "description": "All {{ $labels.binary }} services are down.", |
| 5292 | "summary": "{{ $labels.binary }} service outage" |
| 5293 | }, |
| 5294 | "if": "count(openstack_nova_service_state == 0) by (binary) == on (binary) count(openstack_nova_service_state) by (binary)" |
| 5295 | }, |
| 5296 | "SystemDiskErrorsTooHigh": { |
| 5297 | "labels": { |
| 5298 | "severity": "warning", |
| 5299 | "service": "system" |
| 5300 | }, |
| 5301 | "annotations": { |
| 5302 | "description": "The {{ $labels.device }} disk on the {{ $labels.host }} node is reporting errors for 5 minutes.", |
| 5303 | "summary": "Disk {{ $labels.device }} is failing" |
| 5304 | }, |
| 5305 | "for": "5m", |
| 5306 | "if": "increase(hdd_errors_total[1m]) > 0" |
| 5307 | }, |
| 5308 | "CinderApiDown": { |
| 5309 | "labels": { |
| 5310 | "severity": "major", |
| 5311 | "service": "cinder" |
| 5312 | }, |
| 5313 | "annotations": { |
| 5314 | "description": "Cinder API is not accessible for the {{ $labels.name }} endpoint.", |
| 5315 | "summary": "{{ $labels.name }} endpoint is not accessible" |
| 5316 | }, |
| 5317 | "if": "openstack_api_check_status{name=~\"cinder.*\"} == 0" |
| 5318 | }, |
| 5319 | "CinderServicesDownMajor": { |
| 5320 | "labels": { |
| 5321 | "severity": "major", |
| 5322 | "service": "cinder" |
| 5323 | }, |
| 5324 | "annotations": { |
| 5325 | "description": "{{ $value }} {{ $labels.binary }} services (>=60.0%) are down.", |
| 5326 | "summary": "60.0% of {{ $labels.binary }} services are down" |
| 5327 | }, |
| 5328 | "if": "count(openstack_cinder_service_state == 0) by (binary) >= on (binary) count(openstack_cinder_service_state) by (binary) * 0.6" |
| 5329 | }, |
| 5330 | "MemcachedServiceDown": { |
| 5331 | "labels": { |
| 5332 | "severity": "minor", |
| 5333 | "service": "memcached" |
| 5334 | }, |
| 5335 | "annotations": { |
| 5336 | "description": "The Memcached service on the {{ $labels.host }} node is down.", |
| 5337 | "summary": "Memcached service is down" |
| 5338 | }, |
| 5339 | "if": "memcached_up == 0" |
| 5340 | }, |
| 5341 | "NtpOffsetTooHigh": { |
| 5342 | "labels": { |
| 5343 | "severity": "warning", |
| 5344 | "service": "ntp" |
| 5345 | }, |
| 5346 | "annotations": { |
| 5347 | "description": "The NTP offset on the {{ $labels.host }} node is {{ $value }}ms for 2 minutes.", |
| 5348 | "summary": "NTP offset reached the limit of 200ms" |
| 5349 | }, |
| 5350 | "for": "2m", |
| 5351 | "if": "ntpq_offset >= 200" |
| 5352 | }, |
| 5353 | "GlanceApiOutage": { |
| 5354 | "labels": { |
| 5355 | "severity": "critical", |
| 5356 | "service": "glance" |
| 5357 | }, |
| 5358 | "annotations": { |
| 5359 | "description": "Glance API is not accessible for the Glance endpoint in the OpenStack service catalog.", |
| 5360 | "summary": "Glance API outage" |
| 5361 | }, |
| 5362 | "if": "openstack_api_check_status{name=\"glance\"} == 0" |
| 5363 | }, |
| 5364 | "SystemRxPacketsDroppedTooHigh": { |
| 5365 | "labels": { |
| 5366 | "severity": "warning", |
| 5367 | "service": "system" |
| 5368 | }, |
| 5369 | "annotations": { |
| 5370 | "description": "{{ $value }} packets received by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 5371 | "summary": "60 received packets were dropped" |
| 5372 | }, |
| 5373 | "if": "increase(net_drop_in[1m]) > 60 unless on (host,interface) bond_slave_active == 0" |
| 5374 | }, |
| 5375 | "KeystoneApiEndpointssDownMajor": { |
| 5376 | "labels": { |
| 5377 | "severity": "major", |
| 5378 | "service": "keystone" |
| 5379 | }, |
| 5380 | "annotations": { |
| 5381 | "description": "{{ $value }} {{ $labels.name }} endpoints (>= 50.0%) are not accessible for 2 minutes.", |
| 5382 | "summary": "50.0% of {{ $labels.name }} endpoints are not accessible" |
| 5383 | }, |
| 5384 | "for": "2m", |
| 5385 | "if": "count(http_response_status{name=~\"keystone.*\"} == 0) by (name) >= count(http_response_status{name=~\"keystone.*\"}) by (name) * 0.5" |
| 5386 | }, |
| 5387 | "SystemTxPacketsDroppedTooHigh": { |
| 5388 | "labels": { |
| 5389 | "severity": "warning", |
| 5390 | "service": "system" |
| 5391 | }, |
| 5392 | "annotations": { |
| 5393 | "description": "{{ $value }} packets transmitted by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 5394 | "summary": "100 transmitted packets were dropped" |
| 5395 | }, |
| 5396 | "if": "increase(net_drop_out[1m]) > 100" |
| 5397 | }, |
| 5398 | "ApacheServiceOutage": { |
| 5399 | "labels": { |
| 5400 | "severity": "critical", |
| 5401 | "service": "apache" |
| 5402 | }, |
| 5403 | "annotations": { |
| 5404 | "description": "The Apache services within the {{ $labels.cluster }} cluster are down.", |
| 5405 | "summary": "Apache service outage" |
| 5406 | }, |
| 5407 | "if": "count(label_replace(apache_up, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster) == count(label_replace(apache_up == 0, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster)" |
| 5408 | }, |
| 5409 | "HaproxyBackendDownMajor": { |
| 5410 | "labels": { |
| 5411 | "severity": "major", |
| 5412 | "service": "haproxy" |
| 5413 | }, |
| 5414 | "annotations": { |
| 5415 | "description": "{{ $value }} {{ $labels.proxy }} back ends (>= 50%) are down.", |
| 5416 | "summary": "50% of {{ $labels.proxy }} back ends are down" |
| 5417 | }, |
| 5418 | "if": "0.5 * avg(sum(haproxy_active_servers{type=\"server\"}) by (host, proxy) + sum(haproxy_backup_servers{type=\"server\"}) by (host, proxy)) by (proxy) >= avg(sum(haproxy_active_servers{type=\"backend\"}) by (host, proxy) + sum(haproxy_backup_servers{type=\"backend\"}) by (host, proxy)) by (proxy)" |
| 5419 | }, |
| 5420 | "HeatApiOutage": { |
| 5421 | "labels": { |
| 5422 | "severity": "critical", |
| 5423 | "service": "heat" |
| 5424 | }, |
| 5425 | "annotations": { |
| 5426 | "description": "Heat API is not accessible for all available Heat endpoints in the OpenStack service catalog.", |
| 5427 | "summary": "Heat API outage" |
| 5428 | }, |
| 5429 | "if": "max(openstack_api_check_status{name=~\"heat.*\"}) == 0" |
| 5430 | }, |
| 5431 | "KeepalivedProcessDown": { |
| 5432 | "labels": { |
| 5433 | "severity": "major", |
| 5434 | "service": "keepalived" |
| 5435 | }, |
| 5436 | "annotations": { |
| 5437 | "description": "The Keepalived process on the {{ $labels.host }} node is down.", |
| 5438 | "summary": "Keepalived process is down" |
| 5439 | }, |
| 5440 | "if": "procstat_running{process_name=\"keepalived\"} == 0" |
| 5441 | }, |
| 5442 | "CertificateExpirationCritical": { |
| 5443 | "labels": { |
| 5444 | "severity": "critical", |
| 5445 | "service": "system" |
| 5446 | }, |
| 5447 | "annotations": { |
| 5448 | "description": "The {{ $labels.source }} certificate on the {{ $labels.host }} node expires in less than 30 days.", |
| 5449 | "summary": "The certificate expires in less than 30 days" |
| 5450 | }, |
| 5451 | "if": "x509_cert_expiry / (24 * 60 * 60) < 30" |
| 5452 | }, |
| 5453 | "CinderApiOutage": { |
| 5454 | "labels": { |
| 5455 | "severity": "critical", |
| 5456 | "service": "cinder" |
| 5457 | }, |
| 5458 | "annotations": { |
| 5459 | "description": "Cinder API is not accessible for all available Cinder endpoints in the OpenStack service catalog.", |
| 5460 | "summary": "Cinder API outage" |
| 5461 | }, |
| 5462 | "if": "max(openstack_api_check_status{name=~\"cinder.*\"}) == 0" |
| 5463 | } |
| 5464 | } |
| 5465 | } |
| 5466 | }, |
| 5467 | "glance_policy": { |
| 5468 | "get_task": "", |
| 5469 | "modify_metadef_namespace": "", |
| 5470 | "add_metadef_resource_type_association": "", |
| 5471 | "get_metadef_object": "", |
| 5472 | "upload_image": "", |
| 5473 | "get_image_location": "", |
| 5474 | "list_metadef_resource_types": "", |
| 5475 | "add_image": "", |
| 5476 | "get_metadef_namespace": "", |
| 5477 | "manage_image_cache": "role:admin", |
| 5478 | "delete_member": "", |
| 5479 | "deactivate": "", |
| 5480 | "add_metadef_object": "", |
| 5481 | "get_images": "", |
| 5482 | "get_metadef_resource_type": "", |
| 5483 | "delete_image": "", |
| 5484 | "get_metadef_namespaces": "", |
| 5485 | "get_metadef_objects": "", |
| 5486 | "modify_metadef_property": "", |
| 5487 | "publicize_image": "role:admin", |
| 5488 | "add_metadef_namespace": "", |
| 5489 | "get_member": "", |
| 5490 | "add_member": "", |
| 5491 | "set_image_location": "", |
| 5492 | "communitize_image": "", |
| 5493 | "tasks_api_access": "role:admin", |
| 5494 | "modify_task": "", |
| 5495 | "add_task": "", |
| 5496 | "modify_member": "", |
| 5497 | "context_is_admin": "role:admin", |
| 5498 | "modify_image": "", |
| 5499 | "add_metadef_property": "", |
| 5500 | "get_metadef_properties": "", |
| 5501 | "get_members": "", |
| 5502 | "get_tasks": "", |
| 5503 | "get_metadef_tag": "", |
| 5504 | "reactivate": "", |
| 5505 | "modify_metadef_tag": "", |
| 5506 | "get_metadef_property": "", |
| 5507 | "delete_image_location": "", |
| 5508 | "copy_from": "", |
| 5509 | "add_metadef_tags": "", |
| 5510 | "default": "role:admin", |
| 5511 | "download_image": "", |
| 5512 | "modify_metadef_object": "", |
| 5513 | "get_image": "", |
| 5514 | "add_metadef_tag": "", |
| 5515 | "get_metadef_tags": "" |
| 5516 | }, |
| 5517 | "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", |
| 5518 | "machine_id": "7b17cfb3a5724e06a2b1b8d17cc0e2cb", |
| 5519 | "salt": { |
| 5520 | "graph": [ |
| 5521 | { |
| 5522 | "host": "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 5523 | "type": "software-system", |
| 5524 | "service": "linux.system", |
| 5525 | "relations": [ |
| 5526 | { |
| 5527 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 5528 | "direction": "source", |
| 5529 | "type": "tcp-http", |
| 5530 | "service": "apt.repo" |
| 5531 | }, |
| 5532 | { |
| 5533 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//td-agent//xenial xenial contrib", |
| 5534 | "direction": "source", |
| 5535 | "type": "tcp-http", |
| 5536 | "service": "apt.repo" |
| 5537 | }, |
| 5538 | { |
| 5539 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//openstack-queens//xenial xenial main", |
| 5540 | "direction": "source", |
| 5541 | "type": "tcp-http", |
| 5542 | "service": "apt.repo" |
| 5543 | }, |
| 5544 | { |
| 5545 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//td-agent//xenial xenial contrib", |
| 5546 | "direction": "source", |
| 5547 | "type": "tcp-http", |
| 5548 | "service": "apt.repo" |
| 5549 | }, |
| 5550 | { |
| 5551 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//percona//xenial/ xenial main", |
| 5552 | "direction": "source", |
| 5553 | "type": "tcp-http", |
| 5554 | "service": "apt.repo" |
| 5555 | }, |
| 5556 | { |
| 5557 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 5558 | "direction": "source", |
| 5559 | "type": "tcp-http", |
| 5560 | "service": "apt.repo" |
| 5561 | }, |
| 5562 | { |
| 5563 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//percona//xenial/ xenial main", |
| 5564 | "direction": "source", |
| 5565 | "type": "tcp-http", |
| 5566 | "service": "apt.repo" |
| 5567 | }, |
| 5568 | { |
| 5569 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//glusterfs-3.8//xenial/ xenial main", |
| 5570 | "direction": "source", |
| 5571 | "type": "tcp-http", |
| 5572 | "service": "apt.repo" |
| 5573 | }, |
| 5574 | { |
| 5575 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//opencontrail-4.0//xenial xenial main", |
| 5576 | "direction": "source", |
| 5577 | "type": "tcp-http", |
| 5578 | "service": "apt.repo" |
| 5579 | }, |
| 5580 | { |
| 5581 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 5582 | "direction": "source", |
| 5583 | "type": "tcp-http", |
| 5584 | "service": "apt.repo" |
| 5585 | }, |
| 5586 | { |
| 5587 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//extra//xenial xenial main", |
| 5588 | "direction": "source", |
| 5589 | "type": "tcp-http", |
| 5590 | "service": "apt.repo" |
| 5591 | }, |
| 5592 | { |
| 5593 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//extra//xenial xenial main", |
| 5594 | "direction": "source", |
| 5595 | "type": "tcp-http", |
| 5596 | "service": "apt.repo" |
| 5597 | }, |
| 5598 | { |
| 5599 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial main restricted universe", |
| 5600 | "direction": "source", |
| 5601 | "type": "tcp-http", |
| 5602 | "service": "apt.repo" |
| 5603 | }, |
| 5604 | { |
| 5605 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-updates main restricted universe", |
| 5606 | "direction": "source", |
| 5607 | "type": "tcp-http", |
| 5608 | "service": "apt.repo" |
| 5609 | }, |
| 5610 | { |
| 5611 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 5612 | "direction": "source", |
| 5613 | "type": "tcp-http", |
| 5614 | "service": "apt.repo" |
| 5615 | }, |
| 5616 | { |
| 5617 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//openstack-queens//xenial xenial main", |
| 5618 | "direction": "source", |
| 5619 | "type": "tcp-http", |
| 5620 | "service": "apt.repo" |
| 5621 | } |
| 5622 | ] |
| 5623 | }, |
| 5624 | { |
| 5625 | "host": "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 5626 | "type": "software-system", |
| 5627 | "service": "ntp.client", |
| 5628 | "relations": [ |
| 5629 | { |
| 5630 | "host_external": "udp://10.10.0.15", |
| 5631 | "direction": "source", |
| 5632 | "type": "udp", |
| 5633 | "service": "other-service" |
| 5634 | }, |
| 5635 | { |
| 5636 | "host_external": "udp://pool.ntp.org", |
| 5637 | "direction": "source", |
| 5638 | "type": "udp", |
| 5639 | "service": "other-service" |
| 5640 | } |
| 5641 | ] |
| 5642 | }, |
| 5643 | { |
| 5644 | "host": "ctl01.ozhurba-os-oc-cicd-sl.local", |
| 5645 | "type": "software-config", |
| 5646 | "service": "salt.minion", |
| 5647 | "relations": [ |
| 5648 | { |
| 5649 | "direction": "source", |
| 5650 | "type": "tcp-0mq", |
| 5651 | "service": "salt.master", |
| 5652 | "host_from_target": "10.10.0.15" |
| 5653 | } |
| 5654 | ] |
| 5655 | } |
| 5656 | ] |
| 5657 | } |
| 5658 | }, |
| 5659 | "cfg01.fakedomain.local": { |
| 5660 | "biosversion": "1.10.2-1.1~u16.04+mcp2", |
| 5661 | "kernel": "Linux", |
| 5662 | "domain": "ozhurba-os-oc-cicd-sl.local", |
| 5663 | "uid": 0, |
| 5664 | "zmqversion": "4.1.4", |
| 5665 | "kernelrelease": "4.15.0-43-generic", |
| 5666 | "pythonpath": [ |
| 5667 | "/usr/bin", |
| 5668 | "/usr/lib/python2.7", |
| 5669 | "/usr/lib/python2.7/plat-x86_64-linux-gnu", |
| 5670 | "/usr/lib/python2.7/lib-tk", |
| 5671 | "/usr/lib/python2.7/lib-old", |
| 5672 | "/usr/lib/python2.7/lib-dynload", |
| 5673 | "/usr/local/lib/python2.7/dist-packages", |
| 5674 | "/usr/local/lib/python2.7/dist-packages/configparser-3.7.4-py2.7.egg", |
| 5675 | "/usr/lib/python2.7/dist-packages" |
| 5676 | ], |
| 5677 | "serialnumber": "157967c6-9d9f-49dc-9f27-73d403afd492", |
| 5678 | "pid": 19577, |
| 5679 | "telegraf": { |
| 5680 | "remote_agent": { |
| 5681 | "input": {}, |
| 5682 | "processor": {}, |
| 5683 | "dir": { |
| 5684 | "config": "/srv/volumes/local/telegraf", |
| 5685 | "config_d": "/srv/volumes/local/telegraf/telegraf.d" |
| 5686 | }, |
| 5687 | "output": {} |
| 5688 | }, |
| 5689 | "agent": { |
| 5690 | "metric_batch_size": 1000, |
| 5691 | "collection_jitter": 2, |
| 5692 | "interval": 15, |
| 5693 | "enabled": true, |
| 5694 | "pkgs": [ |
| 5695 | "telegraf" |
| 5696 | ], |
| 5697 | "round_interval": false, |
| 5698 | "output": { |
| 5699 | "prometheus_client": { |
| 5700 | "engine": "prometheus", |
| 5701 | "bind": { |
| 5702 | "port": 9126, |
| 5703 | "address": "0.0.0.0" |
| 5704 | }, |
| 5705 | "string_as_label": false |
| 5706 | } |
| 5707 | }, |
| 5708 | "input": { |
| 5709 | "kernel": null, |
| 5710 | "processes": null, |
| 5711 | "nstat": { |
| 5712 | "fieldpass": [ |
| 5713 | "packet_drop", |
| 5714 | "time_squeeze" |
| 5715 | ] |
| 5716 | }, |
| 5717 | "x509": { |
| 5718 | "sources": [ |
| 5719 | "/srv/salt/pki/ozhurba-os-oc-cicd-sl/10.13.250.9.crt" |
| 5720 | ] |
| 5721 | }, |
| 5722 | "ntp": { |
| 5723 | "template": "ntp/files/telegraf.conf" |
| 5724 | }, |
| 5725 | "system": null, |
| 5726 | "http_listener": { |
| 5727 | "read_timeout": "10s", |
| 5728 | "bind": { |
| 5729 | "port": 8186, |
| 5730 | "address": "127.0.0.1" |
| 5731 | }, |
| 5732 | "tagexclude": [ |
| 5733 | "hostname" |
| 5734 | ], |
| 5735 | "write_timeout": "10s" |
| 5736 | }, |
| 5737 | "cpu": { |
| 5738 | "totalcpu": true, |
| 5739 | "percpu": false |
| 5740 | }, |
| 5741 | "linux_sysctl_fs": null, |
| 5742 | "diskio": null, |
| 5743 | "procstat": { |
| 5744 | "process": { |
| 5745 | "sshd": { |
| 5746 | "exe": "sshd" |
| 5747 | }, |
| 5748 | "salt-minion": { |
| 5749 | "pattern": "salt-minion" |
| 5750 | }, |
| 5751 | "cron": { |
| 5752 | "exe": "cron" |
| 5753 | }, |
| 5754 | "dockerd": { |
| 5755 | "exe": "dockerd" |
| 5756 | }, |
| 5757 | "salt-master": { |
| 5758 | "pattern": "salt-master" |
| 5759 | }, |
| 5760 | "ntpd": { |
| 5761 | "exe": "ntpd" |
| 5762 | } |
| 5763 | } |
| 5764 | }, |
| 5765 | "net": null, |
| 5766 | "disk": { |
| 5767 | "ignore_fs": [ |
| 5768 | "aufs", |
| 5769 | "rootfs", |
| 5770 | "sysfs", |
| 5771 | "proc", |
| 5772 | "devtmpfs", |
| 5773 | "devpts", |
| 5774 | "tmpfs", |
| 5775 | "fusectl", |
| 5776 | "cgroup", |
| 5777 | "overlay" |
| 5778 | ] |
| 5779 | }, |
| 5780 | "mem": null, |
| 5781 | "docker": { |
| 5782 | "endpoint": "unix:///var/run/docker.sock", |
| 5783 | "container_name_exclude": [ |
| 5784 | "*" |
| 5785 | ], |
| 5786 | "timeout": 5, |
| 5787 | "namepass": [ |
| 5788 | "docker", |
| 5789 | "docker_swarm" |
| 5790 | ], |
| 5791 | "perdevice": true, |
| 5792 | "gather_services": true, |
| 5793 | "total": false |
| 5794 | }, |
| 5795 | "swap": null |
| 5796 | }, |
| 5797 | "metric_buffer_limit": 10000, |
| 5798 | "processor": {}, |
| 5799 | "dir": { |
| 5800 | "config": "/etc/telegraf", |
| 5801 | "config_d": "/etc/telegraf/telegraf.d" |
| 5802 | } |
| 5803 | } |
| 5804 | }, |
| 5805 | "ip_interfaces": { |
| 5806 | "ens4": [ |
| 5807 | "10.11.0.15", |
| 5808 | "fe80::f816:3eff:fe8d:eff3" |
| 5809 | ], |
| 5810 | "ens5": [ |
| 5811 | "10.12.100.8", |
| 5812 | "fe80::f816:3eff:fe39:9558" |
| 5813 | ], |
| 5814 | "ens6": [ |
| 5815 | "10.13.0.15", |
| 5816 | "fe80::f816:3eff:fea6:7cae" |
| 5817 | ], |
| 5818 | "vethaca0b7a": [ |
| 5819 | "fe80::38b7:15ff:fecc:9e2a" |
| 5820 | ], |
| 5821 | "lo": [ |
| 5822 | "127.0.0.1", |
| 5823 | "::1" |
| 5824 | ], |
| 5825 | "ens3": [ |
| 5826 | "10.10.0.15", |
| 5827 | "fe80::f816:3eff:fe79:d748" |
| 5828 | ], |
| 5829 | "docker_gwbridge": [ |
| 5830 | "10.20.0.1", |
| 5831 | "fe80::42:beff:fe69:f35d" |
| 5832 | ], |
| 5833 | "veth31bea8f": [ |
| 5834 | "fe80::40ac:75ff:fe71:f26f" |
| 5835 | ] |
| 5836 | }, |
| 5837 | "groupname": "root", |
| 5838 | "fqdn_ip6": [], |
| 5839 | "mem_total": 16040, |
| 5840 | "saltversioninfo": [ |
| 5841 | 2017, |
| 5842 | 7, |
| 5843 | 8, |
| 5844 | 0 |
| 5845 | ], |
| 5846 | "SSDs": [], |
| 5847 | "mdadm": [], |
| 5848 | "id": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 5849 | "manufacturer": "OpenStack Foundation", |
| 5850 | "osrelease": "16.04", |
| 5851 | "ps": "ps -efHww", |
| 5852 | "systemd": { |
| 5853 | "version": "229", |
| 5854 | "features": "+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN" |
| 5855 | }, |
| 5856 | "fqdn": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 5857 | "uuid": "6cf16038-e8ef-45da-8f9d-13f0ca824a31", |
| 5858 | "ip6_interfaces": { |
| 5859 | "ens4": [ |
| 5860 | "fe80::f816:3eff:fe8d:eff3" |
| 5861 | ], |
| 5862 | "ens5": [ |
| 5863 | "fe80::f816:3eff:fe39:9558" |
| 5864 | ], |
| 5865 | "ens6": [ |
| 5866 | "fe80::f816:3eff:fea6:7cae" |
| 5867 | ], |
| 5868 | "vethaca0b7a": [ |
| 5869 | "fe80::38b7:15ff:fecc:9e2a" |
| 5870 | ], |
| 5871 | "lo": [ |
| 5872 | "::1" |
| 5873 | ], |
| 5874 | "ens3": [ |
| 5875 | "fe80::f816:3eff:fe79:d748" |
| 5876 | ], |
| 5877 | "docker_gwbridge": [ |
| 5878 | "fe80::42:beff:fe69:f35d" |
| 5879 | ], |
| 5880 | "veth31bea8f": [ |
| 5881 | "fe80::40ac:75ff:fe71:f26f" |
| 5882 | ] |
| 5883 | }, |
| 5884 | "num_cpus": 4, |
| 5885 | "hwaddr_interfaces": { |
| 5886 | "ens4": "fa:16:3e:8d:ef:f3", |
| 5887 | "ens5": "fa:16:3e:39:95:58", |
| 5888 | "ens6": "fa:16:3e:a6:7c:ae", |
| 5889 | "vethaca0b7a": "3a:b7:15:cc:9e:2a", |
| 5890 | "lo": "00:00:00:00:00:00", |
| 5891 | "ens3": "fa:16:3e:79:d7:48", |
| 5892 | "docker_gwbridge": "02:42:be:69:f3:5d", |
| 5893 | "veth31bea8f": "42:ac:75:71:f2:6f" |
| 5894 | }, |
| 5895 | "init": "systemd", |
| 5896 | "ip4_interfaces": { |
| 5897 | "ens4": [ |
| 5898 | "10.11.0.15" |
| 5899 | ], |
| 5900 | "ens5": [ |
| 5901 | "10.12.100.8" |
| 5902 | ], |
| 5903 | "ens6": [ |
| 5904 | "10.13.0.15" |
| 5905 | ], |
| 5906 | "vethaca0b7a": [], |
| 5907 | "lo": [ |
| 5908 | "127.0.0.1" |
| 5909 | ], |
| 5910 | "ens3": [ |
| 5911 | "10.10.0.15" |
| 5912 | ], |
| 5913 | "docker_gwbridge": [ |
| 5914 | "10.20.0.1" |
| 5915 | ], |
| 5916 | "veth31bea8f": [] |
| 5917 | }, |
| 5918 | "grafana": { |
| 5919 | "dashboard": { |
| 5920 | "linux_disk_prometheus": { |
| 5921 | "datasource": "prometheus", |
| 5922 | "template": "linux/files/grafana_dashboards/system_disk_prometheus.json", |
| 5923 | "format": "json" |
| 5924 | }, |
| 5925 | "linux_influxdb": { |
| 5926 | "datasource": "influxdb", |
| 5927 | "template": "linux/files/grafana_dashboards/system_influxdb.json", |
| 5928 | "format": "json" |
| 5929 | }, |
| 5930 | "glusterfs_prometheus": { |
| 5931 | "datasource": "prometheus", |
| 5932 | "template": "glusterfs/files/grafana_dashboards/glusterfs_prometheus.json", |
| 5933 | "format": "json" |
| 5934 | }, |
| 5935 | "jenkins_prometheus": { |
| 5936 | "datasource": "prometheus", |
| 5937 | "template": "jenkins/files/grafana_dashboards/jenkins_prometheus.json", |
| 5938 | "format": "json" |
| 5939 | }, |
| 5940 | "main_prometheus": { |
| 5941 | "datasource": "prometheus", |
| 5942 | "row": { |
| 5943 | "ost-middleware": { |
| 5944 | "title": "Middleware", |
| 5945 | "panel": { |
| 5946 | "glusterfs": { |
| 5947 | "target": { |
| 5948 | "cluster_status": { |
| 5949 | "expr": "avg(glusterfs_up) by (name)" |
| 5950 | } |
| 5951 | }, |
| 5952 | "links": [ |
| 5953 | { |
| 5954 | "type": "dashboard", |
| 5955 | "dashboard": "GlusterFS", |
| 5956 | "title": "GlusterFS" |
| 5957 | } |
| 5958 | ], |
| 5959 | "title": "GlusterFS" |
| 5960 | } |
| 5961 | } |
| 5962 | } |
| 5963 | } |
| 5964 | }, |
| 5965 | "glusterfs_influxdb": { |
| 5966 | "datasource": "influxdb", |
| 5967 | "template": "glusterfs/files/grafana_dashboards/glusterfs_influxdb.json", |
| 5968 | "format": "json" |
| 5969 | }, |
| 5970 | "linux_overview_prometheus": { |
| 5971 | "datasource": "prometheus", |
| 5972 | "template": "linux/files/grafana_dashboards/system_overview_prometheus.json", |
| 5973 | "format": "json" |
| 5974 | }, |
| 5975 | "docker_prometheus": { |
| 5976 | "datasource": "prometheus", |
| 5977 | "template": "docker/files/grafana_dashboards/docker_prometheus.json", |
| 5978 | "format": "json" |
| 5979 | }, |
| 5980 | "ntp_prometheus": { |
| 5981 | "datasource": "prometheus", |
| 5982 | "template": "ntp/files/grafana_dashboards/ntp_prometheus.json", |
| 5983 | "format": "json" |
| 5984 | }, |
| 5985 | "main": { |
| 5986 | "datasource": "influxdb", |
| 5987 | "row": { |
| 5988 | "docker-data-plane": { |
| 5989 | "title": "Docker", |
| 5990 | "panel": { |
| 5991 | "docker": { |
| 5992 | "target": { |
| 5993 | "cluster_status": { |
| 5994 | "query": "SELECT last(value) FROM cluster_status WHERE cluster_name = 'docker' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)", |
| 5995 | "rawQuery": true |
| 5996 | } |
| 5997 | }, |
| 5998 | "links": [ |
| 5999 | { |
| 6000 | "type": "dashboard", |
| 6001 | "dashboard": "Docker", |
| 6002 | "title": "Docker" |
| 6003 | } |
| 6004 | ], |
| 6005 | "title": "Docker" |
| 6006 | } |
| 6007 | } |
| 6008 | } |
| 6009 | } |
| 6010 | }, |
| 6011 | "linux_network_prometheus": { |
| 6012 | "datasource": "prometheus", |
| 6013 | "template": "linux/files/grafana_dashboards/system_network_prometheus.json", |
| 6014 | "format": "json" |
| 6015 | }, |
| 6016 | "docker_influxdb": { |
| 6017 | "datasource": "influxdb", |
| 6018 | "template": "docker/files/grafana_dashboards/docker_influxdb.json", |
| 6019 | "format": "json" |
| 6020 | } |
| 6021 | } |
| 6022 | }, |
| 6023 | "ssh_fingerprints": { |
| 6024 | "rsa": "76:1d:3d:51:56:9b:6c:2f:47:2a:e0:46:28:ce:f5:86", |
| 6025 | "ecdsa": "e6:d4:2f:25:fa:5b:dd:35:00:9e:5c:65:d5:91:ac:8c", |
| 6026 | "dsa": "53:2c:67:0f:03:57:ae:26:7d:65:de:bf:8c:41:1e:05" |
| 6027 | }, |
| 6028 | "gid": 0, |
| 6029 | "master": "10.10.0.15", |
| 6030 | "ipv4": [ |
| 6031 | "10.10.0.15", |
| 6032 | "10.11.0.15", |
| 6033 | "10.12.100.8", |
| 6034 | "10.13.0.15", |
| 6035 | "10.20.0.1", |
| 6036 | "127.0.0.1" |
| 6037 | ], |
| 6038 | "dns": { |
| 6039 | "domain": "", |
| 6040 | "sortlist": [], |
| 6041 | "nameservers": [ |
| 6042 | "172.18.176.6", |
| 6043 | "172.17.44.91" |
| 6044 | ], |
| 6045 | "ip4_nameservers": [ |
| 6046 | "172.18.176.6", |
| 6047 | "172.17.44.91" |
| 6048 | ], |
| 6049 | "search": [ |
| 6050 | "openstacklocal" |
| 6051 | ], |
| 6052 | "ip6_nameservers": [], |
| 6053 | "options": [] |
| 6054 | }, |
| 6055 | "ipv6": [ |
| 6056 | "::1", |
| 6057 | "fe80::42:beff:fe69:f35d", |
| 6058 | "fe80::38b7:15ff:fecc:9e2a", |
| 6059 | "fe80::40ac:75ff:fe71:f26f", |
| 6060 | "fe80::f816:3eff:fe39:9558", |
| 6061 | "fe80::f816:3eff:fe79:d748", |
| 6062 | "fe80::f816:3eff:fe8d:eff3", |
| 6063 | "fe80::f816:3eff:fea6:7cae" |
| 6064 | ], |
| 6065 | "server_id": 1095353950, |
| 6066 | "cpu_flags": [ |
| 6067 | "fpu", |
| 6068 | "vme", |
| 6069 | "de", |
| 6070 | "pse", |
| 6071 | "tsc", |
| 6072 | "msr", |
| 6073 | "pae", |
| 6074 | "mce", |
| 6075 | "cx8", |
| 6076 | "apic", |
| 6077 | "sep", |
| 6078 | "mtrr", |
| 6079 | "pge", |
| 6080 | "mca", |
| 6081 | "cmov", |
| 6082 | "pat", |
| 6083 | "pse36", |
| 6084 | "clflush", |
| 6085 | "mmx", |
| 6086 | "fxsr", |
| 6087 | "sse", |
| 6088 | "sse2", |
| 6089 | "ss", |
| 6090 | "syscall", |
| 6091 | "nx", |
| 6092 | "pdpe1gb", |
| 6093 | "rdtscp", |
| 6094 | "lm", |
| 6095 | "constant_tsc", |
| 6096 | "arch_perfmon", |
| 6097 | "rep_good", |
| 6098 | "nopl", |
| 6099 | "xtopology", |
| 6100 | "cpuid", |
| 6101 | "pni", |
| 6102 | "pclmulqdq", |
| 6103 | "vmx", |
| 6104 | "ssse3", |
| 6105 | "fma", |
| 6106 | "cx16", |
| 6107 | "pcid", |
| 6108 | "sse4_1", |
| 6109 | "sse4_2", |
| 6110 | "x2apic", |
| 6111 | "movbe", |
| 6112 | "popcnt", |
| 6113 | "tsc_deadline_timer", |
| 6114 | "aes", |
| 6115 | "xsave", |
| 6116 | "avx", |
| 6117 | "f16c", |
| 6118 | "rdrand", |
| 6119 | "hypervisor", |
| 6120 | "lahf_lm", |
| 6121 | "abm", |
| 6122 | "3dnowprefetch", |
| 6123 | "cpuid_fault", |
| 6124 | "invpcid_single", |
| 6125 | "pti", |
| 6126 | "ssbd", |
| 6127 | "ibrs", |
| 6128 | "ibpb", |
| 6129 | "tpr_shadow", |
| 6130 | "vnmi", |
| 6131 | "flexpriority", |
| 6132 | "ept", |
| 6133 | "vpid", |
| 6134 | "fsgsbase", |
| 6135 | "tsc_adjust", |
| 6136 | "bmi1", |
| 6137 | "hle", |
| 6138 | "avx2", |
| 6139 | "smep", |
| 6140 | "bmi2", |
| 6141 | "erms", |
| 6142 | "invpcid", |
| 6143 | "rtm", |
| 6144 | "rdseed", |
| 6145 | "adx", |
| 6146 | "smap", |
| 6147 | "xsaveopt", |
| 6148 | "arat" |
| 6149 | ], |
| 6150 | "osfullname": "Ubuntu", |
| 6151 | "localhost": "cfg01", |
| 6152 | "lsb_distrib_id": "Ubuntu", |
| 6153 | "username": "root", |
| 6154 | "fqdn_ip4": [ |
| 6155 | "10.11.0.15" |
| 6156 | ], |
| 6157 | "shell": "/bin/sh", |
| 6158 | "nodename": "cfg01", |
| 6159 | "saltversion": "2017.7.8", |
| 6160 | "lsb_distrib_release": "16.04", |
| 6161 | "saltpath": "/usr/lib/python2.7/dist-packages/salt", |
| 6162 | "pythonversion": [ |
| 6163 | 2, |
| 6164 | 7, |
| 6165 | 12, |
| 6166 | "final", |
| 6167 | 0 |
| 6168 | ], |
| 6169 | "host": "cfg01", |
| 6170 | "os_family": "Debian", |
| 6171 | "oscodename": "xenial", |
| 6172 | "services": [ |
| 6173 | "fluentd", |
| 6174 | "telegraf", |
| 6175 | "runtest", |
| 6176 | "glusterfs", |
| 6177 | "rsyslog", |
| 6178 | "linux", |
| 6179 | "glance", |
| 6180 | "git", |
| 6181 | "reclass", |
| 6182 | "nova", |
| 6183 | "grafana", |
| 6184 | "keystone", |
| 6185 | "jenkins", |
| 6186 | "openscap", |
| 6187 | "neutron", |
| 6188 | "ntp", |
| 6189 | "maas", |
| 6190 | "nginx", |
| 6191 | "prometheus", |
| 6192 | "postgresql", |
| 6193 | "openssh", |
| 6194 | "logrotate", |
| 6195 | "_reclass_", |
| 6196 | "docker", |
| 6197 | "salt" |
| 6198 | ], |
| 6199 | "osfinger": "Ubuntu-16.04", |
| 6200 | "biosreleasedate": "04/01/2014", |
| 6201 | "dns_records": [ |
| 6202 | { |
| 6203 | "names": [ |
| 6204 | "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 6205 | "cfg01" |
| 6206 | ], |
| 6207 | "address": "10.11.0.15" |
| 6208 | } |
| 6209 | ], |
| 6210 | "lsb_distrib_description": "Ubuntu 16.04.5 LTS", |
| 6211 | "sphinx": { |
| 6212 | "doc": { |
| 6213 | "reclass": { |
| 6214 | "role": { |
| 6215 | "storage": { |
| 6216 | "name": "storage", |
| 6217 | "param": { |
| 6218 | "version": { |
| 6219 | "value": "1.5.6" |
| 6220 | } |
| 6221 | } |
| 6222 | } |
| 6223 | }, |
| 6224 | "description": "reclass is an external node classifier (ENC) used with automation tools, such as Puppet, Salt, and Ansible.", |
| 6225 | "name": "Reclass" |
| 6226 | }, |
| 6227 | "maas": { |
| 6228 | "role": { |
| 6229 | "server": { |
| 6230 | "name": "server", |
| 6231 | "param": { |
| 6232 | "some_param": { |
| 6233 | "name": "Some name", |
| 6234 | "value": "some value" |
| 6235 | } |
| 6236 | } |
| 6237 | } |
| 6238 | }, |
| 6239 | "description": "Some service info", |
| 6240 | "name": "maas" |
| 6241 | }, |
| 6242 | "glusterfs": { |
| 6243 | "role": { |
| 6244 | "client": { |
| 6245 | "name": "client", |
| 6246 | "param": { |
| 6247 | "mounts": { |
| 6248 | "value": { |
| 6249 | "salt_pki": "/srv/salt/pki" |
| 6250 | } |
| 6251 | } |
| 6252 | } |
| 6253 | } |
| 6254 | }, |
| 6255 | "description": "An open source, distributed file system capable of scaling to several petabytes and handling thousands of clients.", |
| 6256 | "name": "GlusterFS" |
| 6257 | }, |
| 6258 | "linux": { |
| 6259 | "role": { |
| 6260 | "network": { |
| 6261 | "name": "Network", |
| 6262 | "param": { |
| 6263 | "ip": { |
| 6264 | "name": "IP Addresses", |
| 6265 | "value": [ |
| 6266 | "10.10.0.15", |
| 6267 | "10.11.0.15", |
| 6268 | "10.12.100.8", |
| 6269 | "10.13.0.15", |
| 6270 | "10.20.0.1", |
| 6271 | "127.0.0.1" |
| 6272 | ] |
| 6273 | }, |
| 6274 | "fqdn": { |
| 6275 | "name": "FQDN", |
| 6276 | "value": "cfg01.ozhurba-os-oc-cicd-sl.local" |
| 6277 | } |
| 6278 | } |
| 6279 | }, |
| 6280 | "system": { |
| 6281 | "name": "System", |
| 6282 | "param": { |
| 6283 | "kernel": { |
| 6284 | "value": "Linux 4.15.0-43-generic" |
| 6285 | }, |
| 6286 | "distribution": { |
| 6287 | "value": "Ubuntu 16.04.5 LTS" |
| 6288 | }, |
| 6289 | "name": { |
| 6290 | "value": "cfg01" |
| 6291 | } |
| 6292 | } |
| 6293 | } |
| 6294 | }, |
| 6295 | "description": "Linux is a high performance, yet completely free, Unix-like operating system that is suitable for use on a wide range of computers and other products.", |
| 6296 | "name": "Linux" |
| 6297 | }, |
| 6298 | "jenkins": { |
| 6299 | "role": { |
| 6300 | "client": { |
| 6301 | "name": "client", |
| 6302 | "param": { |
| 6303 | "master": { |
| 6304 | "value": "10.10.0.15:8081" |
| 6305 | }, |
| 6306 | "jobs": { |
| 6307 | "value": [ |
| 6308 | "cvp-func", |
| 6309 | "validate_openstack", |
| 6310 | "cvp-ha", |
| 6311 | "cvp-stacklight", |
| 6312 | "cvp-perf", |
| 6313 | "deploy_openstack", |
| 6314 | "cvp-spt", |
| 6315 | "cvp-sanity", |
| 6316 | "deploy-openstack-compute" |
| 6317 | ] |
| 6318 | } |
| 6319 | } |
| 6320 | }, |
| 6321 | "master": { |
| 6322 | "name": "master", |
| 6323 | "param": {} |
| 6324 | } |
| 6325 | }, |
| 6326 | "description": "Jenkins is an application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.", |
| 6327 | "name": "Jenkins" |
| 6328 | }, |
| 6329 | "docker": { |
| 6330 | "role": { |
| 6331 | "swarm": { |
| 6332 | "name": "swarm", |
| 6333 | "param": { |
| 6334 | "role": { |
| 6335 | "value": "master" |
| 6336 | }, |
| 6337 | "advertise_addr": { |
| 6338 | "value": "10.11.0.15" |
| 6339 | } |
| 6340 | } |
| 6341 | }, |
| 6342 | "host": { |
| 6343 | "name": "host", |
| 6344 | "param": { |
| 6345 | "version": { |
| 6346 | "value": "Docker version 18.09.0, build 4d60db4" |
| 6347 | } |
| 6348 | } |
| 6349 | }, |
| 6350 | "client": { |
| 6351 | "name": "client", |
| 6352 | "param": { |
| 6353 | "source": { |
| 6354 | "value": { |
| 6355 | "engine": "pkg" |
| 6356 | } |
| 6357 | }, |
| 6358 | "stacks": { |
| 6359 | "value": [ |
| 6360 | "jenkins-master (image docker-prod-local.docker.mirantis.net/mirantis/cicd/jenkins:2019.2.0)", |
| 6361 | "jenkins-slave01 (image docker-prod-local.docker.mirantis.net/mirantis/cicd/jnlp-slave:2019.2.0)", |
| 6362 | "postgresql-postgresql-db (image docker-prod-local.docker.mirantis.net/mirantis/external/library/postgres:9.6.10)" |
| 6363 | ] |
| 6364 | } |
| 6365 | } |
| 6366 | } |
| 6367 | }, |
| 6368 | "description": "Docker is an open source project to pack, ship and run any application as a lightweight container.", |
| 6369 | "name": "Docker" |
| 6370 | }, |
| 6371 | "salt": { |
| 6372 | "role": { |
| 6373 | "minion": { |
| 6374 | "name": "minion", |
| 6375 | "param": { |
| 6376 | "version": { |
| 6377 | "value": "2017.7.8 (Nitrogen)" |
| 6378 | } |
| 6379 | } |
| 6380 | }, |
| 6381 | "master": { |
| 6382 | "name": "master", |
| 6383 | "param": { |
| 6384 | "version": { |
| 6385 | "value": "2017.7.8 (Nitrogen)" |
| 6386 | } |
| 6387 | } |
| 6388 | } |
| 6389 | }, |
| 6390 | "description": "Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.", |
| 6391 | "name": "Salt" |
| 6392 | } |
| 6393 | } |
| 6394 | }, |
| 6395 | "num_gpus": 1, |
| 6396 | "roles": [ |
| 6397 | "fluentd.agent", |
| 6398 | "telegraf.agent", |
| 6399 | "runtest.artifact_collector", |
| 6400 | "runtest.tempest", |
| 6401 | "runtest.salttest", |
| 6402 | "glusterfs.client", |
| 6403 | "rsyslog.client", |
| 6404 | "linux.storage", |
| 6405 | "linux.system", |
| 6406 | "linux.network", |
| 6407 | "glance.client", |
| 6408 | "git.client", |
| 6409 | "reclass.storage", |
| 6410 | "nova.client", |
| 6411 | "grafana.collector", |
| 6412 | "keystone.client", |
| 6413 | "jenkins.client", |
| 6414 | "openscap.service", |
| 6415 | "neutron.client", |
| 6416 | "ntp.client", |
| 6417 | "maas.cluster", |
| 6418 | "maas.region", |
| 6419 | "nginx.server", |
| 6420 | "prometheus.collector", |
| 6421 | "postgresql.server", |
| 6422 | "openssh.server", |
| 6423 | "logrotate.server", |
| 6424 | "docker.host", |
| 6425 | "docker.client", |
| 6426 | "salt.minion", |
| 6427 | "salt.api", |
| 6428 | "salt.master" |
| 6429 | ], |
| 6430 | "virtual": "kvm", |
| 6431 | "os": "Ubuntu", |
| 6432 | "disks": [ |
| 6433 | "loop1", |
| 6434 | "loop6", |
| 6435 | "vdb", |
| 6436 | "loop4", |
| 6437 | "loop2", |
| 6438 | "loop0", |
| 6439 | "loop7", |
| 6440 | "loop5", |
| 6441 | "vda", |
| 6442 | "loop3" |
| 6443 | ], |
| 6444 | "cpu_model": "Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz", |
| 6445 | "osmajorrelease": 16, |
| 6446 | "pythonexecutable": "/usr/bin/python", |
| 6447 | "productname": "OpenStack Nova", |
| 6448 | "osarch": "amd64", |
| 6449 | "cpuarch": "x86_64", |
| 6450 | "lsb_distrib_codename": "xenial", |
| 6451 | "osrelease_info": [ |
| 6452 | 16, |
| 6453 | 4 |
| 6454 | ], |
| 6455 | "locale_info": { |
| 6456 | "detectedencoding": "UTF-8", |
| 6457 | "defaultlanguage": "en_US", |
| 6458 | "defaultencoding": "UTF-8" |
| 6459 | }, |
| 6460 | "gpus": [ |
| 6461 | { |
| 6462 | "model": "GD 5446", |
| 6463 | "vendor": "unknown" |
| 6464 | } |
| 6465 | ], |
| 6466 | "prometheus": { |
| 6467 | "server": { |
| 6468 | "recording": {}, |
| 6469 | "target": { |
| 6470 | "static": { |
| 6471 | "fluentd": { |
| 6472 | "relabel_configs": [ |
| 6473 | { |
| 6474 | "regex": "10.11.0.15:24231", |
| 6475 | "source_labels": "__address__", |
| 6476 | "target_label": "host", |
| 6477 | "replacement": "cfg01" |
| 6478 | } |
| 6479 | ], |
| 6480 | "honor_labels": true, |
| 6481 | "endpoint": [ |
| 6482 | { |
| 6483 | "port": 24231, |
| 6484 | "address": "10.11.0.15" |
| 6485 | } |
| 6486 | ] |
| 6487 | }, |
| 6488 | "telegraf": { |
| 6489 | "relabel_configs": [ |
| 6490 | { |
| 6491 | "regex": "10.11.0.15:9126", |
| 6492 | "source_labels": "__address__", |
| 6493 | "target_label": "host", |
| 6494 | "replacement": "cfg01" |
| 6495 | } |
| 6496 | ], |
| 6497 | "honor_labels": true, |
| 6498 | "endpoint": [ |
| 6499 | { |
| 6500 | "port": 9126, |
| 6501 | "address": "10.11.0.15" |
| 6502 | } |
| 6503 | ] |
| 6504 | }, |
| 6505 | "jenkins": { |
| 6506 | "relabel_configs": [ |
| 6507 | { |
| 6508 | "regex": "10.10.0.15:8081", |
| 6509 | "source_labels": "__address__", |
| 6510 | "target_label": "host", |
| 6511 | "replacement": "cfg01" |
| 6512 | } |
| 6513 | ], |
| 6514 | "endpoint": [ |
| 6515 | { |
| 6516 | "port": 8081, |
| 6517 | "address": "10.10.0.15" |
| 6518 | } |
| 6519 | ], |
| 6520 | "metrics_path": "/prometheus/" |
| 6521 | } |
| 6522 | } |
| 6523 | }, |
| 6524 | "alert": { |
| 6525 | "SystemCpuFullWarning": { |
| 6526 | "labels": { |
| 6527 | "severity": "warning", |
| 6528 | "service": "system" |
| 6529 | }, |
| 6530 | "annotations": { |
| 6531 | "description": "The average CPU usage on the {{ $labels.host }} node is {{ $value }}% for 2 minutes.", |
| 6532 | "summary": "90.0% CPU usage" |
| 6533 | }, |
| 6534 | "for": "2m", |
| 6535 | "if": "100 - avg_over_time(cpu_usage_idle{cpu=\"cpu-total\"}[5m]) > 90.0" |
| 6536 | }, |
| 6537 | "DockerServiceJenkinsMasterOutage": { |
| 6538 | "labels": { |
| 6539 | "severity": "critical", |
| 6540 | "service": "docker" |
| 6541 | }, |
| 6542 | "annotations": { |
| 6543 | "description": "All Docker Swarm 'jenkins_master' replicas are down for 2 minutes.", |
| 6544 | "summary": "Docker Swarm 'jenkins_master' service outage" |
| 6545 | }, |
| 6546 | "for": "2m", |
| 6547 | "if": "docker_swarm_tasks_running{service_name=\"jenkins_master\"} == 0 or absent(docker_swarm_tasks_running{service_name=\"jenkins_master\"}) == 1" |
| 6548 | }, |
| 6549 | "NetdevBudgetRanOutsWarning": { |
| 6550 | "labels": { |
| 6551 | "severity": "warning", |
| 6552 | "service": "system" |
| 6553 | }, |
| 6554 | "annotations": { |
| 6555 | "description": "The rate of net_rx_action loops terminations on the {{ $labels.host }} node is {{ $value }} per second during the last 7 minutes. Modify the net.core.netdev_budget and net.core.netdev_budget_usecs kernel parameters.", |
| 6556 | "summary": "CPU terminated 0.1 net_rx_action loops per second" |
| 6557 | }, |
| 6558 | "for": "7m", |
| 6559 | "if": "max(rate(nstat_time_squeeze[5m])) without (cpu) > 0.1" |
| 6560 | }, |
| 6561 | "PacketsDroppedByCpuWarning": { |
| 6562 | "labels": { |
| 6563 | "severity": "warning", |
| 6564 | "service": "system" |
| 6565 | }, |
| 6566 | "annotations": { |
| 6567 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 10 minutes.", |
| 6568 | "summary": "Increased number of CPU dropped packets" |
| 6569 | }, |
| 6570 | "if": "floor(increase(nstat_packet_drop[10m])) > 0" |
| 6571 | }, |
| 6572 | "SystemRxPacketsDroppedTooHigh": { |
| 6573 | "labels": { |
| 6574 | "severity": "warning", |
| 6575 | "service": "system" |
| 6576 | }, |
| 6577 | "annotations": { |
| 6578 | "description": "{{ $value }} packets received by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 6579 | "summary": "60 received packets were dropped" |
| 6580 | }, |
| 6581 | "if": "increase(net_drop_in[1m]) > 60 unless on (host,interface) bond_slave_active == 0" |
| 6582 | }, |
| 6583 | "DockerServiceJenkinsSlave01Outage": { |
| 6584 | "labels": { |
| 6585 | "severity": "critical", |
| 6586 | "service": "docker" |
| 6587 | }, |
| 6588 | "annotations": { |
| 6589 | "description": "All Docker Swarm 'jenkins_slave01' replicas are down for 2 minutes.", |
| 6590 | "summary": "Docker Swarm 'jenkins_slave01' service outage" |
| 6591 | }, |
| 6592 | "for": "2m", |
| 6593 | "if": "docker_swarm_tasks_running{service_name=\"jenkins_slave01\"} == 0 or absent(docker_swarm_tasks_running{service_name=\"jenkins_slave01\"}) == 1" |
| 6594 | }, |
| 6595 | "CertificateExpirationWarning": { |
| 6596 | "labels": { |
| 6597 | "severity": "warning", |
| 6598 | "service": "system" |
| 6599 | }, |
| 6600 | "annotations": { |
| 6601 | "description": "The {{ $labels.source }} certificate on the {{ $labels.host }} node expires in less than 60 days.", |
| 6602 | "summary": "The certificate expires in less than 60 days" |
| 6603 | }, |
| 6604 | "if": "x509_cert_expiry / (24 * 60 * 60) < 60" |
| 6605 | }, |
| 6606 | "DockerServiceOutage": { |
| 6607 | "labels": { |
| 6608 | "severity": "critical", |
| 6609 | "service": "docker" |
| 6610 | }, |
| 6611 | "annotations": { |
| 6612 | "description": "All dockerd processes within the {{ $labels.cluster }} cluster are down.", |
| 6613 | "summary": "Docker cluster outage" |
| 6614 | }, |
| 6615 | "if": "count(label_replace(procstat_running{process_name=\"dockerd\"}, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster) == count(label_replace(procstat_running{process_name=\"dockerd\"} == 0, \"cluster\", \"$1\", \"host\", \"([^0-9]+).+\")) by (cluster)" |
| 6616 | }, |
| 6617 | "SystemDiskErrorsTooHigh": { |
| 6618 | "labels": { |
| 6619 | "severity": "warning", |
| 6620 | "service": "system" |
| 6621 | }, |
| 6622 | "annotations": { |
| 6623 | "description": "The {{ $labels.device }} disk on the {{ $labels.host }} node is reporting errors for 5 minutes.", |
| 6624 | "summary": "Disk {{ $labels.device }} is failing" |
| 6625 | }, |
| 6626 | "for": "5m", |
| 6627 | "if": "increase(hdd_errors_total[1m]) > 0" |
| 6628 | }, |
| 6629 | "SystemLoadTooHighWarning": { |
| 6630 | "labels": { |
| 6631 | "severity": "warning", |
| 6632 | "service": "system" |
| 6633 | }, |
| 6634 | "annotations": { |
| 6635 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 6636 | "summary": "System load is1.0" |
| 6637 | }, |
| 6638 | "for": "5m", |
| 6639 | "if": "system_load5 / system_n_cpus > 1.0" |
| 6640 | }, |
| 6641 | "SaltMinionServiceDown": { |
| 6642 | "labels": { |
| 6643 | "severity": "critical", |
| 6644 | "service": "salt" |
| 6645 | }, |
| 6646 | "annotations": { |
| 6647 | "description": "The salt-minion service on the {{ $labels.host }} node is down.", |
| 6648 | "summary": "Salt-minion service is down" |
| 6649 | }, |
| 6650 | "if": "procstat_running{process_name=\"salt-minion\"} == 0" |
| 6651 | }, |
| 6652 | "SystemLoadTooHighCritical": { |
| 6653 | "labels": { |
| 6654 | "severity": "warning", |
| 6655 | "service": "system" |
| 6656 | }, |
| 6657 | "annotations": { |
| 6658 | "description": "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes.", |
| 6659 | "summary": "System load is2.0" |
| 6660 | }, |
| 6661 | "for": "5m", |
| 6662 | "if": "system_load5 / system_n_cpus > 2.0" |
| 6663 | }, |
| 6664 | "SystemDiskInodesFullWarning": { |
| 6665 | "labels": { |
| 6666 | "severity": "warning", |
| 6667 | "service": "system" |
| 6668 | }, |
| 6669 | "annotations": { |
| 6670 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 6671 | "summary": "85.0% of inodes for {{ $labels.path }} are used" |
| 6672 | }, |
| 6673 | "for": "2m", |
| 6674 | "if": "100 * disk_inodes_used / disk_inodes_total >= 85.0" |
| 6675 | }, |
| 6676 | "NtpOffsetTooHigh": { |
| 6677 | "labels": { |
| 6678 | "severity": "warning", |
| 6679 | "service": "ntp" |
| 6680 | }, |
| 6681 | "annotations": { |
| 6682 | "description": "The NTP offset on the {{ $labels.host }} node is {{ $value }}ms for 2 minutes.", |
| 6683 | "summary": "NTP offset reached the limit of 200ms" |
| 6684 | }, |
| 6685 | "for": "2m", |
| 6686 | "if": "ntpq_offset >= 200" |
| 6687 | }, |
| 6688 | "PacketsDroppedByCpuMinor": { |
| 6689 | "labels": { |
| 6690 | "severity": "minor", |
| 6691 | "service": "system" |
| 6692 | }, |
| 6693 | "annotations": { |
| 6694 | "description": "The {{ $labels.cpu }} CPU on the {{ $labels.host }} node dropped {{ $value }} packets during the last 10 minutes.", |
| 6695 | "summary": "CPU dropped more than 100 packets" |
| 6696 | }, |
| 6697 | "if": "floor(increase(nstat_packet_drop[10m])) > 100" |
| 6698 | }, |
| 6699 | "CronProcessDown": { |
| 6700 | "labels": { |
| 6701 | "severity": "critical", |
| 6702 | "service": "system" |
| 6703 | }, |
| 6704 | "annotations": { |
| 6705 | "description": "The cron process on the {{ $labels.host }} node is down.", |
| 6706 | "summary": "Cron process is down" |
| 6707 | }, |
| 6708 | "if": "procstat_running{process_name=\"cron\"} == 0" |
| 6709 | }, |
| 6710 | "SshdProcessDown": { |
| 6711 | "labels": { |
| 6712 | "severity": "critical", |
| 6713 | "service": "system" |
| 6714 | }, |
| 6715 | "annotations": { |
| 6716 | "description": "The SSH process on the {{ $labels.host }} node is down.", |
| 6717 | "summary": "SSH process is down" |
| 6718 | }, |
| 6719 | "if": "procstat_running{process_name=\"sshd\"} == 0" |
| 6720 | }, |
| 6721 | "SystemDiskFullWarning": { |
| 6722 | "labels": { |
| 6723 | "severity": "warning", |
| 6724 | "service": "system" |
| 6725 | }, |
| 6726 | "annotations": { |
| 6727 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 6728 | "summary": "Disk partition {{ $labels.path }} is 85.0% full" |
| 6729 | }, |
| 6730 | "for": "2m", |
| 6731 | "if": "disk_used_percent >= 85.0" |
| 6732 | }, |
| 6733 | "SshFailedLoginsTooHigh": { |
| 6734 | "labels": { |
| 6735 | "severity": "warning", |
| 6736 | "service": "system" |
| 6737 | }, |
| 6738 | "annotations": { |
| 6739 | "description": "{{ $value }} failed SSH login attempts on the {{ $labels.host }} node during the last 5 minutes.", |
| 6740 | "summary": "5 failed SSH logins" |
| 6741 | }, |
| 6742 | "if": "increase(failed_logins_total[5m]) > 5" |
| 6743 | }, |
| 6744 | "DockerdProcessDown": { |
| 6745 | "labels": { |
| 6746 | "severity": "minor", |
| 6747 | "service": "docker" |
| 6748 | }, |
| 6749 | "annotations": { |
| 6750 | "description": "The dockerd process on the {{ $labels.host }} node is down.", |
| 6751 | "summary": "Dockerd process is down" |
| 6752 | }, |
| 6753 | "if": "procstat_running{process_name=\"dockerd\"} == 0" |
| 6754 | }, |
| 6755 | "SystemDiskInodesFullMajor": { |
| 6756 | "labels": { |
| 6757 | "severity": "major", |
| 6758 | "service": "system" |
| 6759 | }, |
| 6760 | "annotations": { |
| 6761 | "description": "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes.", |
| 6762 | "summary": "95.0% of inodes for {{ $labels.path }} are used" |
| 6763 | }, |
| 6764 | "for": "2m", |
| 6765 | "if": "100 * disk_inodes_used / disk_inodes_total >= 95.0" |
| 6766 | }, |
| 6767 | "SystemMemoryFullWarning": { |
| 6768 | "labels": { |
| 6769 | "severity": "warning", |
| 6770 | "service": "system" |
| 6771 | }, |
| 6772 | "annotations": { |
| 6773 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 6774 | "summary": "90.0% of memory is used" |
| 6775 | }, |
| 6776 | "for": "2m", |
| 6777 | "if": "mem_used_percent >= 90.0" |
| 6778 | }, |
| 6779 | "SystemTxPacketsDroppedTooHigh": { |
| 6780 | "labels": { |
| 6781 | "severity": "warning", |
| 6782 | "service": "system" |
| 6783 | }, |
| 6784 | "annotations": { |
| 6785 | "description": "{{ $value }} packets transmitted by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute.", |
| 6786 | "summary": "100 transmitted packets were dropped" |
| 6787 | }, |
| 6788 | "if": "increase(net_drop_out[1m]) > 100" |
| 6789 | }, |
| 6790 | "SystemDiskFullMajor": { |
| 6791 | "labels": { |
| 6792 | "severity": "major", |
| 6793 | "service": "system" |
| 6794 | }, |
| 6795 | "annotations": { |
| 6796 | "description": "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes.", |
| 6797 | "summary": "Disk partition {{ $labels.path }} is 95.0% full" |
| 6798 | }, |
| 6799 | "for": "2m", |
| 6800 | "if": "disk_used_percent >= 95.0" |
| 6801 | }, |
| 6802 | "DockerServicePostgresqlPostgresqldbOutage": { |
| 6803 | "labels": { |
| 6804 | "severity": "critical", |
| 6805 | "service": "docker" |
| 6806 | }, |
| 6807 | "annotations": { |
| 6808 | "description": "All Docker Swarm 'postgresql_postgresql-db' replicas are down for 2 minutes.", |
| 6809 | "summary": "Docker Swarm 'postgresql_postgresql-db' service outage" |
| 6810 | }, |
| 6811 | "for": "2m", |
| 6812 | "if": "docker_swarm_tasks_running{service_name=\"postgresql_postgresql-db\"} == 0 or absent(docker_swarm_tasks_running{service_name=\"postgresql_postgresql-db\"}) == 1" |
| 6813 | }, |
| 6814 | "SaltMasterServiceDown": { |
| 6815 | "labels": { |
| 6816 | "severity": "critical", |
| 6817 | "service": "salt" |
| 6818 | }, |
| 6819 | "annotations": { |
| 6820 | "description": "The salt-master service on the {{ $labels.host }} node is down.", |
| 6821 | "summary": "Salt-master service is down" |
| 6822 | }, |
| 6823 | "if": "procstat_running{process_name=\"salt-master\"} == 0" |
| 6824 | }, |
| 6825 | "CertificateExpirationCritical": { |
| 6826 | "labels": { |
| 6827 | "severity": "critical", |
| 6828 | "service": "system" |
| 6829 | }, |
| 6830 | "annotations": { |
| 6831 | "description": "The {{ $labels.source }} certificate on the {{ $labels.host }} node expires in less than 30 days.", |
| 6832 | "summary": "The certificate expires in less than 30 days" |
| 6833 | }, |
| 6834 | "if": "x509_cert_expiry / (24 * 60 * 60) < 30" |
| 6835 | }, |
| 6836 | "SystemMemoryFullMajor": { |
| 6837 | "labels": { |
| 6838 | "severity": "major", |
| 6839 | "service": "system" |
| 6840 | }, |
| 6841 | "annotations": { |
| 6842 | "description": "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes.", |
| 6843 | "summary": "95.0% of memory is used" |
| 6844 | }, |
| 6845 | "for": "2m", |
| 6846 | "if": "mem_used_percent >= 95.0" |
| 6847 | } |
| 6848 | } |
| 6849 | } |
| 6850 | }, |
| 6851 | "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", |
| 6852 | "machine_id": "e1d7cc5551ee409b895ce38bb098ed07", |
| 6853 | "salt": { |
| 6854 | "graph": [ |
| 6855 | { |
| 6856 | "host": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 6857 | "type": "software-system", |
| 6858 | "service": "linux.system", |
| 6859 | "relations": [ |
| 6860 | { |
| 6861 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 6862 | "direction": "source", |
| 6863 | "type": "tcp-http", |
| 6864 | "service": "apt.repo" |
| 6865 | }, |
| 6866 | { |
| 6867 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//td-agent//xenial xenial contrib", |
| 6868 | "direction": "source", |
| 6869 | "type": "tcp-http", |
| 6870 | "service": "apt.repo" |
| 6871 | }, |
| 6872 | { |
| 6873 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//openstack-queens//xenial xenial main", |
| 6874 | "direction": "source", |
| 6875 | "type": "tcp-http", |
| 6876 | "service": "apt.repo" |
| 6877 | }, |
| 6878 | { |
| 6879 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//salt-formulas//xenial xenial main", |
| 6880 | "direction": "source", |
| 6881 | "type": "tcp-http", |
| 6882 | "service": "apt.repo" |
| 6883 | }, |
| 6884 | { |
| 6885 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//td-agent//xenial xenial contrib", |
| 6886 | "direction": "source", |
| 6887 | "type": "tcp-http", |
| 6888 | "service": "apt.repo" |
| 6889 | }, |
| 6890 | { |
| 6891 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//percona//xenial/ xenial main", |
| 6892 | "direction": "source", |
| 6893 | "type": "tcp-http", |
| 6894 | "service": "apt.repo" |
| 6895 | }, |
| 6896 | { |
| 6897 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//saltstack-2017.7//xenial/ xenial main", |
| 6898 | "direction": "source", |
| 6899 | "type": "tcp-http", |
| 6900 | "service": "apt.repo" |
| 6901 | }, |
| 6902 | { |
| 6903 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//maas//xenial xenial main", |
| 6904 | "direction": "source", |
| 6905 | "type": "tcp-http", |
| 6906 | "service": "apt.repo" |
| 6907 | }, |
| 6908 | { |
| 6909 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//percona//xenial/ xenial main", |
| 6910 | "direction": "source", |
| 6911 | "type": "tcp-http", |
| 6912 | "service": "apt.repo" |
| 6913 | }, |
| 6914 | { |
| 6915 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//glusterfs-3.8//xenial/ xenial main", |
| 6916 | "direction": "source", |
| 6917 | "type": "tcp-http", |
| 6918 | "service": "apt.repo" |
| 6919 | }, |
| 6920 | { |
| 6921 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//docker//xenial/ xenial stable", |
| 6922 | "direction": "source", |
| 6923 | "type": "tcp-http", |
| 6924 | "service": "apt.repo" |
| 6925 | }, |
| 6926 | { |
| 6927 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//docker//xenial/ xenial stable", |
| 6928 | "direction": "source", |
| 6929 | "type": "tcp-http", |
| 6930 | "service": "apt.repo" |
| 6931 | }, |
| 6932 | { |
| 6933 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 6934 | "direction": "source", |
| 6935 | "type": "tcp-http", |
| 6936 | "service": "apt.repo" |
| 6937 | }, |
| 6938 | { |
| 6939 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//extra//xenial xenial main", |
| 6940 | "direction": "source", |
| 6941 | "type": "tcp-http", |
| 6942 | "service": "apt.repo" |
| 6943 | }, |
| 6944 | { |
| 6945 | "host_external": "deb http://mirror.mirantis.com/2019.2.0//extra//xenial xenial main", |
| 6946 | "direction": "source", |
| 6947 | "type": "tcp-http", |
| 6948 | "service": "apt.repo" |
| 6949 | }, |
| 6950 | { |
| 6951 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial main restricted universe", |
| 6952 | "direction": "source", |
| 6953 | "type": "tcp-http", |
| 6954 | "service": "apt.repo" |
| 6955 | }, |
| 6956 | { |
| 6957 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-updates main restricted universe", |
| 6958 | "direction": "source", |
| 6959 | "type": "tcp-http", |
| 6960 | "service": "apt.repo" |
| 6961 | }, |
| 6962 | { |
| 6963 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/2019.2.0//ubuntu/ xenial-security main restricted universe", |
| 6964 | "direction": "source", |
| 6965 | "type": "tcp-http", |
| 6966 | "service": "apt.repo" |
| 6967 | }, |
| 6968 | { |
| 6969 | "host_external": "deb [arch=amd64] http://mirror.mirantis.com/update/2019.2.0//salt-formulas//xenial xenial main", |
| 6970 | "direction": "source", |
| 6971 | "type": "tcp-http", |
| 6972 | "service": "apt.repo" |
| 6973 | }, |
| 6974 | { |
| 6975 | "host_external": "deb http://mirror.mirantis.com/update/2019.2.0//openstack-queens//xenial xenial main", |
| 6976 | "direction": "source", |
| 6977 | "type": "tcp-http", |
| 6978 | "service": "apt.repo" |
| 6979 | } |
| 6980 | ] |
| 6981 | }, |
| 6982 | { |
| 6983 | "host": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 6984 | "type": "software-config", |
| 6985 | "service": "reclass.storage", |
| 6986 | "relations": null |
| 6987 | }, |
| 6988 | { |
| 6989 | "host": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 6990 | "type": "software-system", |
| 6991 | "service": "ntp.client", |
| 6992 | "relations": [ |
| 6993 | { |
| 6994 | "host_external": "udp://ntp.cesnet.cz", |
| 6995 | "direction": "source", |
| 6996 | "type": "udp", |
| 6997 | "service": "other-service" |
| 6998 | }, |
| 6999 | { |
| 7000 | "host_external": "udp://pool.ntp.org", |
| 7001 | "direction": "source", |
| 7002 | "type": "udp", |
| 7003 | "service": "other-service" |
| 7004 | } |
| 7005 | ] |
| 7006 | }, |
| 7007 | { |
| 7008 | "host": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 7009 | "type": "software-config", |
| 7010 | "service": "salt.minion", |
| 7011 | "relations": [ |
| 7012 | { |
| 7013 | "direction": "source", |
| 7014 | "type": "tcp-0mq", |
| 7015 | "service": "salt.master", |
| 7016 | "host_from_target": "10.10.0.15" |
| 7017 | } |
| 7018 | ] |
| 7019 | }, |
| 7020 | { |
| 7021 | "host": "cfg01.ozhurba-os-oc-cicd-sl.local", |
| 7022 | "type": "software-config", |
| 7023 | "service": "salt.master", |
| 7024 | "relations": null |
| 7025 | } |
| 7026 | ] |
| 7027 | }, |
| 7028 | "backupninja": { |
| 7029 | "client": { |
| 7030 | "addresses": [ |
| 7031 | "10.11.0.15" |
| 7032 | ] |
| 7033 | }, |
| 7034 | "backup": { |
| 7035 | "jenkins": { |
| 7036 | "fs_includes": [ |
| 7037 | "/var/lib/jenkins" |
| 7038 | ], |
| 7039 | "fs_excludes": [] |
| 7040 | }, |
| 7041 | "salt": { |
| 7042 | "fs_includes": [ |
| 7043 | "/srv/salt/reclass", |
| 7044 | "/etc/salt/pki", |
| 7045 | "/etc/pki/ca" |
| 7046 | ], |
| 7047 | "fs_excludes": [] |
| 7048 | }, |
| 7049 | "maas": { |
| 7050 | "fs_includes": [ |
| 7051 | "/etc/maas", |
| 7052 | "/var/lib/maas", |
| 7053 | "/var/backups/postgresql" |
| 7054 | ], |
| 7055 | "fs_excludes": [ |
| 7056 | "/var/lib/maas/boot-resources" |
| 7057 | ] |
| 7058 | } |
| 7059 | } |
| 7060 | } |
| 7061 | } |
| 7062 | } |
| 7063 | ] |
| 7064 | } |