text pagers

Arjan de Graaff arjan at pwc-mas.nl
Thu Nov 14 14:37:25 CET 2002


        pager       kpn:0612345678

kpn is configured in "sms_address" (comes with sms_client) and contains in
this case the SMS service number to call wich in turn sends an sms to the
number behind kpn: in this case 0612345678

See doc sms_client

Arjan

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Arjan de
Graaff
Sent: donderdag 14 november 2002 14:16
To: Nagios-Users
Subject: RE: [Nagios-users] text pagers


We did not use Pages but send SMS messages to the contacts mobile phone with
the use of the program sms_client.

Configure the folowing and download the sms_client.



In Your Contacts.cfg define the correct Pager number of your mobile phone.

#***************************************************************************
******
# 'Arjan' contact definition
define contact{
        contact_name                    arjan
        alias                           Arjan
        service_notification_period     SLA-Day
        host_notification_period        SLA-Day
        service_notification_options    c
        host_notification_options       d
        service_notification_commands   service-notify-by-qpage
        host_notification_commands      host-notify-by-qpage
        email                           arjan at a.com
        pager                           kpn:0612345678
        }
#***************************************************************************
******

Then in your misccommands.cfg change / add the folowing:

#***************************************************************************
******
# 'host-notify-by-qpage' command definition
define command{
        command_name    host-notify-by-qpage
        command_line    /usr/bin/printf "$NOTIFICATIONTYPE$ alert - Host
$HOSTNAME$ is $HOSTSTATE$ Info: $OUTPUT$ Time: $DATETIME$" |
/usr/bin/head -c 155 | /usr/bin/sms_client -q $CONTACTPAGER$
#***************************************************************************
******

It runs the program "sms_client" dials de contactpager as defined at "pager"
in contact.cfg and sends an SMS massage to your mobile with a short
desctription.


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jeff
McKeon
Sent: donderdag 14 november 2002 13:56
To: Brandon Galbraith
Cc: Anoop Atre; Nagios List
Subject: RE: [Nagios-users] text pagers


That would work except....

Nobody is watching their e-mail in the middle of the night.  You can
however sleep with a pager on the nightstand.. :o)

On Wed, 2002-11-13 at 17:36, Brandon Galbraith wrote:
> In the event your pager/cellphone company doesn't have a phone # you can
> dial up and send pages with, you could always purchase a $20 a month
dialup
> account and have ppp dial out to send the mail in the event there is no
> other route available.
>
> -brandon
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Anoop Atre
> Sent: Wednesday, November 13, 2002 2:06 PM
> To: Nagios List
> Subject: Re: [Nagios-users] text pagers
>
>
> Exactly, which is why I'm trying to get a reciprocative setup going with
> another university : )
>
> A box checking priority boxes on my network would page moi in case of
> issues and I'd host
> one for them in return, anyone doing this already?
>
> Maybe we can setup a sign up sheet on the nagios forums say based on
> geographic location
> of both parties.
>
> Of course securing the box and making sure it's updated with the minimal
> patches should be each other's responsibility.
>
> ~
>
> >
> > Then what about when the network is down, email wont help much then.
> :) I
> > think that's what he wants.
> >
> >
> > Thanks,
> >
> > Atle
> > -
> > Flying Crocodile Inc, Unix Systems Administrator
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Are you worried about
> your web server security? Click here for a FREE Thawte
> Apache SSL Guide and answer your Apache SSL security
> needs: http://www.gothawte.com/rd523.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Are you worried about
> your web server security? Click here for a FREE Thawte
> Apache SSL Guide and answer your Apache SSL security
> needs: http://www.gothawte.com/rd523.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html




More information about the Users mailing list