Solved

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

746 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