- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dialing beeper or cell phone
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
06-12-2001 09:37 AM
06-12-2001 09:37 AM
beeper or cell phone?
For system errors or shut down.
thankyou
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 12:02 PM
06-12-2001 12:02 PM
Re: Dialing beeper or cell phone
There is a product called TelAlert that does just that. Also, you can send emails to most modern cell phones and beepers--the only down side is that you are at the mercy of the internet for the timeliness of the delivery.
--Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 12:27 PM
06-12-2001 12:27 PM
SolutionWe have text messaging enabled on our mobile and also I have out small scripts configured which sends out email to the generic groups , email ids like 7034756676@att.com so that the text messaging is automatically relayed to the mobiles . You just need is to enable send mail and find out the genric email ids so that the text messaging can be done.
Manoj Srivstava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 05:30 PM
06-12-2001 05:30 PM
Re: Dialing beeper or cell phone
Normally I use sendmail to dial my pager and deliver a text message. My interface works like this: echo "Something wicked this way comes" | elm -s "System Problem" 8889001234@pagemci.com. You could use mail or mailx in place of elm. This works fine if the network is up but what do you do if the network is down?
That is where the modem dialup comes into play. My method of doing this is quite simple:
I have an init.d process called 'holdport' which calls a C program (also called 'holdport'). The functionof this program is to hold a tty port open with defined baudrate and other properties so that simmple scripts can the simply echo "AT" commands to the modem to dial a pager and deliver numeric codes to indicate the problem.
I'm going to attach the c source for 'holdport'; since it is K&R C your standard bundled ccompiler should compile it.
e.g.
cc holdport.c -o holdport
I would then move holdport to /usr/local/bin/holdport.
I'll assume your port is '/dev/ttyd0p3'.
Your /sbin/init.d/holdport script should do something like this in the 'start' section.
/usr/local/bin/holdport -t /dev/ttyd0p3 -s 19200
sleep 1
stty -crts rtsxoff ctsxon < /dev/ttyd0p3 &
This will set the port to 19200 baud; the stty command then sets some status lines; man stty for details.
Your paging script is now very simple:
PAGER="9,18889001234"
EXTRA=",,,,,,,2,,,999"
echo "ATDT${PAGER}${EXTRA}\c" > /dev/ttyd0p3
The extra is my pagers convention. The comma's are 1 second delays; the '2' is entered to leave a number and the 999 would be your code for a severe problem.
If you are not sure what your port is, the easist way is to create a modem using sam.
After the device is configured, note the device name (e.g. /dev/ttyd0p3); you then need to edit the device's/etc/inittab entry and set it to 'off'rather than respawn. Do an init q and kill any getty's associated with the device. You are then set to run holdport.
Hope I haven't confused you too much, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 05:33 PM
06-12-2001 05:33 PM
Re: Dialing beeper or cell phone
For some reason the attachment failed; here's attempt 2.
Clay