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.
- Place collectd-solr.py in /usr/lib/collectd/plugins/python
- Configure the plugin (see below).
- Restart collectd.
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>