• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • Cache Settings
  • Configuration Files
  • Server Side Configurations
  • Monitoring Config
Show / Hide Table of Contents
  • Administrator's Guide
  • NCache Architecture
    • Cache Topologies
      • Partitioned Topologies
      • Replicated Topology
      • Mirrored Topology
      • Scalability in Topologies
    • Dynamic Clustering
    • Local Cache
    • Cache Client
    • Client Cache
    • Bridge for WAN Replication
    • Connectivity with Load Balancer
    • Serialization Format
    • Data Encryption
    • Data Compression
    • Data Load Balancing
    • Pipelining
    • Cache Server Backward Compatibility
    • Client Backward Compatibility
    • Eviction
    • Indexing
    • Split-Brain
    • Maintenance Mode
    • Runtime Data Sharing
    • Portable Data Types
    • Class Versioning
    • IP Binding with Multiple NICs
    • Graceful Node Down
    • Separate Cache Host Process
    • Self Healing Dynamic Clustering
    • Distributed Cache with Persistence
  • NCache Management Center
  • Configure Caches
    • Create a Cache
      • Local Cache Overview
        • Local Cache
        • Local Cache with Persistence
        • Pub/Sub Messaging Cache
        • Add Existing Cache
      • Clustered Cache Overview
        • Distributed Cache
        • Persistent Distributed Cache
        • Pub/Sub Messaging Cache
        • Add Existing Clustered Cache
        • Troubleshooting
    • Remove Cache
    • Clear Cache
    • Add Server Node
    • Remove Server Node
    • Add Test Data
    • Configure Query Indexes
    • Configure JSON Query Indexes
    • Compact Serialization
      • Non-Generic Registration
      • Non-Generic Unregistration
      • Generic Registration
      • Using Type Handler
    • Deploy Providers
    • Configure Custom Dependency
    • Add Data Source Providers
      • Read-Through Provider
      • Write-Through Provider
      • Write-Behind Provider
    • Loader and Refresher
    • Configure Maintenance Mode
      • Stop for Maintenance Mode
      • Exit Maintenance Mode
    • Configure LINQPad
      • Configure LinqPad for NCache
      • Querying Data in LinqPad
  • Configure Clients
    • Add Client Node
    • Remove Client Node
  • Configure Client Cache
    • Create Client Cache
    • Create Client Cache with NuGet
    • Enable Client Cache on Client Nodes
    • Disable Client Cache on Client Nodes
    • Remove Client Cache
  • Management Operations
    • Start Cache
    • Stop Cache
    • Restart Cache
    • Manage Cache Service on a Server Node
    • Memory Dumps
    • Data Load Balancing
    • Invoke Refresher Dataset
    • Import/Export Cache Data
    • Suspend/Resume NCache Data Persistence
    • Backup and Restore NCache Persisted Data
  • Cache Settings
    • General Cache Settings
      • Cache Size
      • Cache Isolation Levels
      • Cache Serialization Format
      • Cache Data Expiration
    • Cache Cluster Settings
      • Ports
      • Operation Timeout
      • Configure Pipelining
      • Static Replication Interval
      • Connection Retries
      • Retry Interval
      • Split-Brain Auto Recovery
    • NCache Persistence Settings
      • Store Information
      • Persistence Interval
    • Error Logging
    • Cache Level Events
    • Client Activity Events
    • Eviction Policy
    • MapReduce
    • Register Classes for Portable Data Sharing
    • Compression
    • Email Notifications
    • Bind IP with Multiple NICs
      • Bind Cluster with a Dedicated IP
      • Bind Client/Server with a Dedicated IP
    • Heartbeat
    • Keep Alive
    • Client Death Detection
    • Communication Reliability
    • Auto Start Cache on Boot
    • Nagle's Algorithm
    • Dual Socket
    • Configuration Files
      • Client Side Configurations
        • Client Config
        • EFCaching Config
      • Server Side Configurations
        • Cache Config
        • Bridge Config
        • Modules Config
        • Security Config
        • TLS Config
        • Monitoring Config
        • Emails Template
  • Cache Server Settings
    • Server Connectivity
    • Bind to Multiple NICs
    • Server Ports
    • Memory
    • Custom Dependency
    • Request Inquiry
    • Windows Events
    • Message Events
    • Expiration & Eviction
    • SQL Server
    • Logging
    • Monitoring
    • Persistence Data Loading Retries
    • Miscellaneous Configurations
  • Bridge Server Settings
  • Cache Client Settings
  • Client Cache Settings
  • Configure Security
    • Configure Authentication and Authorization
    • Configure Encryption for Cache
    • Configure TLS Encryption
    • Configure HTTPS for NCache Management Center
  • Configure Bridge for WAN Replication
    • Create Bridge
    • Add Clustered Caches to Bridge
    • Configure Bridge Settings
    • Change Cache Synchronization Modes
    • Bridge Management
    • Synchronize Caches in Bridge
    • Leave Bridge
    • Remove Cache from Bridge
    • Configure Conflict Resolver
  • Setup Database for Cache Synchronization
    • Setup SQL Server Environment
    • Setup Oracle Database Environment
    • Setup OleDb Environment
    • Setup SQL Server for CLR Procedures
  • Simulate NCache Usage
  • Monitor Caches
    • Counters
      • Distributed Cache Counters
      • Distributed Cache with Persistence Counters
      • Pub/Sub Messaging Cache Counters
      • Cache Client Counters
      • Bridge Counters
    • Monitor NCache using the NCache Management Center
      • Using Tabular Statistics
        • Configure Counters to Display Caching Statistics
        • Configure Counters to Display Pub/Sub Statistics
        • Configure Counters to Display Bridge Statistics
        • Browse Cache Statistics
        • Monitor Bridge
      • Using Monitoring Dashboards
        • Configure Monitor Settings
        • Configure Event Logging
        • Configure API Logging
        • Monitor with a Built-In NCache Monitor Dashboard
        • Monitor with the NCache Monitor Custom Dashboard
        • Monitor Cluster Connectivity
        • Monitor Cache Clusters using NCache Email Alerts
    • Monitor Cache Using Command Line Tools
      • Monitor Cache Server Statistics with Command Line Tools
      • Monitor Cache Client Statistics with Command Line Tools
    • Monitor NCache Using Windows PerfMon Tool
      • Monitoring Cache Server Counters using PerfMon
      • Monitoring Cache Client Counters using PerfMon
      • Monitor Bridge Counters Using PerfMon Tool
    • Monitor NCache using Prometheus
    • Monitor NCache using Grafana
    • Monitor NCache Using SNMP Counters
    • Monitor NCache Using JMX Counters
    • Logging
      • NCache Log Viewer
      • Performance Counters Logging
      • Windows Event Logging
      • Cache Health Alerts
      • Email Notifications on NCache Events
      • Cache Server Logging
      • Client Side API Logging
      • Cache Event IDs
      • Feature Usage Logging
    • Troubleshooting NCache Monitoring
      • Computer Name Not Found
      • Diskperf Not Installed
      • No READ Access to Perflib Subkeys
      • Unable to Connect to Remote Server
    • IPV6 Support

Monitoring Config (monitoring.ncconf)

NCache is enriched with extensive features that boost your application performance. To ensure that NCache behaves exactly the way you want it to for utmost stability and performance, NCache provides a variety of monitoring counters. These counters are categorized as follows:

  1. NCache Server Counters: Counters to monitor the stats of cache servers.

  2. NCache Client Counters: Counters to monitor the stats of cache clients.

  3. NCache Bridge Counters: Counters to monitor bridge and bridge caches.

  4. NCache Distributed Cache with Persistence Counters: Counters to monitor NCache Distributed Cache with Persistence.

While monitoring NCache using the Prometheus tool, a metrics publisher is responsible for publishing counter stats on the NCache service. The decision of which counters will be published depends on the counters whose publishing is enabled. The monitoring.ncconf file shipped with NCache in the %NCHOME%\config file is used to configure the publishing of monitoring counters.

Note

You will find monitoring.ncconf at %NCHOME%\config in Windows or /opt/ncache/config in Linux.

Monitoring Config Syntax

The monitoring Configuration file is explained below.

<counters>
  <category name="NCache" publish="true">
    <counter name="Additions/sec" publish="true"/>
    <counter name="Average us/add" publish="true"/>
    <counter name="Average us/addbulk" publish="true"/>
    <counter name="Average us/cache operation" publish="true"/>
    <counter name="Average us/fetch" publish="true"/>
    <counter name="Average us/fetchbulk" publish="true"/>
    <counter name="Average us/insert" publish="true"/>
    <counter name="Average us/insertbulk" publish="true"/>
    <counter name="Average us/remove" publish="true"/>
    <counter name="Average us/removebulk" publish="true"/>
    <counter name="Cache Size" publish="true"/>
    <counter name="Count" publish="true"/>
    <counter name="Dictionary Count" publish="true"/>
    <counter name="Counter Count" publish="true"/>
    <counter name="Counter Size" publish="true"/>
    <counter name="Deletes/sec" publish="true"/>
    <counter name="Message Store Size" publish="true"/>
    <counter name="Messages Count" publish="true"/>
    <counter name="Expiration Index Size" publish="true"/>
    <counter name="Expirations/sec" publish="true"/>
    <counter name="Fetches/sec" publish="true"/>
    <counter name="Requests/sec" publish="true"/>
    <counter name="Updates/sec" publish="true"/>
    <counter name="Average us/Query Execution" publish="false"/>
    <counter name="Average us/datasource update" publish="false"/>
    <counter name="Average us/datasource write" publish="false"/>
    <counter name="# Clients" publish="false"/>
    <counter name="Average Query Size" publish="false"/>
    <counter name="Average us/Read-thru" publish="false"/>
    <counter name="Average us/Write-behind" publish="false"/>
    <counter name="Average us/Write-thru" publish="false"/>
    <counter name="BcastQueueCount" publish="false"/>
    <counter name="Bridge Operations Received" publish="false"/>
    <counter name="Bridge Operations Received/sec" publish="false"/>
    <counter name="Bridge Operations Sent" publish="false"/>
    <counter name="Bridge Operations Sent/sec" publish="false"/>
    <counter name="Bridge Queue Count" publish="false"/>
    <counter name="Bridge Queue Size" publish="false"/>
    <counter name="Bytes received/sec" publish="false"/>
    <counter name="Bytes sent/sec" publish="false"/>
    <counter name="CacheLastAccessCount" publish="false"/>
    <counter name="Client bytes received/sec" publish="false"/>
    <counter name="Client bytes sent/sec" publish="false"/>
    <counter name="Client Requests/sec" publish="false"/>
    <counter name="Client Responses/sec" publish="false"/>
    <counter name="Cluster ops/sec" publish="false"/>
    <counter name="Clustered opsrecv/sec" publish="false"/>
    <counter name="Clustered opssent/sec" publish="false"/>
    <counter name="Data balance/sec" publish="false"/>
    <counter name="Datasource failed operations/sec" publish="false"/>
    <counter name="Datasource updates/sec" publish="false"/>
    <counter name="Dictionary Size" publish="true"/>
    <counter name="DispatchEnter/sec" publish="false"/>
    <counter name="Event Queue Count" publish="false"/>
    <counter name="Eviction Index Size" publish="false"/>
    <counter name="Evictions/sec" publish="false"/>
    <counter name="General Notifications Queue Size" publish="false"/>
    <counter name="Group Index Size" publish="false"/>
    <counter name="Hits ratio/sec (%)" publish="false"/>
    <counter name="Hits/sec" publish="false"/>
    <counter name="List Count" publish="false"/>
    <counter name="List Size" publish="false"/>
    <counter name="Logged Request Count" publish="false"/>
    <counter name="MapReduce Combined/sec" publish="false"/>
    <counter name="MapReduce Mapped/sec" publish="false"/>
    <counter name="MapReduce Reduced/sec" publish="false"/>
    <counter name="MapReduce Running Tasks" publish="false"/>
    <counter name="MapReduce Waiting Tasks" publish="false"/>
    <counter name="McastQueueCount" publish="false"/>
    <counter name="Messages Delivered/sec" publish="false"/>
    <counter name="Messages Expired/sec" publish="false"/>
    <counter name="Messages Published/sec" publish="false"/>
    <counter name="Mirror queue size" publish="false"/>
    <counter name="Misses/sec" publish="false"/>
    <counter name="Module Size" publish="false"/>
    <counter name="NaglingMsgCount" publish="false"/>
    <counter name="Queries/sec" publish="false"/>
    <counter name="Query Index Size" publish="false"/>
    <counter name="Queue Count" publish="false"/>
    <counter name="Queue Size" publish="false"/>
    <counter name="Readers Count" publish="false"/>
    <counter name="Read-thru/sec" publish="false"/>
    <counter name="Request Log Ledger Size" publish="false"/>
    <counter name="Requests Logged/sec" publish="false"/>
    <counter name="Response Queue Count" publish="false"/>
    <counter name="Response Queue Size" publish="false"/>
    <counter name="Response sent/sec" publish="false"/>
    <counter name="Responses/sec" publish="false"/>
    <counter name="Set Count" publish="false"/>
    <counter name="Set Size" publish="false"/>
    <counter name="Sliding Index queue size" publish="false"/>
    <counter name="Socket recv size (bytes)" publish="false"/>
    <counter name="Socket recv time (msec)" publish="false"/>
    <counter name="Socket send size (bytes)" publish="false"/>
    <counter name="Socket send time (msec)" publish="false"/>
    <counter name="State Transfer/sec" publish="false"/>
    <counter name="TcpdownEnter/sec" publish="false"/>
    <counter name="TcpDownQueueCount" publish="false"/>
    <counter name="TcpUpQueueCount" publish="false"/>
    <counter name="Topics Count" publish="false"/>
    <counter name="Write-behind batch count" publish="false"/>
    <counter name="Write-behind evictions/sec" publish="false"/>
    <counter name="Write-behind failure retry count" publish="false"/>
    <counter name="Write-behind queue count" publish="false"/>
    <counter name="Write-behind/sec" publish="false"/>
    <counter name="Write-thru/sec" publish="false"/>
  </category>
  <category name="NCache Client" publish="true">
    <counter name="Additions/sec" publish="true"/>
    <counter name="Updates/sec" publish="true"/>
    <counter name="Average us/add" publish="true"/>
    <counter name="Average us/addbulk" publish="true"/>
    <counter name="Write Operations/sec" publish="true"/>
    <counter name="Average us/fetch" publish="true"/>
    <counter name="Average us/fetchbulk" publish="true"/>
    <counter name="Average us/insert" publish="true"/>
    <counter name="Average us/insertbulk" publish="true"/>
    <counter name="Average us/remove" publish="true"/>
    <counter name="Average us/removebulk" publish="true"/>
    <counter name="Deletes/sec" publish="true"/>
    <counter name="Fetches/sec" publish="true"/>
    <counter name="Read Operations/sec" publish="true"/>
    <counter name="# of Last Sync Poll Removes" publish="false"/>
    <counter name="# of Last Sync Poll Updates" publish="false"/>
    <counter name="# of Sync Poll Requests Additions/sec" publish="false"/>
    <counter name="Average Compressed Item Size" publish="false"/>
    <counter name="Average Item Size" publish="false"/>
    <counter name="Average us/compression" publish="false"/>
    <counter name="Average us/decompression" publish="false"/>
    <counter name="Average us/decryption" publish="false"/>
    <counter name="Average us/deserialization" publish="false"/>
    <counter name="Average us/encryption" publish="false"/>
    <counter name="Average us/event" publish="false"/>
    <counter name="Average us/Published Messages" publish="false"/>
    <counter name="Average us/serialization" publish="false"/>
    <counter name="Compression/sec" publish="false"/>
    <counter name="Events Processed/sec" publish="false"/>
    <counter name="Events Triggered/sec" publish="false"/>
    <counter name="Messages Delivered/sec" publish="false"/>
    <counter name="Messages Published/sec" publish="false"/>
    <counter name="Request queue size" publish="false"/>
  </category>
  <category name="NCache Bridge" publish="true">
    <counter name="Average us/Bridge Operation" publish="true"/>
    <counter name="Bridge Cache Count" publish="true"/>
    <counter name="Bridge Cache Size" publish="true"/>
    <counter name="Operations Received" publish="true"/>
    <counter name="Operations Received/sec" publish="true"/>
    <counter name="Operations Sent" publish="true"/>
    <counter name="Operations Sent/sec" publish="true"/>
    <counter name="Queue Count" publish="true"/>
    <counter name="Replicator Queue Count" publish="true"/>
    <counter name="Replicator Queue Size" publish="true"/>
    <counter name="State Transfer/sec" publish="true"/>
  </category>
  <category name="NCache Persistence" publish="true">
    <counter name="Persistence Queue Count" publish="true"/>
    <counter name="Persistence Queue Size" publish="true"/>
    <counter name="Db Reads/sec" publish="true"/>
    <counter name="Db Writes/sec" publish="true"/>
    <counter name="Average us/Db read" publish="true"/>
    <counter name="Average us/Db write" publish="true"/>
    <counter name="Last Db Read Time" publish="true"/>
    <counter name="Last Db Write Time" publish="true"/>
  </category>
</counters>

Understanding the Monitoring Config Tags

The following section explains the tags mentioned as part of the file syntax.

  • category: Specifies the type of counters, i.e, cache server, client, or bridge counters.

    • name: Specifies the name of the category the underlying counters fall in.
    • publish: Specifies whether you want to enable publishing of the entire category of counters or not.
  • counter: Specifies the counter information.

    • name: Specifies the name of the counter.
    • publish: Specifies whether you want to enable publishing of the counter or not.

See Also

Cache Config
Bridge Config
Security Config

In This Article
  • Monitoring Config Syntax
  • Understanding the Monitoring Config Tags
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top