Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are running apache solr through sunspot.

What are the best metrics to use to look at the performance of solr in regards to needs to cluster/scale?

I am looking at monitoring these with nagios or sensu and was planning on just graphing requests per second and response time, then apache bench it and see where the breaking point is.

Are there any specific values I should look at or best practice for monitoring? I've seen a few articles around monitoring with JMX but I dont think I can enable that with sunspot and most nagios plugins seem to just monitor if its up or not and response time, not performance data.

share|improve this question
Have you read this Q/A on SO?… – Henk Mar 13 '12 at 19:06
yes. my question is what values should I be looking at? – pablo Mar 13 '12 at 22:34
up vote 0 down vote accepted

Sunspot uses solr, doesn't it? If so, why can't you expose Solr stats via JMX. Then you can just point something like check_jmx, solr-nagios-check, or jmxquery at it. The former can check different performanc metrics, not just "is it up?"; not sure about the other two.

Opsview has put together a decent guide for how this all works. Most of if should apply to Nagios, too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.