Watchdog programming resources for a complex system

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

0


a source to share


2 answers


I think you are asking about health monitoring . Here's the online documentation from MSDN on built-in health monitoring in .Net. Among other things, this allows you to define rules to audit specific events, such as errors in the application or failed login attempts.



0


a source


My favorite method is to send WM_COPYDATA messages from the application that is monitoring the application you want to monitor. Send a message (with timeout) and see how long it takes to get a response. When this answer is out of range, abort the process.



I've used this block of code as a basis for this for a long time. I don't know how it started, but it was what he first wrote.

0


a source







All Articles