Kentico CMS 6.0 Developer's Guide

Overview

Overview

Previous topic Next topic Mail us feedback on this topic!  

Overview

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The Health monitoring module enables website administrators to monitor and record load and performance of a Kentico CMS instance. Monitoring itself is not integrated in Kentico CMS user interface — the module only stores monitored values about the system in Windows performance counters and therefore provides support for monitoring using an external application, e.g. the built-in Performance monitor in Microsoft Windows 7, Windows Vista or Windows Server 2008 R2. The module can be used only if the Kentico CMS instance is running in Full Trust environment.

 

devguide_clip1704

 

As mentioned above, monitored values are stored in Windows performance counters. The Performance counters overview topic provides overview of default performance counters that can be used out-of-the-box, as well as information on counters definition XML files, categories where the counters are stored, etc. While Kentico CMS comes with a pre-defined set of default counters, you are not limited to use just the default ones - in the Adding custom counters topic, you can learn how to implement custom performance counters tailored for your specific purposes.

 

The first thing to do when enabling Health monitoring of an instance of Kentico CMS is registration of the performance counters in Windows. This can be done three different ways, each of which is described in the Registering performance counters topic. Once the counters are registered, it is also necessary to enable Health monitoring in Kentico CMS settings, as explained in Enabling Health monitoring. When counters are registered and Health monitoring enabled, you can start using an external application to monitor the values. Basics of monitoring using the built-in Performance monitor are explained in the Monitoring using Performance monitor topic.

 

While most values are monitored and written to the counters by the Kentico CMS application itself, monitoring of some of them requires database access. To optimize performance in this case, it is possible to install a dedicated Windows service and let it handle monitoring of these values instead of the application. To learn more about how to Windows service can be installed, please refer to the Installing Health monitoring Windows service topic.