From owner-freebsd-stable Mon Jul 2 9:16:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 5F96137B403 for ; Mon, 2 Jul 2001 09:16:10 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id JAA17716; Mon, 2 Jul 2001 09:16:08 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda17714; Mon Jul 2 09:15:54 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.4/8.9.1) id f62GFno24783; Mon, 2 Jul 2001 09:15:49 -0700 (PDT) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdC24778; Mon Jul 2 09:14:56 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.4/8.9.1) id f62GDUh06681; Mon, 2 Jul 2001 09:13:30 -0700 (PDT) Message-Id: <200107021613.f62GDUh06681@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdRp6677; Mon Jul 2 09:12:39 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Rasputin Cc: stable@FreeBSD.ORG Subject: Re: filtering syslog by remote host? In-reply-to: Your message of "Mon, 02 Jul 2001 15:57:00 BST." <20010702155700.A18774@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Jul 2001 09:12:39 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010702155700.A18774@dogma.freebsd-uk.eu.org>, Rasputin writes: > > Hi there - wondered if BSD's native syslog could > filter events based on the orginating host? > > man syslog.conf seems to indicate it can, but I can't get it working. > > (Most online resources refer to syslog-ng, but I'm hoping to do it with the b > ase > system if possible) > > Does anyone have a working config they could post? Try sending syslog output to a pipe or a file and have swatch filter the output for you. We do this at work, filtering out messages to be sent to our pager/cell phones. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message