From owner-freebsd-questions Thu Aug 22 10:38: 6 2002 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 08D2E37B400 for ; Thu, 22 Aug 2002 10:38:02 -0700 (PDT) Received: from be01.comm.charter.net (be01.comm.charter.net [209.225.8.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B4C43E42 for ; Thu, 22 Aug 2002 10:38:01 -0700 (PDT) (envelope-from krogers@hanleyindustries.com) Received: from [24.217.11.114] (HELO lobby) by be01.comm.charter.net (CommuniGate Pro SMTP 3.5.9) with SMTP id 41770859; Thu, 22 Aug 2002 13:38:05 -0400 Message-ID: <009301c24a02$abaae950$1200a8c0@lobby> From: "Kevin Rogers" To: "Doug Hardie" Cc: "BSD help" References: <001701c249fc$a6b8f280$1200a8c0@lobby> <002c01c249fe$f9821d50$1200a8c0@lobby> Subject: Re: automated paging Date: Thu, 22 Aug 2002 12:37:59 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the script I am now debating on using big brother or qpage. possably a combination of both. ----- Original Message ----- From: "Doug Hardie" To: "Kevin Rogers" Sent: Thursday, August 22, 2002 12:28 PM Subject: Re: automated paging > I wrote a program as I wanted a log of the pages along with some > other logging capabilities. I will attach a copy of the source I > use. Note it is setup for a server on one machine and clients on the > others. The server does the logging. The clients send the alert > messages. I keep one log for multiple machines. The use of shared > memory is a leftover and is no longer needed. I never bothered to > clean it up. > > > At 1211 -0500 8/22/2002, Kevin Rogers wrote: > >As I have not bought the pager yet I would probably get one that supports > >the e-mail. How do you have yours set up? Did you write a script or do you > >have program. I am looking for a free program or a script that I can write > >because I am on a rather small budget. > >----- Original Message ----- > >From: "Doug Hardie" > >To: "Kevin Rogers" > >Cc: > >Sent: Thursday, August 22, 2002 12:01 PM > >Subject: re: automated paging > > > > > >> At 1154 -0500 8/22/2002, Kevin Rogers wrote: > >> >Are there any free ones or is there some way that I could write my > >> >own script? I am on a rather small budget that most of it was spwnt > >> >buying the box. > >> >----- Original Message ----- > >> >From: Kevin Rogers > >> >To: freebsd-questions@FreeBSD.ORG > >> >Sent: Thursday, August 22, 2002 11:31 AM > >> >Subject: automated paging > >> > > >> >I am making a mail server/firewall for the company that I work for > >> >and would like to know how to make a script that pages me via text > >> >message when ever something goes wrong, i.e. hacker attempt, or one > >> >of the other computers on the network goes down. Any help would be > >> >greatly appreciated > >> > >> It depends on how you activate the pager. Mine takes a e-mail > >> addressed properly and it sends me the text of the message (first > >> hundred or so bytes). You can include a mail command in a script or > >> create an app that handles notification of the pager. I did the > >> latter as I wanted it to keep a log of the pages. > >> -- > >> -- Doug > ---------------------------------------------------------------------------- ---- > -- > -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message