Hi Brian,
Sure, I'm just playing around with this installation right now, this is
what I have in rsyslog.conf:
$ModLoad imuxsock # provides support for local system logging (e.g. via
logger command)
$ModLoad imklog # provides kernel logging support (previously done by
rklogd)
$ModLoad omzmq3
$ModLoad imzmq3
$ModLoad impstats
$PStatInterval 300
$ModLoad imudp
$UDPServerRun 514
$ModLoad imtcp
$InputTCPServerRun 514
$RuleSet TestZmqToZmq
$InputZmq3ServerBindRuleset TestZmqToZmq
$InputZmq3ServerRun
action=BIND,type=SUB,description=tcp://127.0.0.1:6669,subscription=
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
*.info;mail.none;authpriv.none;cron.none /var/log/messages
authpriv.* /var/log/secure
mail.* -/var/log/maillog
cron.* /var/log/cron
*.emerg *
uucp,news.crit /var/log/spooler
local7.* /var/log/boot.log
$template
json,"{\"message\":\"%msg:::json%\",\"host\":\"%HOSTNAME:::json%\",\"severity\":\"%syslogseverity%\",\"date\":\"%timereported:1:19:date-rfc3339%.%timereported:1:3:date-subseconds%\",\"tag\":\"%syslogtag:::json%\"}"
*.* action(name="test_zmq_to_zmq" type="omzmq3"
description="tcp://127.0.0.1:6666" socktype="PUSH" action="CONNECT"
template="json")
If i comment out $InputZmq3ServerRun everything else works.
czmq-1.3.0, would that be the master branch from github? The latest
release I can find is 1.2.0.
Regards,
/Martin
From: Brian Knox <[email protected]>
To: rsyslog-users <[email protected]>,
Date: 2012-10-17 14:51
Subject: Re: [rsyslog] rsyslog 7.1.10 segfaults when using imzmq3
Sent by: [email protected]
Is it possible for you to send the config you are using to us? If you
don't want to post the config on the list, [email protected] will
work.
czmq 1.3.0
libzmq-3.2.1
Brian
On Wed, Oct 17, 2012 at 4:04 AM, Martin Nilsson
<[email protected]> wrote:
> Hi Brian,
>
> I've been trying out rsyslog 6.5.0 and 6.5.1 now with the same results,
so
> I think it might be related to some of the other libraries (czmq,
> libzmq3). Could you tell me the versions you are using in a working
setup?
>
> Regards,
> /Martin
>
>
>
>
> From: Brian Knox <[email protected]>
> To: rsyslog-users <[email protected]>,
> Cc: [email protected]
> Date: 2012-10-16 16:31
> Subject: Re: [rsyslog] rsyslog 7.1.10 segfaults when using imzmq3
> Sent by: [email protected]
>
>
>
> We've been using imzmq with the 6.x line without any problems. I'll
> update the list once we get a chance to test 7 and let you know if we
> ran into the same problem.
>
> Thanks,
> Brian
>
> On Tue, Oct 16, 2012 at 9:24 AM, Martin Nilsson
> <[email protected]> wrote:
>> Hi Brian,
>>
>> Thanks for your reply. Which rsyslog version would be the recommended
> one
>> right now if you want to use the zeromq plugins?
>>
>> Regards,
>> /Martin
>>
>>
>>
>>
>> From: Brian Knox <[email protected]>
>> To: rsyslog-users <[email protected]>,
>> Date: 2012-10-16 15:15
>> Martin -
>>
>> We have not done testing with rsyslog 7 yet to any extent - just got
>> it set up in our lab. I'll definitely keep an eye out for this issue
>> and let you know (we're on CentOS as well).
>>
>> Thanks for the feedback!
>> Brian
>>
>>
>> On Tue, Oct 16, 2012 at 9:05 AM, Martin Nilsson
>> <[email protected]> wrote:
>>> Hi,
>>>
>>> I'm trying to setup rsyslog 7.1.10 with the zeromq input, but when I
> try
>>> to enable it in rsyslog.conf, rsyslog segfaults on startup. The omzmq3
>>> module works fine though.
>>>
>>> I'm running on CentOS 6.3, and I have built all zeromq-related
packages
>>> myself, using the spec files distributed with the rsyslog source.
>>>
>>> I have these versions:
>>>
>>> czmq.x86_64 1.2.0-1.el6 @/czmq-1.2.0-1.el6.x86_64
>>> czmq-debuginfo.x86_64 1.2.0-1.el6
>>> @/czmq-debuginfo-1.2.0-1.el6.x86_64
>>> czmq-devel.x86_64 1.2.0-1.el6
> @/czmq-devel-1.2.0-1.el6.x86_64
>>> libzmq3.x86_64 3.2.1-0 @/libzmq3-3.2.1-0.x86_64
>>> rsyslog-imzmq3.x86_64 7.1.10-1.el6
>>> @/rsyslog-imzmq3-7.1.10-1.el6.x86_64
>>> rsyslog-omzmq3.x86_64 7.1.10-1.el6
>>> @/rsyslog-omzmq3-7.1.10-1.el6.x86_64
>>> zeromq.x86_64 3.2.1-0 @/zeromq-3.2.1-0.x86_64
>>> zeromq-debuginfo.x86_64 3.2.1-0 @/zeromq-debuginfo-3.2.1-0.x86_64
>>> zeromq-devel.x86_64 3.2.1-0 @/zeromq-devel-3.2.1-0.x86_64
>>>
>>> The snippet in rsyslog.conf related to imzmq3:
>>>
>>> $ModLoad imzmq3
>>> $InputZmq3ServerRun
>>> action=BIND,type=SUB,description=tcp://*:6669,subscription=test
>>>
>>> Any suggestions on where to go from here? Happy to provide more
>>> information when needed.
>>>
>>> Regards,
>>> /Martin
>>> _______________________________________________
>>> rsyslog mailing list
>>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>>> http://www.rsyslog.com/professional-services/
>>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
> myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>>
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.