From: Don.Harper@Chron.com (Don Harper) Subject: On alarms and paging... Date: Tue, 28 Mar 1995 23:13:11 -0600 (CST) > 50 percent of the time. Not good. :( Does anyone have any working scripts or > code to use a Sun workstation to page someone with a normal numeric pager? Or > a clue on what to do? Our telecom guy has no clues for me. Here's what I use, Don: I use uucp's cu on a 4.1.3_U1 (and formerly 4.1.1_U1 sun3). Outgoing only device: corona:[/blue/homes/cowell] ls -alg /dev/cua0 crw-r--r-- 1 uucp staff 12, 128 Mar 28 14:01 /dev/cua0 Here's the script I use: corona:[/blue/homes/cowell] cat amanda/notify/notify.me #!/bin/sh # Corona the machine the modem is on rsh corona cu $1 Here's one way I use it (with my mh .maildelivery file), I have a script monitor our backup software logs and mail me if there's a problem. : <-- irrelevant stuff deleted subject "AMANDA PROBLEM" ^ R "/blue/homes/cowell/amanda/notify/notify.me bp-am-amcheck" : And lastly, the /etc/uucp/Systems file with things I can call: : # Example: # cuuxb Any ACU 1200 chicago8101242 in:--in: nuucp word: panzer # # See the System and Network Administration Manual for details # # Andy Cowell's home number home Any ACU 2400 8=6738892 # Andy Cowell's beeper number bp Any ACU 2400 8=6318483,,,, # First n char's must be unique... bp-am-amcheck Any ACU 2400 8=6318483,,,,000100001 bp-am-runtime Any ACU 2400 8=6318483,,,,000100666 bp-am-disklist Any ACU 2400 8=6318483,,,,000100665 bp-wakeup Any ACU 2400 8=6318483,,,,111101111 bp-problem Any ACU 2400 8=6318483,,,,524710666 ^^^ ^ ^ -This is the code that shows on beeper ||| |- Commas tell it to wait (give time for ||| |- service to pick up phone) |||- The actual pager number ||- = means wait until dial tone, I think |- Get outside our pbx This works fine for me. I hope it helps! -- Andrew E. B. Cowell <cowell@cs.utk.edu> | "And the mountainside opened, a Sys Admin, Computer Science Department | moment to pray for all the souls The University of Tennessee, Knoxville | he'd come to save...now he couldn't WWW: http://www.cs.utk.edu/~cowell/ | save himself" [Legendary Pink Dots]