Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Website Monitoring Tools DNN Website Monitoring Tools
Previous
 
Next
New Post
9/28/2012 9:08 AM
 

Hi, is there a way to monitor our DNN site and receive alerts on an email as soon as the site goes down? Should we contact the hosting provider? we have lost its connection to the database and had to reset it. Problem is that we didn't know how long the site was down which could affect our business and it's not the first time. Thank you in advance!

 
New Post
9/28/2012 10:04 AM
Accepted Answer 

If your site is loosing connections to the Database - there are not many site  monitoring tools that are that useful.  Since all most of them do is check to see if your site is responding to HTML requests with a valid 200 response - and dotnetnuke still responds by showing the site maintenance error screen - which is still a valid response.  Most site monitoring tools look from a 400 or page not found error.

But having said this - what you need to better understand is why you are loosing connections to the database.

In many cases this is actually because of an issue with how database connections are made in asp.net - and more to the point that under some circumstances - specifically when the host restarts the ms sql server while your web application server is still running - that you get into a weird situation where the application pool has no physical connection to the ms sql server - but because the server has not shut down correctly - asp.net does not know that it needs to reconnect to the ms sql server.

The only way to fix this issue is to force a restart of the asp.net application pool - effectively restarting the web server.  This action forces a new connection to the ms sql server.

A while ago Johnathan Sheely released a special module for DNN that helps with this issue - basically it sets up a custom background thread that runs while your web application is active - it check on a regular basis to make sure that it is possible to make a connection to the ms sql server.

If a connection cannot be made - it forces a restart of the web application pool.

You can download a copy of the module from here http://dnndbmon.codeplex.com/

NOTE however - that you should really talk to your hosting provider is this is happening regularly - its tends to be an indication that their MS SQL server is not performing at its optimum.  More to the point - it may be crashing and restarting itself - and this is not something that you want happening if you need a reliable and fast dnn site.

Westa

 
New Post
9/28/2012 1:20 PM
 
Westa,

Thank you so much for the helpful information. It looks like the module could do the job. Yes you're right. We'll definitely have to talk to our hosting provider if this happens regularly. Thanks again for your kindly help.

Hyun
 
New Post
9/28/2012 6:03 PM
 
I use Pingdom.com for making sure my website is up - it's very good.

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Website Monitoring Tools DNN Website Monitoring Tools


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out