Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Closed Thread
Old 11-02-2004, 12:15 PM Site Uptime Program
cjvj's Avatar
Super Spam Talker

Posts: 850
Location: Guildford, UK
Trades: 0
Does anyone know of a program that I can install on my machine to check the status of my website?

Something that I could set to ping my site every few minutes...

I have DSL so I'm connected 24/7

Thanks
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
cjvj is offline
View Public Profile Visit cjvj's homepage!
 
 
Register now for full access!
Old 11-02-2004, 12:51 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Trades: 0
We use siteuptime.com

They have a free version that will check every hour, or you can pay to have it check more frequently.
Anacrusis is offline
View Public Profile
 
Old 11-02-2004, 02:03 PM
ldcdc's Avatar
Hosting watcher

Posts: 1,115
Name: Daniel
Trades: 0
Actually the free siteuptime's version checks at 1 hour or 30 minutes intervals.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ldcdc is offline
View Public Profile Visit ldcdc's homepage!
 
Old 11-02-2004, 02:09 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
I can probably create something like this. Infact it would be a nice learning experience. If I get something together I'll let post it here and let you all know.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Old 11-02-2004, 07:36 PM
Super Talker

Posts: 142
Trades: 0
Such programs only generate traffic to your site. Why do you need it?

Regards
D.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Leading Web Hosting Network
Find Reliable & Low Cost Service Providers
aeromit is offline
View Public Profile
 
Old 11-02-2004, 09:48 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
I whipped up something quickly. You can download it from here...

http://www.lightaudio.com/dl/UptimeStat.zip

You need the .NET Framework installed to run this app, oh, and if you would like to request a feature, please do, its pretty fun to play around with it.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Old 11-03-2004, 12:36 PM
Duport's Avatar
Ultra Talker

Posts: 323
Trades: 0
Nice little thing, maybe you could add some stats where you can display the results on a page - Also something that moves or is lite up when its checking the URL on the program so you know it is working
__________________

Please login or register to view this content. Registration is FREE
- Shared / Reseller / Cloud / VPS / Dedicated
Multiple Domain Hosting .... 24/7 Technical Support -
Please login or register to view this content. Registration is FREE
Duport is offline
View Public Profile Visit Duport's homepage!
 
Old 11-03-2004, 06:50 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Good suggestions....

I have added the feature so that when the website is up then the regular system tray icon is show, when minimized ofcourse. When the website is down a red flag icon is shown.

I have started working on stats to show in a seperate form, this may take me a couple of days. Other than that I am going to create a new checkbox to pick no alerts (if you want to just rely on the flag icon to tell you whats up.) I got rid of the stupid transparency slider, it was more or less just a learning experience for me, now that I know how to do it there is no sense in having it as a needless feature.

I should upload a new copy of this within a couple of days with these features. Oh, and I wanted to point out that this does not simply ping your webhost. Some hosts block ICMP requests so this would produce a false reading. What I do is connect to the actuall website on port 80 and grab the text. Then I just check to see if text exists, if not, I assume the website is down. So this will not account for mysql errors or file not found errors etc. I will add that feature soon enough though.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Old 11-04-2004, 02:33 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
http://www.lightaudio.com/dl/UptimeStat.zip

Ok, newest version up. Let me know what you think. I could not think of what kind of stats to include so more suggestions on specifics would be great.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Old 11-04-2004, 03:01 PM
cjvj's Avatar
Super Spam Talker

Posts: 850
Location: Guildford, UK
Trades: 0
Nice cptnwinky!

How about % failed? Just a thought....
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
cjvj is offline
View Public Profile Visit cjvj's homepage!
 
Old 11-04-2004, 09:42 PM
Duport's Avatar
Ultra Talker

Posts: 323
Trades: 0
OK nice, but still can we generate a daily, weekly, monthly report aswell,
so I can see the results on a webpage or something nd also so I can printout
the results easy.

Another idea, how about it adds and updates it on a webpage which I set to
display the results from the server. Would it be very easy to include a text message
to your mobile phone when your site goes down, once your site goes down you
set the amount of time before you would get sent the message for example 5mins
and then it sends out a text .. aslong as your PC's is on. Then if it comes back on you
after you get sent another text message


I found this


Code:
#!/bin/sh
# 
# Sample script to send an SMS email notifcation to SMS2Email's HTTP gateways

# Username and password associated with SMS2Email account
# Modify these values to match your account credentials if you don't want to
# specify them as command line arguments.
username=
password=

number=
message="Test message"



# Show usage if necessary
if [ $# -eq 0 ]; then
    echo "Usage: $0 -n [number] -m [message] -u [username] -p [password]";
    echo "";
    echo "[number]   = SMS number to send message to";
    echo "[message]  = Text of message you want to send";
    echo "[username] = Username assocated with SMS2Email account";
    echo "[password] = Password assocated with SMS2Email account";
    echo "               Both the username and password options are optional and";
    echo "               override the account credentials defined in this script.";
    echo "";
    exit 1;
fi


# Get command line arguments
while [ "$1" != "" ] ; do
    case $1
    in
	-n)
	    # Get the SMS number that we should send message to
	    number=$2;
	    shift 2;
	    ;;
	-m)
	    # Get the message we should send
	    message=$2;
	    shift 2;
	    ;;
	-u)
	    # Get the username
	    username=$2;
	    shift 2;
	    ;;
	-p)
	    # Get the password
	    password=$2;
	    shift 2;
	    ;;
	*)
	    echo "Unknown option: $1"
	    exit 1;
	    ;;
    esac
done


# We haven't sent the message yet
message_sent_ok=0;

# Try to send an HTTP POST message (try all servers until successful)
for server in gw1 gw11 gw2 gw22; do

    RESPONSE=`curl -s -d username=$username -d password=$password -d to_num=$number -d message="$message" http://$server.sms2email.com/sms/postmsg.php`

    # Curl was able to post okay...
    if [ "$?" -eq "0" ]; then

	# Test the response from the SMS2Email server
	case $RESPONSE
	in
	    AQSMS-OK)
		# Message was queued ok
		mesage_sent_ok=1;
		echo "Message posted OK to HTTP gateway $server"
		exit 0;
		;;
	    AQSMS*)
		# Some kind of fatal error occurred
		echo "Fatal error received from HTTP gateway $server: $RESPONSE"
		exit 1;
		;;
	    *)
		# No response or invalid response
		;;
	esac

    fi

done
http://$server.sms2email.com/


It is better now though
__________________

Please login or register to view this content. Registration is FREE
- Shared / Reseller / Cloud / VPS / Dedicated
Multiple Domain Hosting .... 24/7 Technical Support -
Please login or register to view this content. Registration is FREE

Last edited by Duport; 11-04-2004 at 09:45 PM..
Duport is offline
View Public Profile Visit Duport's homepage!
 
Old 11-05-2004, 12:32 AM
ZipServers's Avatar
Average Talker

Posts: 15
Trades: 0
www.failsafemonitor.com seems to be a good uptime monitoring service for your site.
__________________
ZipServers, Inc.
866-ZIP-HOST / 214-206-1701

Please login or register to view this content. Registration is FREE
ZipServers is offline
View Public Profile
 
Old 11-05-2004, 08:07 AM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Sending a text message and reports like that is beyond what I would like to do for free. No offense or anything, I just value my time, this was a good learning experience but I think I'll just post the source for anyone who wants it and leave it at that.

http://www.lightaudio.com/dl/UptimeStat-Source.zip
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Old 11-06-2004, 09:47 PM
Duport's Avatar
Ultra Talker

Posts: 323
Trades: 0
Thanks for the script, its great sorry for all the idea's I was just making them heard


Thanks again
__________________

Please login or register to view this content. Registration is FREE
- Shared / Reseller / Cloud / VPS / Dedicated
Multiple Domain Hosting .... 24/7 Technical Support -
Please login or register to view this content. Registration is FREE
Duport is offline
View Public Profile Visit Duport's homepage!
 
Old 11-06-2004, 10:22 PM
HostingCorral's Avatar
Banned

Posts: 77
Trades: 0
Nice little app, thanks i will use it.
HostingCorral is offline
View Public Profile Visit HostingCorral's homepage!
 
Old 11-06-2004, 10:26 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
No prob. I'm starting to really like the .NET languages.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
View Public Profile
 
Closed Thread     « Reply to Site Uptime Program
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40734 seconds with 12 queries