Skip to content

Problem using network capability #16

@Musashisan

Description

@Musashisan

Hi !

Im trying to configure a centralized rsyslog server.
After i enable the 'network' capability, the rsyslog throws an error:
rsyslogd-2209: input module name 'imudp' is unknown [v8.16.0 try http://www.rsyslog.com/e/2209 ]

It seems the role is generating the input file, but the network module file is empty.
After checking the code, some conditions does not match in defaults/main.yml file:
- comment: 'Enable UDP support' options: |- module(load="imudp") state: '{{ "present" if (rsyslog__send_over_tls_only) else "absent" }}'
...
- comment: 'Log messages from remote hosts over UDP' options: |- input( type="imudp" port="{{ rsyslog__udp_port }}" ruleset="remote" ) state: '{{ "present" if (not rsyslog__send_over_tls_only) else "absent" }}'

If rsyslog__send_over_tls_only is not enabled, the input is defined and the module is not loaded. If you use tls_only, the module is loaded but the input is not defined.

¿ is this some kind of restriction to force use of tls ? ¿ is there some configuration option to aviod it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions