Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Configuration Options > Networking > Health Check URLs
Health Check URLs
Help | Content Gateway | Version 7.8.x
Content Gateway includes 3 URLs that return proxy health and performance information in the HTTP response. These URLs are designed to help load balancers optimize performance by acquiring and adjusting for real-time state information of each proxy node.
The default port for health check URLs is 8083. The value can be changed in records.config by assigning the desired value to proxy.config.admin.autoconf_port
Configure > Networking > Health Check URLs
 
A format file, /opt/WCG/config/health.load.template, allows for customization of the response format.
Format specifiers are:
%L = Load (integer)
%C = Connections integer)
%B = Bandwidth in Mbps (double)
%% = %
The default health.load.template file is:
Load=%L
Conns=%C
Mbps=%B
Here is health.load.template modified to respond with an xml-like format:
<load>
<item name="Load" value="%L" />
<item name="Conns" value="%C" />
<item name="Mbps" value="%B" />
</load>
How the values are calculated:
The Load value, %L, is derived from the LINUX system load average. To make the value comparable across machines with varying numbers of cores, the number is divided by the number of cores on the system.
The calculation is:
// load avg values are 0.00 precision
double avgs[3];
// get load averages for 1, 5, and 15 minutes
getloadavg(avgs, 3);
// 5 minute_load_average * 10000 / number_of_cores
Load = avgs[1] * 10000 / get_nprocs();
The Connection value, %C, is the sum of proxy.process.http.current_server_connections and proxy.process.http.current_client_connections.
The Bandwidth value, %B, is the value of proxy.node.client_throughput_out.
 
Note 

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Configuration Options > Networking > Health Check URLs
Copyright 2016 Forcepoint LLC. All rights reserved.