homepage Welcome to WebmasterWorld Guest from 54.196.201.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
More sophisticated website error monitoring?
yosmc




msg:3831244
 1:49 pm on Jan 21, 2009 (gmt 0)

I am looking for ways to track site errors via an external service, and receive an email notification when they occur.

I know there are monitoring services that simply visit a site from time to time, and send a notification when the site isn't available, or if the page can't be found. What I'm looking for though is a monitoring service that'll notify me e.g. in case of a mysql problem (but where the server still returns a "page found"). The most basic approach would be a notification if the page is smaller than a certain size, e.g. if the page size suddenly drops way below 10k then it's obvious that there's some problem (like the page only displaying a "couldn't connect to database" error). Of course, a more sophisticated version could also scan the page content for signs of an error.

Does anyone know if a service or script like that exists? Thanks!

 

mark_roach




msg:3831346
 3:40 pm on Jan 21, 2009 (gmt 0)

If you have access to the code it should be fairly straight forward to trap a database error and send an email with the details.

Alternatively you could use a perl script and LWP to retrieve the page yourself. You can then either check the length or scan the text.

I have just posted a related question which you might be interested in here [webmasterworld.com]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved