From owner-freebsd-questions Mon Jun 7 9:53:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lincc.lincc.lib.or.us (lincc.lincc.lib.or.us [198.245.131.10]) by hub.freebsd.org (Postfix) with ESMTP id 4106A152A9 for ; Mon, 7 Jun 1999 09:53:11 -0700 (PDT) (envelope-from george@lincc.lib.or.us) Received: from localhost (george@localhost) by lincc.lincc.lib.or.us (8.9.2/8.9.2) with ESMTP id JAA83298; Mon, 7 Jun 1999 09:53:10 -0700 (PDT) (envelope-from george@lincc.lib.or.us) Date: Mon, 7 Jun 1999 09:53:10 -0700 (PDT) From: George Yobst To: freebsd-questions@freebsd.org Cc: George Yobst Subject: Syslog and exec variables Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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