Once you have Kentico performance counters registered in Windows, you need to enable Health monitoring in the Kentico settings:
- Open the Settings application in the Kentico administration interface.
- Select the System -> Health monitoring category.
- Select the Enable health monitoring checkbox.
- Click Save.
You can also adjust additional settings related to performance counters:
Enable health monitoring
Indicates if monitored values are written to both General and Site performance counters related to this instance of Kentico. If disabled, no values are written to any of these performance counters.
Application monitoring interval
Time interval (in seconds). In this periodic interval, the application reads monitored values and writes them to performance counters.
Use external service
Indicates if the external Windows service is used to read and write monitored values to the Scheduled tasks in queue, E-mails in queue and Error e-mails in queue performance counters.
Service monitoring interval
Time interval (in seconds). In this periodic interval, the external Windows service reads monitored values and writes them to performance counters. If you are using the Health Monitoring Windows service and change this value, it is necessary to restart the Windows service in order for the new value to be used.
Enable site counters
Indicates if values are written to site specific performance counters. If disabled, values are written to general counters only.
Restarting health monitoring after a license change
To use health monitoring, your site must have a valid Kentico EMS enter a new license key, health monitoring remains disabled until you restart the application:. If your license expires (or you remove it manually), all health monitoring performance counters stop working. After you
- Open the System application in the Kentico administration interface.
- On the General tab, click Restart application.
Once the restart finishes, the health monitoring functionality will start working again.