-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi, possibly related to #16. Setting rsyslog role with network capability doesn't bind to a port:
Steps to reproduce, using examples/vagrant-multi-machine:
- Add the following to ansible/inventory/groups
[debops_all_hosts]
web
db
[debops_service_rsyslog]
web
- Add the following to ansible/inventory/host_vars/web.yml
# Enable network input channels and storage of remote logs in filesystem
rsyslog__capabilities: [ 'network', 'remote-files' ]
# Specify which subnets can send remote logs through the firewall
# allowing all for this test
rsyslog__host_allow: [ '0.0.0.0/0' ]
# Mask log forwarding configuration defined elsewhere
rsyslog__forward: []
rsyslog__group_forward: []
rsyslog__host_forward: []
- Add the following to ansible/inventory/group_vars/all.yml
rsyslog__forward: [ '*.* @web.{{ ansible_domain }}' ]
- vagrant up
- debops
- vagrant ssh web
- netstat -ltupn # note that rsyslog is not listening
- ls /var/log/remote/hosts # note there is only a 'web', but no 'db'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels