From owner-freebsd-questions Mon Jun 7 12:46:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andyo.prime.net (P1M4.prime.net.ua [195.64.229.36]) by hub.freebsd.org (Postfix) with ESMTP id C401314C49 for ; Mon, 7 Jun 1999 12:45:21 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by andyo.prime.net (8.9.3/8.9.3) with ESMTP id WAA00472; Mon, 7 Jun 1999 22:26:04 +0300 (EET DST) Message-ID: <375C1CC8.1344695B@prime.net.ua> Date: Mon, 07 Jun 1999 22:26:00 +0300 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= (Andy V. Oleynik) Reply-To: andyo@prime.net.ua Organization: =?koi8-r?Q?=ED=2D=E9=CE=C6=CF?= X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: George Yobst Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Syslog and exec variables References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Probably U use special device to set ur cisco interface up. May be no. Anyway I beleave that any change of this interface that being configured at start up by root will be logged in ur /var/log/messages. 2nd: look for Big Brother in the net. It has notify feature:) George Yobst wrote: > Hi all, > > I've written a little script to page myself if a router interface > goes down, but I'm having a little problem with syslog. I can't > seem to figure out what variable it sends the output to, so I can > use it in the script. The syslog.conf lines are: > local6.* |exec /var/log/cisco/pager.sh > local6.* /var/log/cisco/rou6.log > > What am I missing? Thanks! -George > ---------------------------------------------------------------------- > George Yobst, Automation Specialist email: george@lincc.lib.or.us > LINCC phone: 503-723-4890 > 16239 SE McLoughlin Blvd, Suite 208 fax: 503-655-8555 > Oak Grove, OR 97267-4654 webmaster: http://www.lincc.lib.or.us > "...it is impossible for anyone to begin to learn > what he thinks he already knows." - Epictetus > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Andy V. Oleynik (When U aim for perfection, U discover it's a moving target ö80) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message