health-monitoring

How do you log errors (Exceptions) in your ASP.NET apps?

Hi, I'm looking for the best way to log errors in an ASP.NET application. I want to be able to receive emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our own ErrorMailer, catching everything in the Global.asax Application_Error. It was "Ok...

What are the requirements for an application health monitoring system?

What, at a minimum, should an application health-monitoring system do for you (the developer) and/or your boss (the IT Manager) and/or the oeprations (on-call) staff? What else should it do above the minimum requirements? Is monitoring the 'infrastructure' applications (ms-exchange, apache, etc.) sufficient or do individual user applic...

Does ASP.net health monitoring work with asmx web services

I'm trying to use ASP.net health monitoring to log unhandled exceptions from an asmx web service. I've enabled health monitoring in the web.config but it's not logging anything. Does health monitoring work with asmx web services? I've googled around and seems other people have asked the same question but never got a definite answer. ...

OpenSource tools/services for server monitoring

I'm looking for an OpenSource server monitoring tool that allows the following: Monitor a variety of services on TCP, UDP. Supports custom port numbers. Supports some basic response checking (beyond initial connection checking). Basic dashboard overview of health status. Alert notifications via e-mail. I could roll my own, but want t...

How to have a computer flash a light

I'd like to have an application monitor written in C# monitoring a set of Forex trading positions. It would be connected via USB to a real set of "traffic lights" sat on a desk which it would use to indicate system status. Can anybody suggest a good solution? ...

ASP.NET Logging - log4net or health monitoring?

I'm looking at a fresh asp.net site in 3.5 that has absolutely no error handling or logging. What are some good options for logging and handling errors? I've used Log4Net on the 1.1 framework but hear there are potentially better options in 3.5. ...

May i config healthMonitoring for classic asp in ii7?

I see that for showing error of classic asp in ii7 i must use web.config with configurations for asp.net like this: <system.webServer> <httpErrors errorMode="Detailed" /> <asp scriptErrorSentToBrowser="true" /> </system.webServer> BUT: may i use healthMonitoring in classic asp for getting e...

Resources for Programming a 'Watchdog' for a complex system

I have to write a service to monitor a complex system. I searched Google for some articles, but didn't find exactly what I was looking for. Does anyone have any good resources for writing a service to monitor a complex system? ...

ASP.Net healthMonitoring with AJAX

Currently, in all of our environments we have healthmonitoring turned on to alert us when ever a user has caused an error: <healthMonitoring enabled="true"> <providers> <add name="MailWebEventProvider" type="System.Web.Management.SimpleMailWebEventProvider" to="[email protected]" from="[email protected]" buffer="false" subjectPrefix="pr...

ASP.NET Health Monitoring configuration, valid values for the "eventName" attribute

What are the valid values for the eventName attribute when configuring Health Monitoring? <system.web> ... <healthMonitoring enabled="true" heartbeatInterval="0"> <providers> <add name="exampleMailWebEventProvider" type="System.Web.Management.SimpleMailWebEventProvider" to="[email protected]" from="erro...

HttpRequest object in HealthMonitoring

I'm setting up some health monitoring for an asp .net 2.0 app. I'd like to be able to pick up the original web request object. I'd like to be able to inspect the headers sent through and if possible any post data. I currently have a event provider that inherits from WebEventProvider, but this does only includes the HttpWebResponse data...

How to integrate axd (Elmah) as component in ASP.NET MVC site

I have Elmah up and running in my ASP.NET MVC site and I would like to integrate its interface with the administration pages of the site. By default, you invoke the interface with the url ~/elmah.axd, which runs outside the MVC system. The installation requires you to tell MVC to ignore the route, so there's no controller or anything tha...

What's a good strategy to restart downed FastCGI processes automatically?

I've got a Perl based FastCGI app that rarely goes down. However, when it does go down, the restart is not automatic. Restarting Apache manually always does the trick but that does address improving the uptime of the app. I'm thinking of using a cron job in conjunction with a script that uses WWW::Mechanize to periodically check on the ...

Simple Server Monitoring with Java

I'm trying to find a solution that allows me to monitor resource consumption of a server. Preferably, the metrics I'm wanting to obtain are network utilisation IO, and if possible CPU usage/load average and disk IO. The only other requirement I have is that this information be obtainable by Java so it can be manipulated, and at least wo...

Automatically logging unhandled exceptions without using try/catch

So I want to be able to just log all unhandled exceptions to the event log without having to catch all the exceptions manually and write them out. I wanted to use the health monitoring functionality within a WCF service, the problem is that this only catches errors generated by asp.net and I specifically want to also catch SPException e...

.Net MVC App is constantly compiling - how do I find out why?

I am using health monitoring on a site and it seems to recompile every minute or so or even more often. I do not always lose session state though. Here is my Health Monitoring code from my web.config <healthMonitoring enabled="true"> <eventMappings> <clear/> <add name="All Errors" type="System.Web.Management.WebBaseErrorEv...

Hosted app status dashboard.

I wish to provide a status dashboard to users of my SAAS internet application similar to the status dashboards provided by Google and Amazon. Does anyone know of a ready-made 3rd party hosted service supporting such an interface? Google example: http://www.google.com/appsstatus#hl=en Amazon Example: http://status.aws.amazon.com ...

Add columns to SqlWebEventProvider

In an asp.net application, we'd like to use the SqlWebEventProvider to log any Event that occurs during the application lifetime. The problem is that we think that the table aspnet_WebEvent_Event doesn't provide enough columns and should log more information (we need to keep the Logged user). I'm aware that this information could be sto...

Accessing HealthMonitoring Provider settings programatically

I have set up ASP.Net health monitoring in web.config: <healthMonitoring enabled="true"> <providers> <clear /> <add name="CriticalMailEventProvider" type="System.Web.Management.SimpleMailWebEventProvider" from="[email protected]" to="[email protected]" bodyHeader="Application Error!" bodyFooter="Please investigate ASAP." subjectPrefix="...

Acer Aspire One AOA 150 netbook health monitoring Gui

I have a Acer Aspire One AOA 150 with Windows Xp Home. I want to write a simple GUI taskbar applet on Windows Xp and Windows 7 which can monitor the voltages from the power supply, the temperature of the system,S.M.A.R.T. hard disk temperature data and the CPU and fan speeds. Much like the functionality of GKrellM, a GTK applet designed ...