Skip to content

Alachisoft/NCache-Grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This NCache Grafana app plugin provides a set of dashboards that allows a user to monitor NCache counters. NCache Grafana app plugin uses Prometheus as datasource.

Dashboards

  • Distributed Cache
  • Distributed Cache with Persistence
  • Pub/Sub Messaging
  • Distributed Lucene with Persistence
  • Client
  • Bridge

Setup Grafana Application

To Setup Grafana for NCache monitoring you have to follow the following steps:

Configure NCache Service Config

Alachisoft.NCache.Service.dll.config(.Net)/Alachisoft.NCache.Service.exe.config(Framework)shipped at [NCHOME]\bin\service that allows you to enable/disable monitoring of your caches on Prometheus

 - <add key="NCacheServer.EnableMetricsPublishing" value="true"/>
 - <add key="NCacheServer.EnablePrometheusMonitoring" value="true"/>

Restart the NCache Service.

Install Prometheus that allows you to moniter your Caches

NCache currently supports Prometheus 2.3.7.1 (LTS) or above.

Prometheus configuration

Open prometheus.yml in an editor and add all those nodes as targets for which you want to monitor NCache counters. For example, if you want to monitor 192.168.1.7 the config file will look like this:

scrape_configs:

 - job_name: "ncache-metrics"

	# metrics_path defaults to '/metrics'
	# scheme defaults to 'http'.

	static_configs:
	- targets:["192.168.1.7:8255"]

Run Prometheus.exe

Go to the folder where you extracted the Prometheus setup and run prometheus.exe

Install Grafana application

Open Grafana

Add Prometheus as Datasource

  • Go to Configuration -> Datasource.
  • Click on Add Data Source and add Prometheus as a Datasource

Import dashboards for NCache Monitoring

  • Go to Configuration -> Plugins.
  • On the search bar, search for NCache.
  • Click on Enable to add the NCache plugin.
  • After enabling go to Dashboards tab and import required dashboards from this page

For detailed documentation please visit:

https://www.alachisoft.com/resources/docs/ncache/admin-guide/monitor-ncache-grafana.html https://www.alachisoft.com/resources/docs/ncache/admin-guide/monitor-ncache-prometheus.html

About

Grafana dashboards for NCache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors