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.

Windows server 2003/2008 + ASP.NET website

Typical web server monitoring system is capable of monitoring the availability of web page, latency. What I am looking for is something that can monitoring the connection between web server and database. Once the DB instance goes down, send notification email. Can the community give me some suggestions? Thanks.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

If you need explicit database monitoring you need to install a probe on your server (nagios etc)

But: You can create a super-simple asp.net page that connects to your db. If this connection fails the page will not load => it can be monitored with any website monitoring system.

Same approach is shown here (just with diskspace instead of db connection):

http://blog.alertfox.com/2011/01/monitoring-disk-space-and-other-status.html

share|improve this answer
add comment

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.