Monitor Cache Performance Using the NCache Monitor Custom Dashboard
You can add a custom dashboard to set up the Counters for monitoring according to your own requirements.
Prerequisites to Monitor Cache Performance Using the NCache Monitor Custom Dashboard
- Please ensure that the time on your server machine and the machine where the NCache Management Center runs is synchronized with the World Clock Time.
- Ensure the NCache Service is started. If not, proceed with the following:
In the command line tool of your choice, enter the following command:
Start-Service -Name NCacheSvc
For .NET Core, make sure that you run the NCache Service as an administrator. Here are the steps to do so:
- Open the Services Window and look for NCache in the list.
- Right-click on NCacheSvc from the list and choose Properties.
- Go to the Log On tab and click on the Browse button.
- In the object name field, type Administrator and click on the Check Names button.
- It will pick the appropriate Administrator, then click OK.
- Now, set a Password and click OK.
- Right-click on the NCacheSvc and choose the Restart option. Now your service will start running as an administrator.
In order to monitor the cache counters in a custom dashboard, follow the steps below:
Note
You can create a custom dashboard for different store types by following the same steps.
Create Custom Dashboard
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and Linux.From the left navigation bar, click on the Clustered Caches or Local Caches based on your requirement.
- Click on the "..." button on the right corner against the cache name and click on Monitor Cluster. Make sure that the cache is already running.
In the new tab, you will see a sign in the top bar.
On pressing the "+" button, a text box for the dashboard name and the view will be provided.
Provide the name and view. Then click Create.
You will get a success message displayed on the screen at the creation of the dashboard.
Monitor Cache Counters
- After the creation of the dashboard, open the Counter Panel by clicking on the arrowhead on the right corner of the page.
- From the list that will open, drag and drop the required counters from the Server or Client category.
- The custom dashboard after dragging the various Client or Server counters will look like this:
Monitor Client Processes of Clustered Cache
The Client Process control shows the details of running client applications against the current cache. These details include the client IP, process ID, port, and server IP which this client application connects to, and the bytes sent/received by each client.
Follow the steps below to monitor the client processes:
In your custom dashboard, open the Control Panel by clicking on the arrowhead on the right corner of the page.
From the list, drag and drop the Client Processes under the Server list.
Information on all the currently connected clients will be displayed in the Client Processes control for the current cache.
Monitor ASP.NET Sessions
Using the NCache Monitor, you can also monitor the ASP.NET Session Counters. Currently, you can monitor the ASP.NET Requests/sec, ASP.NET Pending Requests, and ASP.NET Total Session counter in the Cache Monitor. Controls for these counters exist in the Toolbox under the Client category.
See Also
Monitor with Built-In Dashboard
Monitor Caches using NCache Monitor
Monitor Cluster Connectivity
Monitor Using Test Stress