Univention Bugzilla – Attachment #9920: Patch for rsyslog.conf template to allow multiple syslog remotes for bug #48508
fallback = filter(None, configRegistry.get('syslog/remote/fallback', '').split())
if any(server.startswith(':omrelp:') for server in [remote] + fallback):
print '$ModLoad omrelp'
print '%s %s' % (selector, remote)
for server in remote.split():
print '%s %s' % (selector, server)
if fallback:
print '$ActionExecOnlyWhenPreviousIsSuspended on'
for server in fallback: