1

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.

pablo
  • 3,020
  • 1
  • 18
  • 23
  • Have you read this Q/A on SO? http://stackoverflow.com/questions/8002801/whats-your-strategy-for-collecting-solr-metrics – 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

1 Answers1

0

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.

Keith
  • 4,627
  • 14
  • 25