Monitor with NCache Monitor Custom Dashboard
You can add a custom dashboard to place the counters for monitoring according to your own requirement.
Pre-Requisite
- Please make sure that the time of your server machine and the machine where NCache Web Mnager is running is synced with the World Clock Time.
- Make sure NCache Service is started. If it is not started, do the following:
In PowerShell, enter the following command:
Start-Service -Name NCacheSvc
For .NET Core, make sure that you run NCache service as an administrator. Here are the steps to do so:
- Open 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 NCache service and choose the Restart option. Now your service will start running as administrator.
In order to monitor cache counters in custom dashboard, follow the steps below:
Create Custom Dashboard
Launch NCache Web Manager by browsing to
http://localhost:8251
(Windows) or<server-ip>:8251
(Windows + 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 plus button a text box for the dashboard name and the view will be provided.
Provide the name and the view and 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 arrow head on the right corner of the page.
- From the list opened, drag and drop the required counters from the Server or Client category.
- The custom dashboard after dragging various Client or Server counters will look like this.
Monitor Client Processes of Clustered Cache
Client Process control shows details of running client applications against current cache. Details include client IP, process ID, port, server IP with which this client application is connected and Sent/Received bytes by each client.
Follow the steps below to monitor the client processes:
In your custom dashboard, open the Control Panel by clicking on the arrow head on the right corner of the page.
From the list, drag and drop the Client Processes under the Server list.
Information of all the currently connected clients will be displayed in Client Processes control for current cache.
Monitor ASP.NET Sessions
Using 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 NCache Monitor. Controls for these counters exist in Toolbox under Client category.
See Also
Monitor with Built-In Dashboard
Monitor Caches using NCache Monitor
Cache Counters
Monitor Cluster Connectivity
Monitor Using Test Stress