Health Check

Here, we will explain the health check, which is a 'Fault detection' for Apache Solr instances.

Page Sections

What is a Health Check?

In KandaSearch, you can 'Monitor the status'('Fault detection') of Apache Solr instances. This functionality is referred to as Health Check.
The status can be checked on the Health Check screen and through notification settings.
As notification destinations, you can specify email and webhook. Additionally, multiple registrations (such as registering three email notifications and two webhooks) are possible for notification destinations.
The Health Check feature is available on the Standard plan or higher.

To utilize Health Check

To use Health Check, follow these steps to display the Health Check screen:

  1. Log in to KandaSearch.
  2. From the list of projects, click on the desired project name. (To display the list of projects, click on the KandaSearch logo at the top left of the screen.)
  3. From the project overview, click on the name of the instance to be monitored.
  4. From the left side menu of the instance view, click on 'Health Check'.
  5. The Health Check screen will be displayed.

Health Check settings and OFF/ON

By default, Health Check is turned off.
To start 'Health Check', configure the settings and toggle the switch to on.

Settings

Follow these steps to configure settings:

  1. Specify the Check Interval. Instance checks will be performed at the interval specified here. The unit is minutes.
  2. Specify the Re-notice Interval. When the status is NG (Not Good), retries will be sent to the notification destination at the interval specified here. The unit is minutes.
  3. Specify the Check Method. Currently, we support the PING function of Apache Solr.
  4. Click 'SAVE SETTINGS' to save the settings.

Health Check OFF/ON

To start 'Health Check' based on the conditions specified in the settings, slide the Health Check switch to the right to turn it on.
To stop 'Health Check', slide the Health Check switch to the left to turn it off.
Please note that during the initial monitoring setup, once you save the settings, the switch will automatically turn on.

Checking Status from the Screen

In the status field of the Health Check screen, you can check the status of Apache Solr instances, detection date and time, and the status of each node.
Clicking on 'CHECK NOW' will refresh the information to the latest.

The types of status displayed are as follows:

  • OK: The Apache Solr instance is operating normally.
  • ERROR: The Apache Solr instance is stopped or an abnormality has occurred.
  • NO STATUS: The health check status could not be received.

If an abnormality occurs, check the error code in the message sent to the notification destination, or review the log files from the file management in the instance view.

For SolrCloud configurations, below the status, the node names configuring the SolrCloud will be displayed with indicators. Clicking on a node name allows you to check the details of the collection name and status.

Email Notification Settings

When an anomaly is detected, notification via email is available.
Here's how to set up email notifications:

  1. Click on "ADD A NOTIFICATION METHOD" within the Health Check screen.
  2. The 'Create Notification' screen will appear. Select the 'EMAIL' tab (the 'EMAIL' tab is active by default).
  3. Select the recipient member from 'Project Members'. Once selected, press the ESC key or click on the margin of the 'Create Notification' screen in the background.
  4. If specifying email addresses explicitly for sending, input the email address in the email address field and click the '+' icon on the right. Repeat this step when specifying multiple email addresses.
  5. In the 'Email Subject' field of the email settings, enter the subject for the email. Placeholder variables such as ${INSTANCE_NAME} can be used in this field. Drag and drop the desired items from the blue button group displayed at the top.
  6. In the 'Email Body' field of the email settings, enter the notification message body. Placeholder variables such as ${INSTANCE_NAME} can be used in this field. Drag and drop the desired items from the blue button group displayed at the top.
  7. After completing the input, clicking 'SEND TEST EMAIL TO CURRENT USER' will send a test email to the user configuring this setting.
  8. Finally, click 'CONFIRM'.

Notes.

  • The sender's email address is 'no-reply@kandasearch.jp'. On the receiving end, please perform necessary actions such as setting up permission to receive emails to prevent them from being marked as spam.
  • In the case of SolrCloud configuration, the 'Errors' placeholder will contain and notify the name of the node where the fault occurred.

Webhook Notification Settings

When an anomaly is detected, notification via Webhook is available.
A webhook is a mechanism to notify in real-time using the HTTP protocol when events occur. It can be used with platforms like Slack.
Here's how to set up webhook notifications:

  1. Click on 'ADD A NOTIFICATION METHOD' within the Health Check screen.
  2. The 'Create Notification' screen will appear. Select the 'WEBHOOK' tab.
  3. In the Webhook URL field, input the URL for the receiving system's webhook.
  4. In the 'Webhook Message' for notification message, input the body of the notification message. Placeholder variables such as ${INSTANCE_NAME} can be used in this field. Drag and drop the desired items from the blue button group displayed at the top.
  5. After completing the input, clicking 'SEND TEST WEBHOOK MESSAGE' will send a test message via webhook.
  6. Finally, click 'CONFIRM'.

Notes.

  • In the case of SolrCloud configuration, the 'Errors' placeholder will contain and notify the name of the node where the fault occurred.

List/Edit/Delete Registered Notification Settings

List of Registered Notification Settings

You can confirm the list of registered notification settings from the middle part onwards of the Health Check screen.

Apache Solr

Edit Registered Notification Settings

The method to edit registered notification settings is as follows:

  1. Click on 'EDIT' for the row you want to edit.
  2. Once the 'Edit Notification' screen appears, make the necessary edits and then click 'CONFIRM'.

Delete Registered Notification Settings

The method to delete registered notification settings is as follows:

  1. Click on 'DELETE' for the row you want to delete.
  2. Once the 'Notification Deletion Confirmation' screen appears, click 'DELETE'. Deleted notification settings cannot be restored.