Solved

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

Posted on 2000-04-18
4
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
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.

735 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