Bug 48508 - Allow multiple syslog remotes in UCR
Allow multiple syslog remotes in UCR
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCR
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Arvid Requate
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-22 15:19 CET by Valentin Heidelberger
Modified: 2019-04-10 14:19 CEST (History)
4 users (show)

See Also:
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:
heidelberger: Patch_Available+


Attachments
Patch for rsyslog.conf template to allow multiple syslog remotes (604 bytes, patch)
2019-01-22 15:19 CET, Valentin Heidelberger
Details | Diff
Updated UCR description for syslog/remote (1.31 KB, patch)
2019-01-22 15:25 CET, Valentin Heidelberger
Details | Diff
Patch for rsyslog.conf template to allow multiple syslog remotes (598 bytes, patch)
2019-03-12 16:19 CET, Valentin Heidelberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>