We have used all sorts of commercial monitoring in the past, but none of them were perfect, we needed to know if the web server, cf server and sql server were communicating and playing together nicely - not just a ping, who cares if the server responds to a simple ping when the cf server has puked or the database server is down - so we built our own solution and it is very very easy (that is of course if you have multiple servers)
In a nutshell here is what we did. On the server pair we want to monitor, we created a database with a simple table and line of text in it, something like "Server Name is UP" Then we create a simple cfm file on the server that queries the sql server and outputs the text on the page. Then we create a cfhttp file on a different cf server and schedule it to run every 2 minutes (we actually have a 3 or 4 servers all checking each other, from inside and outside the local network) that gets the text and parses it, looking for the line of text that was pulled from the database if it finds it, great, if not - we rerun that query with a longer timeout, if the text is still not found, we do a cfmail to our pagers and include which server is sending the message, and which server is not responding. we actually have bunch of cf servers running, but you could get cf express (i think it includes cfhttp and cfmail, never used it) and schedule the file on many workstations, from inside the local network and outside the local network. this allows us to test the web server, cf server, sql server, and internet connection all in one simple test, and by using timeouts on the queries, we can even tell when it is running slow, as opposed to down, all with limited overhead. we have been doing this for months now, and it has been working great. kirk ----- Original Message ----- From: "Dan Phillips" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, April 05, 2002 8:51 AM Subject: RE: Site monitoring > I want to monitor it's uptime. That way if my server goes dead at 4am, I can > get an email alert and search my logs to see what happened. > > -----Original Message----- > From: Alex [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 11:23 AM > To: CF-Talk > Subject: Re: Site monitoring > > > what do you want to monitor? That the site is still up? Or OS statistics? > Or web traffic? What? > > > On Fri, 5 Apr 2002, Dan Phillips wrote: > > > Can anyone tell me of a service out there like Netwhistle? I used to use > > them from time to time to monitor my server at home but it seems they are > > out of business. > > > > Thanks! > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

