solr-status

command module
v0.0.0-...-2aeb507 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

README

solr-status

A simple collectd plugin written in Go that gathers metrics from an Apache Solr instance.

grafana Some graphs made with Grafana using data collected by this plugin.

Why ?

I needed a simple way to export few metrics from a standalone Solr instance. I was already using collectd, InfluxDB & Grafana, so I wrote this plugin to export the data and be able to build some nice graphs with it.

Install & use

  • Build the binary and copy it to a viable directory (e.g /usr/lib/collectd/plugins/solr-status)
  • Add an entry in the collectd config file to call the plugin. This would work:
# Replace "solr.server.com" with your Solr's FQDN or ip address, and "MyIndex" with your index name. 
# Optionally you can enforce HTTPS by adding the "--https" parameter.

LoadPlugin exec
<Plugin exec>
    Exec "collectd-plugin" "/usr/lib/collectd/plugins/solr-status" "--server" "solr.server.com" "--core" "MyIndex"
</Plugin>

License

BSD 3-Clause License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址