- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Paing Script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 02:22 PM
03-26-2002 02:22 PM
Does anyone know the command to page a numeric pager with a simple code like aaa to stand for some server down situation (not mailx)?
Thanks a lot,
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 03:23 PM
03-26-2002 03:23 PM
SolutionContact kermit support for paging script at www.columbia.edu/kermit
I have an unupported note on how to do the same using 'cu':
This example is
provided, per your request, ONLY as an example,is NOT guaranteed by
Hewlett Packard, and we CANNOT support this if it does not work
for you.
For this example you will have to use your own device files and
system names, etc. You can customize the Systems file differently.
Please refer to the Remote Access users guide for uucp setup.
1) Set up your /usr/lib/uucp/Devices with YOUR PORT, YOUR SPEED, ETC.
example entry;
ACU cul00 cua00 1200 hayes
2) Set up your /usr/lib/uucp/Systems with YOUR ENTRY;
sample entry (NXX-XXXX is telephone number of the pager)
When this is working correctly it will send the pager the 999999 and
'cu' will eventually hang up because it did not get an answer from the
other 'modem'
Notes: If you want to call the pager at a specified time each day,
you coud write a shell script that you could have cron run
by adding 'cu
your 'if' statement.
Or, you can run cu from the command line. To see what's
happening while you wait, you can use this command:
cu -d9
Notes: This customer only needed 3 commas,(in command in step 2), and
for his pager type, he needed to add a # symbol after the
phone number(somewhat a common requirement with pagers).
Hope that helps.
Ross Martin
HP Repsonse Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 02:20 PM
03-27-2002 02:20 PM
Re: Paing Script
Thanks a lot for the help.
I would like to know if there are any shell scripting command that can send a pager a message. We know Mail command in script works, but how about paging?
Very appreciated.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 02:25 PM
03-27-2002 02:25 PM
Re: Paing Script
To send a page, you need to establish a form of connection to the pager. One way is to connect a modem and dial the page number to send the page automatically or send a mail to the pager (as offered by some paging companies). There isn't just a single command or script that can do the job as pagers are "native" to HP-UX hardware.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 07:27 AM
03-28-2002 07:27 AM
Re: Paing Script
If not: I have a pager that can accept a short email message, so I just send an email:
if [ problem_found ]
then
mailx mypager@pagingservice.com << SENDIT
Bangor branch unreachable
SENDIT
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:00 AM
03-28-2002 08:00 AM
Re: Paing Script
and Net::SMS (http://search.cpan.org/search?module=Net::SMS) that is written for Sending SMS wireless text-messages
Net::SMS::Genie (http://search.cpan.org/search?module=Net::SMS::Genie) for
Net::SNPP is written to support the "Simple Network Pager Protocol" from RFC1861
But probably Net::Pager (http://search.cpan.org/search?module=Net::Pager) will fill all your needs, since it's description is "Send Numeric/AlphaNumeric Pages to any pager", which is exactly your question.
Be sure to run a recent perl, preferable 5.6.1 available from https://software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=PERL&date= or (better) http://hpux.tn.tudelft.nl/hppd/hpux/Languages/perl-5.6.1/ or any other fine HP-UX software mirrors