Did you put any traffic through while running with -DN that would trigger the 
*.info that is pointed to omprog?

I'm not seeing any actual message traffic in those pastebin references.

-- James


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Muhammad Asif
Sent: Friday, July 18, 2014 6:27 AM
To: rsyslog-users
Subject: Re: [rsyslog] Want to run python code using omprog on rsyslog 7.6.3

http://pastebin.com/WNDHhWLi

and

http://pastebin.com/6MRNWTRH


On Fri, Jul 18, 2014 at 4:17 PM, Boylan, James <[email protected]>
wrote:

> If possible it would be extremely helpful if you could start rsyslog 
> with a -dn option. Take the output of that and post it into pastebin 
> for viewing. Unfortunately with no output to go on, it is difficult to 
> say definitively what might be the problem.
>
> Also, as Rainer has pointed out, omprog for 7.6.3 is very much 'Old 
> Technology'. He has made huge improvements for that module in the 8.x 
> series of Rsyslog. If you intend on using omprog, you should seriously 
> considering upgrading.
>
> -- James
>
> -----Original Message-----
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Muhammad Asif
> Sent: Friday, July 18, 2014 6:11 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] Want to run python code using omprog on rsyslog
> 7.6.3
>
> 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=rsyslo
> > > g>
> > > *
> >  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.
> >
> _______________________________________________
> 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.

Reply via email to