blob: 0861260b9b89158ea29282927ff76200c819e788 [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
7- system.linux.system.repo_local.mcp.apt_mirantis.saltstack_2016_3
8- system.linux.system.repo_local.mcp.apt_mirantis.ubuntu
9- 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
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
22parameters:
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
28 local_repo_url: mirror.mcp.mirantis.local.test
29 linux_repo_refresh_db: true
30 aptly_server_address: 10.170.0.226
31 # infra service addresses
32 infra_config_address: 172.16.10.100
33 # openstack service addresses
34 openstack_proxy_address: 172.16.10.121
35 openstack_proxy_node01_address: 172.16.10.121
36 openstack_control_address: 172.16.10.254
37 openstack_control_node01_address: 172.16.10.101
38 openstack_control_node02_address: 172.16.10.102
39 openstack_control_node03_address: 172.16.10.103
40 openstack_gateway_address: 172.16.10.110
41 openstack_database_address: ${_param:openstack_control_address}
42 openstack_message_queue_address: ${_param:openstack_control_address}
43 openstack_message_queue_node01_address: ${_param:openstack_control_node01_address}
44 openstack_message_queue_node02_address: ${_param:openstack_control_node02_address}
45 openstack_message_queue_node03_address: ${_param:openstack_control_node03_address}
46 # stacklight service addresses
47 stacklight_monitor_address: 172.16.10.253
48 stacklight_monitor_node01_address: 172.16.10.107
49 stacklight_monitor_node02_address: 172.16.10.108
50 stacklight_monitor_node03_address: 172.16.10.109
51 stacklight_telemetry_node01_address: ${_param:stacklight_monitor_node01_address}
52 stacklight_log_address: ${_param:stacklight_monitor_address}
53 openstack_gateway_address: 172.16.10.110
54 openstack_gateway_node01_address: ${_param:openstack_gateway_address}
55 stacklight_telemetry_address: ${_param:stacklight_monitor_address}
Oleksii Chupryn71e87862018-03-16 09:57:49 +020056 remote_rsyslog_host: 127.0.0.3
57 remote_rsyslog_port: 10514
58 rsyslog:
59 client:
60 run_user: syslog
61 run_group: adm
62 enabled: true
63 rainerscript:
64 module:
65 imfile: {}
66 input:
67 imfile:
68 nginx:
69 File: "/var/log/nginx/*.log"
70 Tag: "nginx__"
71 Severity: "notice"
72 Facility: "local0"
73 PersistStateInterval: "0"
74 Ruleset: "myapp_logs"
75 apache2:
76 File: "/var/log/apache2/*.log"
77 Tag: "apache2__"
78 Severity: "notice"
79 Facility: "local0"
80 Ruleset: "myapp_logs"
81 PersistStateInterval: "0"
82 rabbitmq:
83 File: "/var/log/rabbitmq/*.log"
84 Tag: "rabbitmq__"
85 Severity: "notice"
86 Facility: "local0"
87 PersistStateInterval: "0"
88 Ruleset: "myapp_logs"
89 template:
90 ImfileFilePath:
91 parameter:
92 type: string
93 string: "<%PRI%>%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag:1:32%%$.suffix%%msg:::sp-if-no-1st-sp%%msg%\n"
94 ruleset:
95 remote_logs:
96 description: 'action(type="omfwd" Target="${_param:remote_rsyslog_host}" Port="${_param:remote_rsyslog_port}" Protocol="udp" Template="ImfileFilePath")'
97 myapp_logs:
98 description: 'set $.suffix=re_extract($!metadata!filename, "(.*)/([^/]*[^/.log])", 0, 2, "all.log"); call remote_logs'
99 output:
100 remote:
101 somehost.domain:
102 action: "@${_param:remote_rsyslog_host}:${_param:remote_rsyslog_port}"
103 filter: "*.*"
104 enabled: true