Rainer: first of all many many congratulations on wining the Football world cup. Just to mention that the footballs used in the world cup were made in Sialkot Pakistan :)
Now coming back to the point, almost 4 of our team members are exhausted in
the efforts to run any external plugin so far no vain.
>
> what does "not working" mean. Any error messages? Unexpected output, ...?
>
>
No errors at all. It does not go in the external code written. Our .py file
is as follows:
import sys
import time
fd = open('/opt/arif.txt', 'w')
fd.write("Opened logfile\n")
while True:
line = sys.stdin.readline()
if line:
fd.write("Received: %s" % (line))
else:
break
fd.close()
Please tell us how to verify. At our end, no error comes. Our Rsyslog is
version 7.6.3 and we have tested it on version 8. Please help.
Also PFA a .py file that is exactly mentioned in the (
http://www.rsyslog.com/writing-external-output-plugins-for-rsyslog/) but
nothing happens. This is the problem that nothing happens.
Thanking you in advance.
> This may also be useful:
>
> http://www.rsyslog.com/writing-external-output-plugins-for-rsyslog/
>
>
> > I know there is fault in it, need your attention in resolving
> > this issue. What I coded is given below
> >
> > module(load="omprog")
> >
> > action(type="omprog" binary="/var/log/test.py")
> >
> >
> at quick glimpse, this looks ok, but again please tell us what "not
> working" actually means ;)
>
> Rainer
>
>
> > but after trying different syntex I ended up with nothing :( , kindly
> help
> > me in resolving this issue. I am keen to hear from you.
> >
> > P.S : *mark at thermeon
> > <http://www.gossamer-threads.com/lists/engine?user=292;list=rsyslog>*
> has
> > resolved this issue. Any suggestion from your side will be highly
> > appreciated.
> >
> >
> > --
> > Regards
> > Muhammad Asif Ihsan
> > _______________________________________________
> > 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.
>
test.py
Description: Binary data
_______________________________________________ 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.

