From owner-freebsd-questions Thu Aug 22 11: 0:41 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 BAE9237B400 for ; Thu, 22 Aug 2002 11:00:36 -0700 (PDT) Received: from mx-a.qnet.com (mx-a.qnet.com [209.221.198.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C89143E65 for ; Thu, 22 Aug 2002 11:00:36 -0700 (PDT) (envelope-from cjl@QNET.COM) Received: from cello.qnet.com (root@cello.qnet.com [209.221.198.10]) by mx-a.qnet.com (8.12.3/8.12.3) with ESMTP id g7MI0XA1005903; Thu, 22 Aug 2002 11:00:33 -0700 (PDT) (envelope-from cjl@QNET.COM) Received: from cello.qnet.com (cello.qnet.com [209.221.198.10]) by cello.qnet.com (8.9.3/8.9.1) with ESMTP id LAA23856; Thu, 22 Aug 2002 11:00:29 -0700 (PDT) Date: Thu, 22 Aug 2002 11:00:29 -0700 (PDT) From: Chris Linstruth To: Kevin Rogers Cc: Doug Hardie , BSD help Subject: Re: automated paging In-Reply-To: <009301c24a02$abaae950$1200a8c0@lobby> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 There is also a SNPP module for perl. (Simple Network Paging Protocol.) Its utility for you depends on whether your pager service has an SNPP gateway or not. We use SNPP.pm to send pages to our in-house SNPP Server (Super Pager for OS/2) which takes care of dialing the appropriate pager service and relaying the message. Works great. $ perl5 snpppage.pl snpp.domain.com Chris "Message to send" The OS/2 software knows how to page "Chris" -- Chris Linstruth On Thu, 22 Aug 2002, Kevin Rogers wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message