Skip to content

Commit e6974ba

Browse files
committed
Fix qdrouter naming, add unixsock
1 parent c2b8fa1 commit e6974ba

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

roles/collectd/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
src: amqp1.conf.j2
1818
dest: "{{collectd_conf_dir}}/amqp1.conf"
1919

20+
- name: place unixsock config
21+
template:
22+
src: unixsock.conf.j2
23+
dest: "{{collectd_conf_dir}}/unixsock.conf"
24+
2025
- name: set collectd_tcp_network_connect
2126
seboolean:
2227
name: collectd_tcp_network_connect
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
LoadPlugin unixsock
2+
3+
<Plugin unixsock>
4+
SocketFile "/var/run/collectd-unixsock"
5+
SocketGroup "collectd"
6+
SocketPerms "0660"
7+
DeleteSocket false
8+
</Plugin>
9+

roles/qdr/templates/qdrouterd.conf.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
router {
2424
mode: interior
25-
id: router-ansible
25+
id: router-{{ansible_hostname}}
2626
}
2727

2828
listener {
@@ -38,7 +38,6 @@ listener {
3838
role: inter-router
3939
authenticatePeer: no
4040
saslMechanisms: ANONYMOUS
41-
failoverList: green-qdr-sa-telemetry.apps.openshift.berg.ol
4241
}
4342

4443
connector {

0 commit comments

Comments
 (0)