[rsyslog-notify] Forum Thread: Re: fwd local msg, two listeners to remote server w/TLS, Que - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Fri Jun 24 00:33:16 CEST 2016
User: atticus
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26659#p26659
Message:
----------
Thanks. Seem to have got most things working. One question I'm puzzled
about is where/how to place the DefaultNetstream... statements, and if
there is a way I could write them as Rainier Script. I couldnt get them to
pass (rsyslogd -N1) checks when I wrote them inside the action inside the
ruleset as e.g. DefaultNetStreamDriverCAFile="/etc/rsyslog.d/certs/ca.pem"
The only way I could get them to pass rsyslogd -N1 was to put them outside
the ruleset like this.
$DefaultNetstreamDriverCAFile /etc/rsyslog.d/certs/ca.pem
$DefaultNetstreamDriverCertFile /etc/rsyslog.d/certs/ca.pem
$DefaultNetstreamDriverKeyFile /etc/rsyslog.d/certs/local-key.pem
As an aside, I had to comment out the queue.maxdisksize="1G" and
action.resumeretrycoung="-1" Don't know why. I also saw the 2nd one as
queue.resumeretrycount="-1" and that didn't work, either.
Many, many thanks.
#
ruleset(name="fwd1"
queue.filename="rulesetq1"
queue.saveonshutdown="on"
queue.type="LinkedList") {
# queue.MaxDiskSpace="1g"
# action.resumeretrycount="-1") {
action(type="omfwd"
target="hosta1.com"
protocol="tcp"
port="10514"
action queue details removed for simplicity--looks same as ruleset queue
streamdrivermode="1"
streamdriver="gtls"
streamdriverauthmode="x509"
streamdriverpermittedpeers="hosta1.com")
}
More information about the rsyslog-notify
mailing list