I know this is an old post (15.5+ years) but wanted to mention something I implemented myself within the last few years.
My client complained that, at certain times of the day, the web site would be inaccessible; I.T., naturally, denied there was any issue.
In response, I wrote a simple VFP program that would display a form. When my client clicked on the [Start] button, the form would then fire off a timer at the user-specified interval (since he suspected that the slowdown only occurred sometime during the afternoon, he only ran the form every afternoon [not all day long]); here were the choices:
- Every 30 seconds
- Every minute
- Every 1.5 minutes
- Every 2 minutes
- Every 2.5 minutes
- Every 3 minutes
Each interval, the timer would ping the web site (via a call to IsNetworkAlive [in Sensapi.dll]); I would then record the following in a table:
- the date/time immediately before pinging the web site
- the date/time immediately after pinging the web site
- whether the ping was successful or not (i.e., were we able to access the web site at that exact time)
Armed with the resultant raw data that was collected, my client showed that data to I.T. They obviously couldn't deny it anymore <g> ... shortly thereafter, the daily slowdown in the afternoon no longer occurred.
Nice to be able to leverage the power of VFP for this scenario ...
Art Bergquist
Sent by FoxWeb Support on 01/03/2002 08:52:10 PM:
There are several monitoring products available, specifically designed to test the health of Internet and other services. Most of these products can be configured to test for specific responses from a Web server, so they can be used to check the status of FoxWeb channels.
All you need to do is create a FoxWeb script, which returns a status string, such as "Everything tested OK". You can then configure your testing software to call this script every few minutes and send you e-mail, possibly to a cell phone or alpha-numeric pager, if it does not receive the required response within a predetermined timeout.
We use IP-Sentry (
http://www.ipsentry.com) for our own monitoring purposes, but you can use any one of a large list of products. A good place to look is www.tucows.com.
FoxWeb Support Team
support@foxweb.com
Sent by Jeff Grippe on 01/01/2002 07:35:35 AM:
Hello All,
This may not be a FoxWeb question as much as an NT or IIS question but I thought the answer would be interesting to FoxWeb Users.
I find that there are times that my server has gone down. I usually learn this when a client calls and can't access the site.
Is there any way to write a script which would run on some other machine that has access to the internet which could poll the status of IIS and FoxWeb and notify me when the server or application has gone down?
The notification part I could do using jabbercentral.com and their web service instant message system but how would I write code to detect the status of the web server?
Would I need to write a web service client to run on the server to return the status? Does FoxWeb have any web service features incorporated into it or would I use the MS SOAP tools and VFP 7.0?
Thanks,
Jeff