engineyard / engineyard/ey-cloud-recipes

Monit to check Solr status via its API

Open
#281 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
977
Forks
283
PR merge metrics
No merged PRs in 30d

Description

It should be possible to extend Monit configuration for Solr by adding an HTTP query. A HTTP response other than 200 _should_ mean it's down, although processing the output will be nicer :)

```
Solr-test-host ~ # curl "http://localhost:8983/solr/admin/ping?wt=json&indent=on"
{
"responseHeader":{
"status":0,
"QTime":3,
"params":{
"q":"solrpingquery",
"indent":"on",
"wt":"json",
"echoParams":"all",
"distrib":"false",
"df":"text",
"rows":"10"}},
"status":"OK"}
Solr-test-host ~ #
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.