[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] Question on 0mq socket type for receiving syslog
From:       Brian Knox <taotetek () gmail ! com>
Date:       2011-06-27 10:35:22
Message-ID: BANLkTik-L7deNVOyVUFR34k=qwtBcpykeQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


You can't send directly from rsyslog to a zeromq socket.  You need to write
a translator (something that receives TCP from syslog and then sends zmq
messages).   If you're using rsyslog, you can take a look at the zeromq
input and output plugins for it:
https://github.com/aggregateknowledge/rsyslog-zeromq

On Mon, Jun 27, 2011 at 2:14 AM, maharshi bhatt <maharshi_b@yahoo.com>wrote:

> Hi,
> I have a quick question. I am new to 0mq and just started on it. I want to
> use 0mq to receive syslog messages from syslog servers running on router
> devices. What is the appropriate socket type to use for this purpose? Should
> I use ZMQ_PULL? If yes, will it work without ZMQ_PUSH not done on the other
> end as it is the syslog server running on router device thats sending the
> syslog message.
> If anybody has an helpful code sample that would be great.
>
> Thanks,
> m2011
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>

[Attachment #5 (text/html)]

You can&#39;t send directly from rsyslog to a zeromq socket.  You need to write a \
translator (something that receives TCP from syslog and then sends zmq messages).   \
If you&#39;re using rsyslog, you can take a look at the zeromq input and output \
plugins for it: <a href="https://github.com/aggregateknowledge/rsyslog-zeromq">https://github.com/aggregateknowledge/rsyslog-zeromq</a><br>
 <br><div class="gmail_quote">On Mon, Jun 27, 2011 at 2:14 AM, maharshi bhatt <span \
dir="ltr">&lt;<a href="mailto:maharshi_b@yahoo.com">maharshi_b@yahoo.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> Hi,<br>
I have a quick question. I am new to 0mq and just started on it. I want to use 0mq to \
receive syslog messages from syslog servers running on router devices. What is the \
appropriate socket type to use for this purpose? Should I use ZMQ_PULL? If yes, will \
it work without ZMQ_PUSH not done on the other end as it is the syslog server running \
on router device thats sending the syslog message.<br>

If anybody has an helpful code sample that would be great.<br>
<br>
Thanks,<br>
m2011<br>
_______________________________________________<br>
zeromq-dev mailing list<br>
<a href="mailto:zeromq-dev@lists.zeromq.org">zeromq-dev@lists.zeromq.org</a><br>
<a href="http://lists.zeromq.org/mailman/listinfo/zeromq-dev" \
target="_blank">http://lists.zeromq.org/mailman/listinfo/zeromq-dev</a><br> \
</blockquote></div><br>



_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic