Statistics API protocol parameters

To enable the statistics API protocol, include a protocol handler definition in the GATEWAY section of the configuration file.

The statsport parameter in the GATEWAY section of the configuration file is deprecated. If you specify the statsport parameter in addition to specifying a statistics API protocol handler definition, the statistics API protocol handler definition takes precedence. You can use the parameter override -statsport to override the port number for the statistics API listener port.

To enable the protocol, include a protocol handler definition in the GATEWAY section of the configuration file, for example:
    protocol@statsapi.handler=com.ibm.ctg.server.RestrictedTCPHandler 
    protocol@statsapi.parameters=connecttimeout=2000;port=2980;bind=;maxconn=5;
Entries for each protocol must be in the form shown:
Table 1. Statistics API protocol parameters
Entry in the ctg.ini file Description
bind Bind address
connecttimeout Connection timeout
port Port
maxconn Maximum number of connections

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//ctgunx/o0100020.html