<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/17698" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2010-04-21T11:26:01-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/17698</id>

		<entry>
		<author><name><![CDATA[hypnotoad]]></name></author>
		<updated>2010-04-21T11:26:01-04:00</updated>

		<published>2010-04-21T11:26:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92897#p92897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92897#p92897"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92897#p92897"><![CDATA[
ok i will<br>thx for youre help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11163">hypnotoad</a> — Wed Apr 21, 2010 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2010-04-21T05:58:06-04:00</updated>

		<published>2010-04-21T05:58:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92894#p92894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92894#p92894"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92894#p92894"><![CDATA[
simple example;<div class="codebox"><p>Code: </p><pre><code>set port 1444set host 10.0.1.1##################################################################bind evnt - prerehash prerehash_procset s_socket [socket -server socket_proc -myaddr $host $port]proc prerehash_proc { type } {        global s_socket        close $s_socket}proc socket_proc { sock host port } {        fconfigure $sock -buffering line        fileevent $sock readable "action $sock $host $port"}proc action { chan host port } {        if {![eof $chan]} {                set data [gets $chan]                if {$data != ""} {                        putquick "PRIVMSG #channel :$data"                }        } {                close $chan        }}</code></pre></div>rsyslog option for forward logs to remote host;<div class="codebox"><p>Code: </p><pre><code>*.*       @@10.0.1.1:1444</code></pre></div>for the rest of info check the rsyslogs doc<br><br>try it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Wed Apr 21, 2010 5:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hypnotoad]]></name></author>
		<updated>2010-04-20T11:43:13-04:00</updated>

		<published>2010-04-20T11:43:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92887#p92887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92887#p92887"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92887#p92887"><![CDATA[
ok,<br>do you have a sample tcl socket script for me? i don´t know where i should start, i am totaly scripting noob, but like to learn <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i thought there must be away to catch the log´s while there written into the *.log file.<br><br>Like:<br>Rsyslog daemon &gt; write a line in the *.log file<br>                        &gt; and catch this line at the same time and put the output over eggdrop into irc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11163">hypnotoad</a> — Tue Apr 20, 2010 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2010-04-19T04:07:59-04:00</updated>

		<published>2010-04-19T04:07:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92870#p92870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92870#p92870"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92870#p92870"><![CDATA[
Its just like telnet or netcat, all you have to do is to write TCL socket script, based on TCP/IP.<br><br>Of course you can filter whole output.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Mon Apr 19, 2010 4:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hypnotoad]]></name></author>
		<updated>2010-04-14T11:28:56-04:00</updated>

		<published>2010-04-14T11:28:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92833#p92833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92833#p92833"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92833#p92833"><![CDATA[
yeah this looks good!<br>how do you made this?<br>is there a way to use .tcl files to make the output more configurable?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11163">hypnotoad</a> — Wed Apr 14, 2010 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2010-04-13T17:24:46-04:00</updated>

		<published>2010-04-13T17:24:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92829#p92829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92829#p92829"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92829#p92829"><![CDATA[
do you want to receive logs from rsyslog via TCP and post them on channel right?<br><br>smth like (spam after rsyslogd connection):<div class="codebox"><p>Code: </p><pre><code>23:18:37 &lt; botty&gt; &lt;6&gt;Apr 13 23:20:55 debian kernel: Kernel logging (proc) stopped.23:18:39 &lt; botty&gt; &lt;6&gt;Apr 13 23:20:55 debian kernel: imklog 3.18.6, log source = /proc/kmsg started.23:18:40 &lt; botty&gt; &lt;46&gt;Apr 13 23:20:55 debian rsyslogd: [origin software="rsyslogd" swVersion="3.18.6"                  x-pid="2499" x-info="http://www.rsyslog.com"] exiting on signal 15.23:18:40 &lt; botty&gt; &lt;46&gt;Apr 13 23:20:55 debian rsyslogd: [origin software="rsyslogd" swVersion="3.18.6"                  x-pid="2520" x-info="http://www.rsyslog.com"] restart</code></pre></div>host with eggdrop:<div class="codebox"><p>Code: </p><pre><code>tomekk@debian:~/eggdrop# netstat -tpan | grep 1444tcp        0      0 10.0.1.1:1444           0.0.0.0:*               LISTEN     31307/eggdroptcp        0      0 10.0.1.1:1444           10.0.1.14:33671         ESTABLISHED31307/eggdrop</code></pre></div>*.14 is the host with rsyslog daemon<div class="codebox"><p>Code: </p><pre><code>tomekk@zlom:/# echo "teste me" | logger</code></pre></div>channel:<div class="codebox"><p>Code: </p><pre><code>23:18:52 &lt; botty&gt; &lt;13&gt;Apr 13 23:21:11 debian logger: teste melater...23:41:08 &lt; botty&gt; &lt;13&gt;Apr 13 23:43:27 debian shutdown[2581]: shutting down for system halt23:41:09 &lt; botty&gt; &lt;30&gt;Apr 13 23:43:27 debian init: Switching to runlevel: 0</code></pre></div>:&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Tue Apr 13, 2010 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hypnotoad]]></name></author>
		<updated>2010-04-07T12:38:59-04:00</updated>

		<published>2010-04-07T12:38:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92725#p92725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92725#p92725"/>
		<title type="html"><![CDATA[rsyslog output to eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92725#p92725"><![CDATA[
Guess the Topic say´s everything, i search for a script which takes the messages from rsyslog and post it. <br>I know you can use tcp/udp to use a rsylog on another server, but is there a way to use eggdrop too?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11163">hypnotoad</a> — Wed Apr 07, 2010 12:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
