Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.network.dynamic_hosts |
| 3 | - service.grafana.collector |
| 4 | - system.heka.log_collector.single |
| 5 | - system.heka.log_collector.output.telegraf |
| 6 | - system.linux.system.repo_local.mcp.extra |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 7 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
| 8 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 9 | - system.linux.system.single |
Tatyana Leontovich | 67abbf8 | 2018-03-23 19:11:02 +0200 | [diff] [blame] | 10 | - system.linux.system.single.debian |
Tatyana Leontovich | 59ce1c3 | 2018-03-29 23:59:25 +0300 | [diff] [blame] | 11 | - system.watchdog.server |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 12 | - system.rsyslog.client.single |
| 13 | - system.prometheus.collector |
| 14 | - system.telegraf.agent |
| 15 | - system.openssh.server.team.lab |
| 16 | - system.openssh.server.team.tcpcloud |
| 17 | - system.openssh.server.team.mcp_qa |
| 18 | - cluster.virtual-offline-pike-ovs-dpdk.infra |
| 19 | - cluster.virtual-offline-pike-ovs-dpdk.openstack |
| 20 | - cluster.virtual-offline-pike-ovs-dpdk.stacklight |
| 21 | |
| 22 | parameters: |
| 23 | _param: |
| 24 | cluster_domain: virtual-offline-pike-ovs-dpdk.local |
| 25 | cluster_name: virtual-offline-pike-ovs-dpdk |
| 26 | infra_config_hostname: cfg01 |
| 27 | local_repos: true |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 28 | # new in 2018.7+ |
| 29 | linux_system_repo_url: http://${_param:local_repo_url}/${_param:apt_mk_version}/ |
| 30 | # |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 31 | local_repo_url: mirror.mcp.mirantis.local.test |
| 32 | linux_repo_refresh_db: true |
| 33 | aptly_server_address: 10.170.0.226 |
| 34 | # infra service addresses |
| 35 | infra_config_address: 172.16.10.100 |
| 36 | # openstack service addresses |
| 37 | openstack_proxy_address: 172.16.10.121 |
| 38 | openstack_proxy_node01_address: 172.16.10.121 |
| 39 | openstack_control_address: 172.16.10.254 |
| 40 | openstack_control_node01_address: 172.16.10.101 |
| 41 | openstack_control_node02_address: 172.16.10.102 |
| 42 | openstack_control_node03_address: 172.16.10.103 |
| 43 | openstack_gateway_address: 172.16.10.110 |
| 44 | openstack_database_address: ${_param:openstack_control_address} |
| 45 | openstack_message_queue_address: ${_param:openstack_control_address} |
| 46 | openstack_message_queue_node01_address: ${_param:openstack_control_node01_address} |
| 47 | openstack_message_queue_node02_address: ${_param:openstack_control_node02_address} |
| 48 | openstack_message_queue_node03_address: ${_param:openstack_control_node03_address} |
| 49 | # stacklight service addresses |
| 50 | stacklight_monitor_address: 172.16.10.253 |
| 51 | stacklight_monitor_node01_address: 172.16.10.107 |
| 52 | stacklight_monitor_node02_address: 172.16.10.108 |
| 53 | stacklight_monitor_node03_address: 172.16.10.109 |
| 54 | stacklight_telemetry_node01_address: ${_param:stacklight_monitor_node01_address} |
| 55 | stacklight_log_address: ${_param:stacklight_monitor_address} |
| 56 | openstack_gateway_address: 172.16.10.110 |
| 57 | openstack_gateway_node01_address: ${_param:openstack_gateway_address} |
| 58 | stacklight_telemetry_address: ${_param:stacklight_monitor_address} |
Oleksii Chupryn | 71e8786 | 2018-03-16 09:57:49 +0200 | [diff] [blame] | 59 | remote_rsyslog_host: 127.0.0.3 |
| 60 | remote_rsyslog_port: 10514 |
| 61 | rsyslog: |
| 62 | client: |
| 63 | run_user: syslog |
| 64 | run_group: adm |
| 65 | enabled: true |
| 66 | rainerscript: |
| 67 | module: |
| 68 | imfile: {} |
| 69 | input: |
| 70 | imfile: |
| 71 | nginx: |
| 72 | File: "/var/log/nginx/*.log" |
| 73 | Tag: "nginx__" |
| 74 | Severity: "notice" |
| 75 | Facility: "local0" |
| 76 | PersistStateInterval: "0" |
| 77 | Ruleset: "myapp_logs" |
| 78 | apache2: |
| 79 | File: "/var/log/apache2/*.log" |
| 80 | Tag: "apache2__" |
| 81 | Severity: "notice" |
| 82 | Facility: "local0" |
| 83 | Ruleset: "myapp_logs" |
| 84 | PersistStateInterval: "0" |
| 85 | rabbitmq: |
| 86 | File: "/var/log/rabbitmq/*.log" |
| 87 | Tag: "rabbitmq__" |
| 88 | Severity: "notice" |
| 89 | Facility: "local0" |
| 90 | PersistStateInterval: "0" |
| 91 | Ruleset: "myapp_logs" |
| 92 | template: |
| 93 | ImfileFilePath: |
| 94 | parameter: |
| 95 | type: string |
| 96 | string: "<%PRI%>%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag:1:32%%$.suffix%%msg:::sp-if-no-1st-sp%%msg%\n" |
| 97 | ruleset: |
| 98 | remote_logs: |
| 99 | description: 'action(type="omfwd" Target="${_param:remote_rsyslog_host}" Port="${_param:remote_rsyslog_port}" Protocol="udp" Template="ImfileFilePath")' |
| 100 | myapp_logs: |
| 101 | description: 'set $.suffix=re_extract($!metadata!filename, "(.*)/([^/]*[^/.log])", 0, 2, "all.log"); call remote_logs' |
| 102 | output: |
| 103 | remote: |
| 104 | somehost.domain: |
| 105 | action: "@${_param:remote_rsyslog_host}:${_param:remote_rsyslog_port}" |
| 106 | filter: "*.*" |
| 107 | enabled: true |