Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The company i'm doing contract work is using Windows NT servers for a handful of legacy clients / website hosting. Brilliant.

Anyway, One these Windows NT servers, occationally the "World Wide Web Publishing Service" will crash, and there's really nothing we can do about it, per it being crappy old software that required IIS 4.0 and Netscape Application Server 4 for clients who refuse to upgrade.

Basicly what the software does, is it checks a address, makes sure it loads, and then makes sure it matches a certain "string", to verify the contents of the page contain what their expected to contain.

If it fails the content check, or fails to load entirely, It will reboot the WWWPublishing Service, and send an email to the admins.

Several years ago the company who wrote this software closed its doors, and in doing so, their SMTP servers. So now this software cannot send emails, not an issue because i trust Nagios more anyway. Whats concerning is it also has a tendency to crash or be inaccurate if a website is down (almost like its viewing a cached version instead of the live site.) I'd also like it to be a service so i can reboot the server and have the watchdog start on boot instead of having to launch the program, and hit "start" every time. (This is actually just me being lazy and wanting a "chkconfig Watchdog on" command.... :/)

alt text

Above is a screenshot of the software just viewing google.com for an example.

Anyone know of any replacement software that works in Windows NT sp6a?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I'd think you could cobble a script together with wget, the Windows find command, sc to control the remote service (or a "kill" utility like pskill if the remote service is hanging), and the Non-Sucking Service Manager to run the thing as a service. A batch file would probably be enough.

(I'd probably get fancy and to the HTTP in VBScript with the Msxml2.XMLHTTP object in lieu of wget, and regexp matching in the output...)

share|improve this answer

Nice antiques there. You may be better served by putting fake entries in the hosts file for the missing SMTP servers. That just might let the software deliver emails. It's worth a shot, and can be done pretty fast.

share|improve this answer
    
Yea, the email side i really couldn't care about, as i have nagios monitoring their entire network, so i know when things happen. I'm more interested in alternative software in terms of auto-starting (so if i reboot the server i dont have to manually login and start the watchdog every time) and something more reliable, as "Web Server Watchdog" as caching issues frequently. –  GruffTech Dec 28 '09 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.