What's missing from ASP.NET Health Monitoring and ELMAH?

by Alex Fedotyev 15. December 2009 14:23

In our previous post, we provided an example of a security issue that could not be diagnosed solely with event details collected by ASP.NET health monitoring. Some developers have asked us about the open source Error Logging Modules and Handlers (ELMAH) and how that would have helped in this same situation.

ELMAH is becoming a popular tool for error logging. Many find it more flexible and easier to use than ASP.NET health monitoring. Both tools provide good visibility into application health state changes, including start, shutdown, heartbeat, audit messages, etc. ELMAH extends the exception problem details available via health monitoring to include the ability to log error data from custom error handlers.

The ELMAH API also provides support for different data storage methods and web-based access for error data. In production environments, this data often helps improve and speed support team access to error data.

This information is very valuable for troubleshooting efforts. However, AVIcode's ability to collect runtime parameters that are passed through the methods in the call stack makes root cause diagnosis much easier and more straightforward than health monitoring and ELMAH. In addition, AVIcode's monitoring solutions provide greater visbility into all the problem details for both handled and unhandled exceptions, as well as performance problems. These details can also be consolidated and correlated with key performance counters over time to provide a more complete picture of application behavior and its effect on the IT environment.

One common example of a typical exception that is very difficult to diagnose with ELMAH or other standard error logging APIs is a NullReferenceException. For this (and all other) application problems, AVIcode collects the runtime parameters and member variable values, enabling analysis of the code stack and determination of the application health state. The screenshot below shows a typical example with the AVIcode collected data. 

In addition, AVIcode enables linking to the PDB file, even after data is collected in production, in order to show the source file name and precise line number where the exception occurred. This is accomplished without the PDB files needing to be deployed to a production server, which is typically against corporate IT policy and certainly not recommended. 

Another advantage that AVIcode provides over ELMAH is a secured, centralized web console for managing data access.  The AVIcode console can be integrated with Windows or Forms authentication and allows for differentiating access privileges based on logical hierarchies and account/application log access rules.  The console is web-enabled, so authorized users can view, search, filter and group data by various parameters. For example, grouping errors by unique issues, with a count of instances or occurrences, helps to eliminate the clutter created by multiple instances of the same error.

Share or Bookmark this post…
  • Digg
  • TweetThis
  • Facebook

Comments

1/12/2010 8:38:12 AM #

health

this is a good website

health United States | Reply

1/18/2010 5:24:18 PM #

CRM-home

i know but what do you recommend....health monitoring or ELMAH....some people have recommended one and some the other whats your say??

CRM-home United States | Reply

1/25/2010 3:07:58 PM #

Cosmetic Skin Treatments


That's really a good post, i have also searching about that and find some new ideas that is very helpful.I really appreciate work done on this blog. Going great man! keep it up.

Cosmetic Skin Treatments | Reply

2/11/2010 11:33:35 AM #

Phenocal

This information is very valuable for troubleshooting efforts.Their is a good information is given,I really admire with this.Great info about that -  "ASP.NET Health Monitoring and ELMAH?".
Thanks

Phenocal United States | Reply

2/22/2010 1:17:09 PM #

San Francisco Cosmetic Surgeon

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

San Francisco Cosmetic Surgeon United States | Reply

6/1/2010 8:22:47 AM #

trackback

health insurance

Choosing a good individual health care protection provider can save you thousands of dollars in health costs. Count on spending a fair amount of time studying for the trusted quote from an individual care medical protection provider. By using the world wide web, anyone can easily get individual health protection insurers. Search engines, medical coverage information websites and company websites are some of the few ways of comparing prices for individual health protection companies.

health insurance | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



©2009 AVIcode Inc.   All Rights Reserved