Skip to main content
Version: 3.14.x.x LTS

StatusServlet

The StatusServlet allows to display information about the status of nevisProxy. This servlet uses "mod_status" to generate some of the information.

The following information is displayed:

  • CpuLoadAvg_1min: The CPU load average of the last minutes.
  • CpuLoadAvg_5min: The CPU load average of the last 5 minutes.
  • CpuLoadAvg_15min: The CPU load average of the last 15 minutes.
  • BusySessions: The number of busy sessions.
  • IdleSessions: The number of idle sessions.
  • Backend services: For each configured Http(s)ConnectorServlet information about whether the backend is reachable or not, the load factor (reqs/s), the last error, the HTTP status code received is displayed.

This information can be used e.g. by load balancers to provide better load balancing policies. It is recommended to restrict access to this servlet with, for example, an IdentityCreationFilter or IP restrictions.

Classname:
ch::nevis::navajo::apglue::httpd_${HTTPD_LIB_VERSION}_x::servlet::status::StatusServlet

Library:
libStatus_Servlet.so.1

Configuration

NameType, Usage Constraints, DefaultsDescription

StatusLibPath

Type: path

Path to the libgeneratorsap${HTTPDLIB_VERSION}.so library. Usually, this parameter can be set to "/opt/nevisproxy/lib/libgenerators_ap${HTTPD_LIB_VERSION}.so.1".