I am running Coveo 4.1.125 (on a on-premise server) for Sitecore 8.1
I noticed that sometimes when my dedicated Coveo server is unreachable, that the complete website is going down with the following exception:
Coveo Entreprise Search seems to be unavailable. Please make sure that the service is installed and started.
This issue is caused by the render view
/views/coveo hive/resources/coveo search resources.cshtml and while this render view is used on every page of my website, it causes a complete website outage.
So I would like to prevent such a website outage by adding a 'Coveo health check' in the controller that is returning the Coveo view. The idea is to simply not render the search input box and result page when the Coveo API is unreachable, offering degraded service (not possible to search the website) instead of no website at all.
Is there any check already available in Coveo that I can call from my controller and that returns the current health status?
I found this post where it seems that recent versions of Coveo should have such checks, but I could not figure out how to call it.