now I'm a little puzzled.

how is omprog better than the old sysklog approach of |/path/to/script?

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: [email protected] [mailto:rsyslog-
[email protected]] 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 <[email protected]> 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

Reply via email to