Python script for server ping alerts on linux machine using multi threads, this uses linux sendmail for sending mail
nohup python serveralerts.py &
The python script will be run in an infinite loop , so it'll be always be listening up/down status of the given websites