Operating System - HP-UX
1838381 Members
3371 Online
110125 Solutions
New Discussion

Sending a message to a pager

 
Marie H. Saldana
Occasional Contributor

Sending a message to a pager

I would like to configure a K250/9000 to send a message to a pager if a filesystem
gets to filled or if the power if lost.

Are ther any ideas on how to do this?

Thanks
8 REPLIES 8
Rick Garland
Honored Contributor

Re: Sending a message to a pager

There are various packages available to do this. Going with the most simple, if your pager supports alpha messaging and you can send via e-mail, you can just send a mailx message to the pager.

This assumes that sendmail is always up and running. Some other packages available use a modem hooked up to a system. When a condition is met, a page is sent via the modem to the paging service. One such package is TelAlert. This is a cost package but should do what you want.

There are many avenues available and the choice will depend on your environment.
Kofi ARTHIABAH
Honored Contributor

Re: Sending a message to a pager

Hi:

check the thread:

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xeff06c96588ad4118fef0090279cd0f9,00.html

I have a script that will generate a page to a numeric pager. In combination with a cron job that does regular checks, you can get it to page different call codes.
nothing wrong with me that a few lines of code cannot fix!
Alan Riggs
Honored Contributor

Re: Sending a message to a pager

Most paging services these days will accept an meail drop. Simply use sendmail/elm/mailx to send a message to the pager's mail drop. Voila.
f. halili
Trusted Contributor

Re: Sending a message to a pager

You can send to a pager as long as your server is configured to send outside email using sendmail, and yuo have a pager which can receive e-mail.

Here's an example:

# mailx -s "subject" recepient_email_address < logfile_which_contains_message
derekh
Marie H. Saldana
Occasional Contributor

Re: Sending a message to a pager

O.K. call me dummy, but I don't have a clue of how to do any of this.

Rick G - Do I have to purchase a mailing product?
Kofi A. - I looked at the thread and did not see how to send a numberic page?
Alan R. & Fnhalili - How do you know if the server is configured for sendmail. I greped
for sendmail and received "sendmail: accepting connections:" does this mean it is?

I feel as though I'm missing something
Rick Garland
Honored Contributor

Re: Sending a message to a pager

No you don't have to purchase anything if you are using the standard sendmail.

However, if you have a flaky sendmail process you may want to purchase a product that will contact a modem on the system, the modem dials out to the pager, and the page message is sent. (This is only if you feel sendmail is not a good enough process for the procedure.)

Initial, nothing is needed for purchasing. sendmail is part of the UNIX distribution. You may want to test this using the info from the other messages in this post. That is, sending pages out via the sendmail process.

Check with your paging service to see if they are setup for pages via e-mail. Most are but not all of them.
Rick Garland
Honored Contributor

Re: Sending a message to a pager

One other thing, the 'sendmail: accepting connections' is the process that indicates sendmail is running.
f. halili
Trusted Contributor

Re: Sending a message to a pager

1) Test sendmail if it could send to a local user in your box.

# date | mailx -s "Local sendmail Test" joe

If this works then you have sned mail working locally.

2) Test sendmail for outside mail

# mailx -s "Test from my local server" joe@hotmail.com < test_file

If this works then you can send email outside.

3) Most pagers by default ( just ask for the plan ...) supports email ... let's say you can page a pager 123456@pagerservice.net

# mailx -s "test mail" 123456@pagerservice.net < test_file

If this works then your ok and you don't have to buy any paging software.....enjoy

- fnhalili
derekh