From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 13:31:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9385F16A4B3 for ; Mon, 13 Oct 2003 13:31:41 -0700 (PDT) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B69843F3F for ; Mon, 13 Oct 2003 13:31:40 -0700 (PDT) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.12.6/8.12.6) with ESMTP id h9DKVdGf090055 for ; Mon, 13 Oct 2003 15:31:40 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200310132031.h9DKVdGf090055@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Mon, 13 Oct 2003 15:31:39 -0500 From: Martin McCormick Subject: Piping Syslogd Output to a Program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2003 20:31:41 -0000 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