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