Solved

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

Posted on 2000-04-18
4
234 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now