--
Greg Rowe |
US West - Interact Services | INTERNET gr...@mn.interact.net
111 Washington Ave. South | Fax: (612) 672-8537
Minneapolis, MN USA 55401 | Voice: (612) 672-8535
To err is human, to really foul up requires the root password.
We tried tpage here, but never got it to work! In the end we wrote out own
with a combination of Perl and Expect. Works beautifully. Mail me if you
want a copy.
Paul
--
Paul Wilson
CWS Unix Support
I too am interested - didn't see an email address.
Thanks.
yea, it's included with every unix system I know of, it's called.....
drumroll,please........uucp.
The 'cu' command can be used to send numeric messages to a pager. It
requires a few simple things:
1) A device (configured in Devices or L-devices) set up as
ACU that works !
2) A pagers phone number !
Then just type (or put in a script) :
cu 5555555---911#
where 5555555 is the phone number,
--- is a delay (i think each = 4 seconds),
911 is the numeric message, and
# tellthe pager the message is done
As simple as that ! A similar solution can be done in 'c' with the dial
function.
No modem on your local machine ?? Just use rsh or rexec or rcd or...etc...
Simple !
--
:r .signature
kevin j brandich, systems software analyst |
play: kebr...@cis.csuohio.edu | 'blow your cool'
WWW: http://grail.cba.csuohio.edu/~kebrandi | -hoodoo gurus
Peter Scott
peter@h_yellow.co.nz
If you're feeling brave and want to try out a "work in progress" pager
interface try ftp.net.ohio-state.edu /pub/pagers/sendpage3a.tar.gz.
SunOS only right now, haven't had time to make it work with Solaris,
although the changes should be minor.
It supports aliases, configurable retries, a sendmail interface, and
sending multiple pages per phone call.
sendpage -bp:
Sendpage queue entries
----------------------
#/Retries From To Size When
--------------------------------------------------------------------------------
1 / 1 m...@net.ohio-state.edu maf 4 3/28 1:3:30
mail reply:
Date: Tue, 28 Mar 1995 01:04:21 -0500
To: m...@net.ohio-state.edu
Subject: *** Page accepted.
QueueTime: 3/28/1995 1:3:30
DeliverTime: 3/28/1995 1:4:6 (36 second delay)
Retries: 1
Sender: m...@net.ohio-state.edu
Message: test
*** Page accepted.
--
sendpage v. alpha 3 (Thu Mar 16 23:15:55 EST 1995)
config file:
# lines begining with # are ignored
# \ can be used as a escape character to continue long lines
#
# sendpage.cf
#
# paging central definitions
# format:
# pc option=value
# options are:
# name name of paging central
# phone phone number
# speed baud rate
# parity parity bit setting
# databits # of databits
# stopbits # of stopbits
# protocal protocol to use - pet-pg1, pet-pg3, and null implemented
# msgretries # of times to retry a page
# answertime how long in seconds to wait for modem to answer
# modemdial string used to dial modem
# dialer internal/external (external not implemented yet)
# modeminit init string to send to modem
# modemdev device to use with modem
# maxmsgsize maximum # of bytes before truncated
pc name=usamobile1 phone=98465504 speed=1200 parity=even\
databits=7 stopbits=1 protocol=pet-pg1 msgretries=20\
answertime=25 modemdial=atdt dialer=internal\
modeminit=at&F&C1&D1EL3M1QVX4H modemdev=/dev/ttyb
pc name=usamobile2 phone=98426252 speed=1200 parity=even\
databits=7 stopbits=1 protocol=pet-pg1 msgretries=20\
answertime=25 modemdial=atdt dialer=internal\
modeminit=at&F&C1&D1EL3M1QVX4H modemdev=/dev/ttyb
pc name=test protocol=null phone=123456 maxmsgsize=5
# alias definitions
#
# "alias" name expands to
#
# aliases can be in the form
# xxx yyy : simple. "xxx" expands to "yyy"
# xxx yyy zzz : list. "xxx" expands to "yyy" "zzz"
# xxx /etc/operator : file. "xxx" expands to the contents of
# the alias expansion of /etc/operator
# xxx /etc/operator:yyy : file with default. if can't get contents of
# /etc/operator, default to "yyy"
# xxx |/etc/schedule : pipe. "xxx" expands to the output of the
# alias expansion of /etc/shedule
# xxx |/etc/schedule:yyy : pipe with default. if can't get the contents
# of /etc/schedule, default to "yyy"
#
# combinations are also allowed -- first look /etc/operator, then
# /etc/operator2, finally default to yyy
# xxx /etc/operator:/etc/operator2:yyy
#
# note it's important that pipe style aliases don't call programs that
# will hang. This could cause sendpage to get stuck.
alias test 12345.test
alias maf 12345.usamobile2
...someone sent me a few small portability patches for AIX today which is
also SYSVish, so Solaris 2.x support probably isn't too far away.
--
mark
ma...@osu.edu
: yea, it's included with every unix system I know of, it's called.....
: drumroll,please........uucp.
< uucp info deleted >
Unfortunately, it's not quite that simple. I've been using exactly
the method you describe for about a year and have had an approx. 70%
success rate. The reason lies in the variable timing on the part of
the pager service. Around here the services we use sometimes answer
with an announcement that you have reached a paging service and please
enter a number. This takes a while to complete. Setting the modem
dialing delay long enought to accomodate that often causes the pager
system to time out when it decides to answer without the announcement.
Nice try, but not what the original poster (or myself for that matter)
was looking for.
Ron Morley
Zenith Data Systems
--
Disclaimer: My opinions are my own...no one else wants them.
"The only two things a pirate'll |"The least flexible component of any
run for is money and public office" |system is the user" Lowell Jay Arthur
- Yosemite Sam |
"Never underestimate the power of human stupidity" Lazarus Long
: --
>Kevin J. Brandich (kebr...@cis.csuohio.edu) wrote:
>: Greg Rowe (gr...@mn.interact.net) wrote:
>: : Has anyone seen any public domain numeric paging software for Unix around ? I'm looking to use
>: : it as part of a system/network monitoring package. Thanks.
>: yea, it's included with every unix system I know of, it's called.....
>: drumroll,please........uucp.
>< uucp info deleted >
>Unfortunately, it's not quite that simple. I've been using exactly
>the method you describe for about a year and have had an approx. 70%
>success rate. The reason lies in the variable timing on the part of
>the pager service. Around here the services we use sometimes answer
>with an announcement that you have reached a paging service and please
>enter a number. This takes a while to complete. Setting the modem
>dialing delay long enought to accomodate that often causes the pager
>system to time out when it decides to answer without the announcement.
>Nice try, but not what the original poster (or myself for that matter)
>was looking for.
We use the uucp method, and it has been about 99% successful. But, our
pager service provider always answers the phone on the same ring number
and everything is very consistent. So, it looks like the service
provider is the real key to it working or not working well.
Our only problem is that our UUCP considers the cu try as unsuccessful
when it doesn't get a carrier, and so it tries at least two more times.
So one beep turns into three! Oh well.
--
/--------------------------------------------------------------------------\
| Mark A. Davis | Lake Taylor Hospital | Norfolk,VA (804)-461-5001x431 |
| Director/SysAdmin | Information Systems | ma...@taylor.infi.net |
\--------------------------------------------------------------------------/