Bug 48508

Summary: Allow multiple syslog remotes in UCR
Product: UCS Reporter: Valentin Heidelberger <heidelberger>
Component: UCRAssignee: Arvid Requate <requate>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best, oliver.bohlen, requate, stoeckigt
Version: UCS 4.3Flags: heidelberger: Patch_Available+
Target Milestone: UCS 4.4-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=48522
What kind of report is it?: Bug Report What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Yes Flags outvoted (downgraded) after PO Review:
Ticket number: 2018112921000568 Bug group (optional):
Max CVSS v3 score:
Attachments: Patch for rsyslog.conf template to allow multiple syslog remotes
Updated UCR description for syslog/remote
Patch for rsyslog.conf template to allow multiple syslog remotes

Description Valentin Heidelberger univentionstaff 2019-01-22 15:19:36 CET
Created attachment 9812 [details]
Patch for rsyslog.conf template to allow multiple syslog remotes

It's currently not possible to configure multiple servers via UCR in syslog/remote. A customer wants their rsyslog to send logs to multiple remotes. We should allow them to configure this via UCR. Attached is a simple patch with a for loop iterating over the split content of syslog/remote
Comment 1 Valentin Heidelberger univentionstaff 2019-01-22 15:25:14 CET
Created attachment 9813 [details]
Updated UCR description for syslog/remote
Comment 2 Valentin Heidelberger univentionstaff 2019-03-12 16:19:04 CET
Created attachment 9920 [details]
Patch for rsyslog.conf template to allow multiple syslog remotes
Comment 3 Valentin Heidelberger univentionstaff 2019-03-13 12:19:48 CET
The customer reiterated that they need this to make UCS work with their logging infrastructure
Comment 4 Arvid Requate univentionstaff 2019-03-13 20:37:17 CET
e667858b0c | UCS 4.4: allow multiple syslog remotes
bb31bbfb1a | UCS 4.4: Advisory
Comment 5 Florian Best univentionstaff 2019-03-21 14:28:02 CET
There is a YAML already, so I set the Target Milestone.
Comment 6 Arvid Requate univentionstaff 2019-04-02 12:06:33 CEST
Fixed:

e667858b0c | Patch commit
bb31bbfb1a | Advisory
93b784c042 | Improve patch to apply fallback to all servers
3a336c757e | Advisory version
5b466fcf53 | Advisory - fix Bug order
Comment 7 Florian Best univentionstaff 2019-04-05 12:13:37 CEST
OK: multiple remotes and fallback servers can be specified.
~OK: YAML (i adjusted the wording)
Comment 8 Erik Damrose univentionstaff 2019-04-10 14:19:07 CEST
<http://errata.software-univention.de/ucs/4.4/44.html>