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....
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
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 |
|
|||
|
Quote:
Code:
while true; do echo quit | nc nixcraft 8080 &>/dev/null || echo "server down " | mail -s "server down " admin@mailbox.com sleep 60 |
![]() |
| Bookmarks |
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 | 03-15-2007 02:37 PM |