-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configuring mulitple remote servers from the remote_servers parameter…
… using a hash.
- Loading branch information
Aaron Hicks
committed
Feb 6, 2014
1 parent
3707f44
commit 8804f3f
Showing
4 changed files
with
105 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class{'rsyslog::client': | ||
remote_servers => [ | ||
{ | ||
host => 'logs.example.org', | ||
}, | ||
{ | ||
port => '55514', | ||
}, | ||
{ | ||
host => 'logs.somewhere.com', | ||
port => '555', | ||
pattern => '*.log', | ||
protocol => 'tcp', | ||
format => 'RFC3164fmt', | ||
}, | ||
] | ||
} |
Hello,
It seems this prevent rsyslog to connect: declaring the remote server before the connection options 68 and previous ($ActionSendStreamDriverMode and $ActionSendStreamDriverAuthMode) disable the connection…
Tested on our infra (all rsyslog server were disconnected after this change), moving the remote_server to line 70 corrects the problem.