From owner-freebsd-questions Fri Aug 23 8:29: 3 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 E278537B400 for ; Fri, 23 Aug 2002 08:28:58 -0700 (PDT) Received: from be01.comm.charter.net (be01.comm.charter.net [209.225.8.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1747343E3B for ; Fri, 23 Aug 2002 08:28:58 -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 41822045; Fri, 23 Aug 2002 11:29:02 -0400 Message-ID: <002a01c24ab9$d05790c0$1200a8c0@lobby> From: "Kevin Rogers" To: "Chris Linstruth" Cc: "BSD help" References: Subject: Re: automated paging thank you Date: Fri, 23 Aug 2002 10:29:04 -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 Thank you all for your help. You will probably see me with some more questions in a week or so. ----- Original Message ----- From: "Chris Linstruth" To: "Kevin Rogers" Cc: "Doug Hardie" ; "BSD help" Sent: Thursday, August 22, 2002 1:00 PM Subject: Re: automated paging > 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