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