PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Webserver Down Notification
Webserver Down Notification
Débuté par Glenn Rathke, 08 juin 2008 01:33 - 6 réponses
Posté le 08 juin 2008 - 01:33
Hello,
I thought I remember seeing a utility that sends a notification if the WebDev Server is down. But I don't remember where.... Anyone?
Thanks
Glenn
Posté le 08 juin 2008 - 01:34
Hi Glenn, you can write that yourself with WinDev as a Windows service. Just ping the server IP regularily - either use WinDev command ping(..) or ping.exe. If you cannot reach the server, you could even a mail, start an alarm, whatever .. Regards, Guenter
Posté le 08 juin 2008 - 01:34
Hi,
Thanks, but I don't think it is that simple. It's possible that the WebDev Server software is not started and yet the server hardware is. In that case, a ping will be returned. Or in my case, my IP address is dynamic and is resolved using DNS2GO. If my server is down, hy domain name then would be pointing to the DNS2GO server and not mine, and I'm guessing it would still respond to a ping.
I'm looking for a way to actually find if the WebDev Application Server software is up and running and available from the outside.
Thanks again,
Glenn
Posté le 09 juin 2008 - 01:36
OK, you could have a hidden static page unique to each webdev site. use httpgetresult in your new Windev system service to check that it doesn't change. If it's different then something's wrong.
Just an idea
Cheers
Bob
Posté le 09 juin 2008 - 01:36
Hi Glenn,
you could use Nagios-Monitoring. This system is able to check standard internet services and also to check http-services with response strings. In your case i would call the WebDEV Version URL (http://yourserver.com/WD110AWP/WD110Awp.exe/version) and check the responses.
Look at: [url=http://www.nagios.org]http://www.nagios.org/[/url]
Best regards
Andreas
Posté le 10 juin 2008 - 00:39
Hi Glenn...
I don't remember precisely where, but I confirm that there is an utility coming with webdev that does precisely that... Monitoring your web sites... I would have a look inthe toll menu and the different control centers first
best regards
Fabrice Harari
[url=http://www.fabriceharari.com]WinDev, WebDev, WinDev Mobile video courses[/url]
Posté le 10 juin 2008 - 00:40
I found the WDMonitoring/WDSurvellance tool in the WDTool.
Glenn