Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 15:31:39 -0500
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Piping Syslogd Output to a Program
Message-ID:  <200310132031.h9DKVdGf090055@dc.cis.okstate.edu>

next in thread | raw e-mail | index | archive | help
	Is there a way to run syslogd such that its output can be sent
to a program?

	It seems like it may be possible based on a passage in the man
page in section 8 for syslogd.
------------------------------------------------------------

	     into a single line of the form ``last message repeated N times''
	     when the output is a pipe to another program.  If specified
	     twice, disable this compression in all cases.
------------------------------------------------------------

	That is the only discussion I see in the manual and there
appears to be nothing in the FreeBSD Handbook at least when I was
looking up references to syslogd.

	The best outcome will be if one can run syslogd so that it
still produces the files it does, but has this extra channel open to
another program that I would write which works like a very alert
operator that will do X if it sees Y happening.

	Thanks for any answers or references that can point us in this
direction.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310132031.h9DKVdGf090055>