Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Using the Health Monitor Status to Determine Web Application Health

Using the Health Monitor Status to Determine Web Application Health

Health Monitoring Responses

The status monitors, such as Nagios,IPMonitor, or SolarWinds, and load balancers can use the health monitoring responses to check load balancer health and for monitoring application’s health. The health monitoring also helps to monitor the health and performance of the development infrastructure to prevent downtime. The load balancer status helps to understand the load balancer health with which infrastructure, networking, or IT Operations can make decisions to improve application performance, optimize resource use, and allow applications to scale horizontally while maintaining resilience.
The Health Monitoring provides the following types of responses depending on the request URL:
  • Load balancer status: For load balancer health check.
  • JSON status: For status monitoring applications.
  • HTML status: For human access.

Load balancer status

Request

/status
or
/status/lb

Response

Status 200 is returned along with following HTML page:
OK

Application: OK Application is up: Application name = Storefront
Database: OK Database was successfully reached in 0ms
Search Server: OK Target was successfully reached in 2ms: URL = ...
JMS Server: OK Successfully connected to JMS Server

Error Response

Status 503 is returned if any of the load balancer status checks fail.

JSON Status

Request

/status/info.json

Responses

{"Application":{"status":"OK","info":"Application name = Storefront","message":"Application is up"},
 "Database":{"status":"OK","message":"Database was successfully reached in 0ms"},
 "Search Server":{"status":"OK","info":"URL = ...",
 "JMS Server":{"status":"OK","message":"Successfully connected to JMS Server"}}

HTML Status

Request

/status/info.html

Responses