Last week our Solr Search was un-responsive and we need to re-boot the server, but we were able to find out after customer complained about it. What's best way to monitor that search is working?
May not be the best way but you can write a class which keeps on checking the status of all the nodes on SolrCloud (assuming you are using SolrCloud) on certain interval. If the node(s) status is down then you can take a decision of restarting Solr cluster. The restart of SolrCloud can be automated using some script. If the state of the node(s) is recovering then wait for sometime and check if it has recovered and has an active state. If it has not recovered even after some time waiting then take a decision of restarting the SolrCloud instances. Hope this helps. Regards, Modassar On Wed, Dec 23, 2015 at 12:45 AM, Tiwari, Shailendra < shailendra.tiw...@macmillan.com> wrote: > Hi, > > Last week our Solr Search was un-responsive and we need to re-boot the > server, but we were able to find out after customer complained about it. > What's best way to monitor that search is working? > We can always add Gomez alerts from UI. > What are the best practices? > > Thanks > > Shail