Linux / UNIX Tech Support Forum
This is a discussion on URL testing within the Shell scripting forums, part of the Development/Scripting category; Hello,, I need script which send me email if specific URL using 8080 port goes down. e.g http://nixcraft.com:8080 Thanks....
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,,
I need script which send me email if specific URL using 8080 port goes down. e.g http://nixcraft.com:8080 Thanks. |
| Sponsored Links | ||
|
|
|
||||
|
Use tool called monit
Monitor and restart Apache or lighttpd webserver when daemon is killed
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Quote:
Code:
while true; do echo quit | nc nixcraft 8080 &>/dev/null || echo "server down " | mail -s "server down " admin@mailbox.com sleep 60 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Web stress testing tool | zafar466 | Windows Xp/2000/2003 server administration | 0 | 15-03-2007 01:37 PM |