[LUNI] Signs of system failures.

Ramin K ramin-list at badapple.net
Thu Aug 16 14:30:12 CDT 2007


Richard Reina wrote:
> I have a small LAN (about 10 machines) and was hoping to write a perl
> script that sends me an email if a machine goes down?  Does anyone
> know where I can find examples of such scripts?

Install Nagios which is a framework of Perl scripts designed to do just 
this. You can also monitor servers, databases, printers, whatever. 
Decide when alerts should be sent, like to email during 9-5 or to your 
phone in off hours. It's also do dependency paging so if a server fails 
you won't get ten messages bout each service on that machine failing. 
It's pretty slick.

However, it's a bit complicated to get going. I'm out of town this 
weekend, but I can dig up a recent config and package it a bit for you 
next week if you're interested. Working configs will make getting the 
whole thing up and running much easier.

Ramin


More information about the luni mailing list