engineyard / engineyard/ey-cloud-recipes
Monit to check Solr status via its API
Open
- 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.