Skip to content

Python-based plugin to put various Solr stats to collectd

Notifications You must be signed in to change notification settings

averni/collectd-solr-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

collectd-solr-python

Python-based plugin to put various [Solr 4.X] (http://lucene.apache.org/solr/) stats to collectd

Data captured includes:

  • TODO

Cores are detecting automatically. Munin plugins from [Distilled Media Ltd.] (https://github .com/distilledmedia/munin-plugins/) and [Gasol Wu] (https://github.com/Gasol/munin-solr-plugins/) were used as donors. [powdahoud's redis-collectd-plugin] (https://github.com/powdahound/redis-collectd-plugin/) was used as template also.

Install

  1. Place collectd-solr.py in /usr/lib/collectd/plugins/python
  2. Configure the plugin (see below).
  3. Restart collectd.

Configuration

Add the following to your collectd config

<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/usr/lib/collectd/plugins/python"
  Import "collectd-solr"

  <Module collectd-solr>
    Host "localhost"
    Port 8080
    URL "/solr"
    AdminURL "admin/mbeans?stats=true"
  </Module>
</Plugin>

About

Python-based plugin to put various Solr stats to collectd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages