Solved

How can I get notified when the system is in trouble when I am at home?

Posted on 2000-04-18
4
241 Views
Last Modified: 2010-04-21
Anybody knows if there is any tools capable of  auto-paging for me when any events happen on UNIX servers?   If there  is an internal modem on one of UNIX server, can I use kermit to do this?
0
Comment
Question by:shiqi
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
festive earned 30 total points
ID: 2726496
There are many ways of doing this:
Here are some:

1) install swatch to watch your logfiles such as /var/adm/messages or syslog etc. It has a pager utility called call_pager (or something very close)

2) setup your systems to send email to an account called something like "critical_error" and have in your /etc/mail/aliases file an alias for your real email address, ie error occurs and you get an email.

3) connect a modem to the system (setup as dial-out only) and get it to phone you (this will result in a squealing call at some time in the day/night)

4) use something like www.smsmebaby.com to send SMS messages to your mobile phone (very cute).

I have used each of the above at varying times in the past with varying degrees of happiness.

Hope these have helped.
0
 

Expert Comment

by:vgerman
ID: 2732019
Not sure if you ever hear of BigBrother before -It's an excellent tool.
It will do for you what you're asking for plus a lots of other things.
I shall confess never seen anything better.  Lacation
http://bb4.com
0
 

Expert Comment

by:kslzzg
ID: 2733549
1) Where can I download "swatch"?
2) I need to be called even when I was sleeping, but I cannot just keep
waiting for emails without sleep.    We should also add in additional step
,  that is to contact the local vendors who can  provide such service---page for you if you  get emails.
3) As I mentioned above, I have an modem connected to one of our UNIX Servers, but how can I get it to phone me automatically and what can I hear from the machine?

As for other internet resources, I am still exploring.  I will express my opinion later.
0
 
LVL 2

Expert Comment

by:festive
ID: 2734169
1) http://www.cerias.purdue.edu/coast/archive/data/category_index.html

2)No problem: can send email and phone etc, as you can run scripts and programs based upon some event in any logfile this is easy.
Most ISP's allow forwarding of email to SMS messages: this means that you could have the messages displayed on your mobile phone: this also acts like a pager and means that you do not have to be near your home in order to receive the call, alternatively just get your unix box to phone your mobile.

3) from the unix box get it to dial (using "cu") ie something like:
cu -s14400 -pcua/a yourhomenumber

what you will get is your modem suealing at you on the end of the phone: you could setup your PC at home running HyperTerm or alike to alert you upon a valid connection, but a squealing phonecall is usually enough to get me out of bed: <tip: try experimenting with different speeds, as some _sound_ better than others>
you could also experiment with DTMF tones, I personally have not tried this but may sometime soon.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question