Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 11:00:29 -0700 (PDT)
From:      Chris Linstruth <cjl@QNET.COM>
To:        Kevin Rogers <krogers@hanleyindustries.com>
Cc:        Doug Hardie <bc979@lafn.org>, BSD help <freebsd-questions@FreeBSD.ORG>
Subject:   Re: automated paging
Message-ID:  <Pine.BSI.4.33.0208221056290.16416-100000@cello.qnet.com>
In-Reply-To: <009301c24a02$abaae950$1200a8c0@lobby>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cjl@qnet.com>

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" <bc979@lafn.org>
> To: "Kevin Rogers" <krogers@hanleyindustries.com>
> 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" <bc979@lafn.org>
> > >To: "Kevin Rogers" <krogers@hanleyindustries.com>
> > >Cc: <freebsd-questions@FreeBSD.ORG>
> > >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: <mailto:krogers@hanleyindustries.com>Kevin Rogers
> > >>  >To:
> <mailto:freebsd-questions@FreeBSD.ORG>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.33.0208221056290.16416-100000>