Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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? stackoverflow.com/questions/8002801/… –  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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.