> -----Original Message----- > From: rsyslog-boun...@lists.adiscon.com [mailto:rsyslog- > boun...@lists.adiscon.com] On Behalf Of da...@lang.hm > Sent: Thursday, February 10, 2011 6:14 PM > To: rsyslog-users > Subject: Re: [rsyslog] OMPROG data not being received > > now I'm a little puzzled. > > how is omprog better than the old sysklog approach of |/path/to/script?
It's not a script, it's a pipe. omprog actually starts up the script. In theory, it also restarts it if it dies (I say in theory because after I had written the module, those that had interest in it never again showed up -- so I did not put much more effort into it at that time). Rainer > David Lang > > On Thu, 10 Feb 2011, Rainer Gerhards wrote: > > > Great. It is important to know that omprog only writes what you tell > it. So > > if the program waits for a NL, this must also be written. As a side- > note, > > waiting for end of file would not make much sense at all: opening and > closing > > the pipe for each message would be enormous overhead. > > > > Rainer > > > >> -----Original Message----- > >> From: rsyslog-boun...@lists.adiscon.com [mailto:rsyslog- > >> boun...@lists.adiscon.com] On Behalf Of Mark Olliver > >> Sent: Thursday, February 10, 2011 4:51 PM > >> To: rsyslog-users > >> Subject: Re: [rsyslog] OMPROG data not being received > >> > >> Hi, > >> > >> Thanks that is fixed, by adding "\n" to the end of my template it > now > >> flushes to the script straight away. > >> > >> Thanks > >> > >> Mark > >> > >> On 10 February 2011 15:27, Mark Olliver <m...@thermeon.com> wrote: > >>> I think my script is actually waiting on an end of file rather than > >>> end of line terminator, > >>> > >>> If that makes a difference ? > >>> > >>> Mark > >>> > >> _______________________________________________ > >> rsyslog mailing list > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> http://www.rsyslog.com > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com