Download full document:

cmp

Statistics for cmp.

Properties

(click to see Operations)

NameData TypePermissionsDescription
clearstats<String>Read-writeClear the statsistics / counters.
Possible values = basic, full
delbwsaving<Double>Read-onlyBandwidth saving from delta compression expressed as percentage.
delcmpratio<Double>Read-onlyRatio of compressible data received to compressed data transmitted.If this ratio is one (uncmp:1.0) that means compression is disabled or we are not able to compress even a single compressible packet.
decomptcpratio<Double>Read-onlyRatio of decompressed data transmitted to compressed data received.
decomptcpbandwidthsaving<Double>Read-onlyBandwidth saving from TCP compression expressed as percentage.
comptcpratio<Double>Read-onlyRatio of compressible data received to compressed data transmitted.If this ratio is one (uncmp:1.0) that means compression is disabled or we are not able to compress even a single compressible packet.
comptcpbandwidthsaving<Double>Read-onlyBandwidth saving from TCP compression expressed as percentage.
comptotaldatacompressionratio<Double>Read-onlyRatio of total HTTP data received to total HTTP data transmitted.
comphttpbandwidthsaving<Double>Read-onlyBandwidth saving from TCP compression expressed as percentage.
compratio<Double>Read-onlyRatio of the compressible data received from the server to the compressed data sent to the client.
comptotalrequests<Double>Read-onlyNumber of HTTP compression requests the NetScaler receives for which the response is successfully compressed. For example, after you enable compression and configure services, if you send HTTP requests to the NetScaler using a HTTP client that supports compression, and NetScaler compresses the corresponding response, this counter is incremented.
comprequestsrate<Double>Read-onlyRate (/s) counter for comptotalrequests
comptotalrxbytes<Double>Read-onlyNumber of bytes that can be compressed, which the NetScaler receives from the server. This gives the content length of the response that the NetScaler receives from server.
comprxbytesrate<Double>Read-onlyRate (/s) counter for comptotalrxbytes
comptotaltxbytes<Double>Read-onlyNumber of bytes the NetScaler sends to the client after compressing the response from the server.
comptxbytesrate<Double>Read-onlyRate (/s) counter for comptotaltxbytes
comptotalrxpackets<Double>Read-onlyNumber of HTTP packets that can be compressed, which the NetScaler receives from the server.
comprxpacketsrate<Double>Read-onlyRate (/s) counter for comptotalrxpackets
comptotaltxpackets<Double>Read-onlyNumber of HTTP packets that the NetScaler sends to the client after compressing the response from the server.
comptxpacketsrate<Double>Read-onlyRate (/s) counter for comptotaltxpackets
comptcptotalrxbytes<Double>Read-onlyNumber of bytes that can be compressed, which the NetScaler receives from the server. This gives the content length of the response that the NetScaler receives from server.
comptcprxbytesrate<Double>Read-onlyRate (/s) counter for comptcptotalrxbytes
comptcptotalrxpackets<Double>Read-onlyTotal number of compressible packets received by NetScaler.
comptcprxpacketsrate<Double>Read-onlyRate (/s) counter for comptcptotalrxpackets
comptcptotaltxbytes<Double>Read-onlyNumber of bytes that the NetScaler sends to the client after compressing the response from the server.
comptcptxbytesrate<Double>Read-onlyRate (/s) counter for comptcptotaltxbytes
comptcptotaltxpackets<Double>Read-onlyNumber of TCP packets that the NetScaler sends to the client after compressing the response from the server.
comptcptxpacketsrate<Double>Read-onlyRate (/s) counter for comptcptotaltxpackets
comptcptotalquantum<Double>Read-onlyNumber of times the NetScaler compresses a quantum of data. NetScaler buffers the data received from the server till it reaches the quantum size and then compresses the buffered data and transmits to the client.
comptcpquantumrate<Double>Read-onlyRate (/s) counter for comptcptotalquantum
comptcptotalpush<Double>Read-onlyNumber of times the NetScaler compresses data on receiving a TCP PUSH flag from the server. The PUSH flag ensures that data is compressed immediately without waiting for the buffered data size to reach the quantum size.
comptcppushrate<Double>Read-onlyRate (/s) counter for comptcptotalpush
comptcptotaleoi<Double>Read-onlyNumber of times the NetScaler compresses data on receiving End Of Input (FIN packet). When the NetScaler receives End Of Input (FIN packet), it compresses the buffered data immediately without waiting for the buffered data size to reach the quantum size.
comptcpeoirate<Double>Read-onlyRate (/s) counter for comptcptotaleoi
comptcptotaltimer<Double>Read-onlyNumber of times the NetScaler compresses data on expiration of data accumulation timer. The timer expires if the server response is very slow and consequently, the NetScaler does not receive response for a certain amount of time. Under such a condition, the NetScaler compresses the buffered data immediately without waiting for the buffered data size to reach the quantum size.
comptcptimerrate<Double>Read-onlyRate (/s) counter for comptcptotaltimer
decomptcprxbytes<Double>Read-onlyTotal number of compressed bytes received by NetScaler.
decomptcprxbytesrate<Double>Read-onlyRate (/s) counter for decomptcprxbytes
decomptcprxpackets<Double>Read-onlyTotal number of compressed packets received by NetScaler.
decomptcprxpacketsrate<Double>Read-onlyRate (/s) counter for decomptcprxpackets
decomptcptxbytes<Double>Read-onlyTotal number of decompressed bytes transmitted by NetScaler.
decomptcptxbytesrate<Double>Read-onlyRate (/s) counter for decomptcptxbytes
decomptcptxpackets<Double>Read-onlyTotal number of decompressed packets transmitted by NetScaler.
decomptcptxpacketsrate<Double>Read-onlyRate (/s) counter for decomptcptxpackets
decomptcperrdata<Double>Read-onlyNumber of data errors encountered while decompressing.
decomptcperrdatarate<Double>Read-onlyRate (/s) counter for decomptcperrdata
decomptcperrlessdata<Double>Read-onlyNumber of times NetScaler received less data than declared by protocol.
decomptcperrlessdatarate<Double>Read-onlyRate (/s) counter for decomptcperrlessdata
decomptcperrmoredata<Double>Read-onlyNumber of times NetScaler received more data than declared by protocol.
decomptcperrmoredatarate<Double>Read-onlyRate (/s) counter for decomptcperrmoredata
decomptcperrmemory<Double>Read-onlyNumber of times memory failures occurred while decompressing.
decomptcperrmemoryrate<Double>Read-onlyRate (/s) counter for decomptcperrmemory
decomptcperrunknown<Double>Read-onlyNumber of times unknown errors occurred while decompressing.
decomptcperrunknownrate<Double>Read-onlyRate (/s) counter for decomptcperrunknown
delcomptotalrequests<Double>Read-onlyTotal number of delta compression requests received by NetScaler.
delcomprequestsrate<Double>Read-onlyRate (/s) counter for delcomptotalrequests
delcompdone<Double>Read-onlyTotal number of delta compressions done by NetScaler.
delcompdonerate<Double>Read-onlyRate (/s) counter for delcompdone
delcomptcprxbytes<Double>Read-onlyTotal number of delta-compressible bytes received by NetScaler.
delcomptcprxbytesrate<Double>Read-onlyRate (/s) counter for delcomptcprxbytes
delcomptcptxbytes<Double>Read-onlyTotal number of delta-compressed bytes transmitted by NetScaler.
delcomptcptxbytesrate<Double>Read-onlyRate (/s) counter for delcomptcptxbytes
delcompfirstaccess<Double>Read-onlyTotal number of delta compression first accesses.
delcompfirstaccessrate<Double>Read-onlyRate (/s) counter for delcompfirstaccess
delcomptcprxpackets<Double>Read-onlyNumber of delta-compressible packets received.
delcomptcprxpacketsrate<Double>Read-onlyRate (/s) counter for delcomptcprxpackets
delcomptcptxpackets<Double>Read-onlyTotal number of delta-compressed packets transmitted by NetScaler.
delcomptcptxpacketsrate<Double>Read-onlyRate (/s) counter for delcomptcptxpackets
delcompbaseserved<Double>Read-onlyTotal number of basefile requests served by NetScaler.
delcompbaseservedrate<Double>Read-onlyRate (/s) counter for delcompbaseserved
delcompbasetcptxbytes<Double>Read-onlyNumber of basefile bytes transmitted by NetScaler.
delcompbasetcptxbytesrate<Double>Read-onlyRate (/s) counter for delcompbasetcptxbytes
delcomperrbypassed<Double>Read-onlyNumber of times delta-compression bypassed by NetScaler.
delcomperrbypassedrate<Double>Read-onlyRate (/s) counter for delcomperrbypassed
delcomperrbfilewhdrfailed<Double>Read-onlyNumber of times basefile could not be updated in NetScaler cache.
delcomperrbfilewhdrfailedrate<Double>Read-onlyRate (/s) counter for delcomperrbfilewhdrfailed
delcomperrnostoremiss<Double>Read-onlyNumber of times basefile was not found in NetScaler cache.
delcomperrnostoremissrate<Double>Read-onlyRate (/s) counter for delcomperrnostoremiss
delcomperrreqinfotoobig<Double>Read-onlyNumber of times basefile request URL was too large.
delcomperrreqinfotoobigrate<Double>Read-onlyRate (/s) counter for delcomperrreqinfotoobig
delcomperrreqinfoallocfail<Double>Read-onlyNumber of times requested basefile could not be allocated.
delcomperrreqinfoallocfailrate<Double>Read-onlyRate (/s) counter for delcomperrreqinfoallocfail
delcomperrsessallocfail<Double>Read-onlyNumber of times delta compression session could not be allocated.
delcomperrsessallocfailrate<Double>Read-onlyRate (/s) counter for delcomperrsessallocfail

Operations

(click to see Properties)

GET (ALL)

Some options that you can use for each operations:

  • Getting warnings in response:NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations:NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note:In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Note:

Mandatory parameters are marked in redand placeholder content is marked in <green>.

get (all)

URL:http://<netscaler-ip-address>/nitro/v1/stat/cmp

Query-parameters:

args

http://<netscaler-ip-address>/nitro/v1/stat/cmp?args=detail:<Boolean_value>,fullvalues:<Boolean_value>,ntimes:<Double_value>,logfile:<String_value>,clearstats:<String_value>

Use this query-parameter to get cmp resources based on additional properties.

HTTP Method:GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "cmp": [ {
"comphttpbandwidthsaving":<Double_value>,
"decomptcptxpacketsrate":<Double_value>,
"delcompbasetcptxbytesrate":<Double_value>,
"comptotaltxbytes":<Double_value>,
"comptcpeoirate":<Double_value>,
"delcomperrbypassedrate":<Double_value>,
"delcmpratio":<Double_value>,
"delcomprequestsrate":<Double_value>,
"delcomptcprxpacketsrate":<Double_value>,
"decomptcperrmemory":<Double_value>,
"comptotaldatacompressionratio":<Double_value>,
"comprxbytesrate":<Double_value>,
"delcomperrsessallocfailrate":<Double_value>,
"delcomptcptxpacketsrate":<Double_value>,
"decomptcperrmemoryrate":<Double_value>,
"decomptcperrmoredata":<Double_value>,
"delcompfirstaccessrate":<Double_value>,
"comprxpacketsrate":<Double_value>,
"decomptcprxpacketsrate":<Double_value>,
"comptcpquantumrate":<Double_value>,
"comptxbytesrate":<Double_value>,
"delcompbaseservedrate":<Double_value>,
"comptcptxbytesrate":<Double_value>,
"delcomptcprxpackets":<Double_value>,
"delcomperrbfilewhdrfailed":<Double_value>,
"decomptcperrmoredatarate":<Double_value>,
"delcompbaseserved":<Double_value>,
"compratio":<Double_value>,
"decomptcperrlessdata":<Double_value>,
"comptcprxbytesrate":<Double_value>,
"comptcprxpacketsrate":<Double_value>,
"delcomptcptxbytesrate":<Double_value>,
"decomptcperrdatarate":<Double_value>,
"delcompdonerate":<Double_value>,
"decomptcpratio":<Double_value>,
"decomptcperrlessdatarate":<Double_value>,
"comptcptotaltxbytes":<Double_value>,
"delcomptotalrequests":<Double_value>,
"delcomperrreqinfoallocfailrate":<Double_value>,
"delcomperrnostoremiss":<Double_value>,
"delcompbasetcptxbytes":<Double_value>,
"comptcptotalpush":<Double_value>,
"delcompfirstaccess":<Double_value>,
"delcompdone":<Double_value>,
"comptcptotalrxpackets":<Double_value>,
"delcomperrbypassed":<Double_value>,
"delbwsaving":<Double_value>,
"comprequestsrate":<Double_value>,
"delcomptcptxbytes":<Double_value>,
"delcomperrreqinfoallocfail":<Double_value>,
"delcomperrreqinfotoobig":<Double_value>,
"decomptcprxbytes":<Double_value>,
"comptcptxpacketsrate":<Double_value>,
"comptcptotaleoi":<Double_value>,
"comptcppushrate":<Double_value>,
"decomptcperrunknownrate":<Double_value>,
"comptcpbandwidthsaving":<Double_value>,
"comptotalrxbytes":<Double_value>,
"decomptcptxbytes":<Double_value>,
"decomptcprxpackets":<Double_value>,
"comptcptotaltimer":<Double_value>,
"delcomperrnostoremissrate":<Double_value>,
"decomptcpbandwidthsaving":<Double_value>,
"delcomperrsessallocfail":<Double_value>,
"decomptcptxbytesrate":<Double_value>,
"comptxpacketsrate":<Double_value>,
"comptotaltxpackets":<Double_value>,
"delcomperrreqinfotoobigrate":<Double_value>,
"decomptcprxbytesrate":<Double_value>,
"comptotalrequests":<Double_value>,
"decomptcperrunknown":<Double_value>,
"comptotalrxpackets":<Double_value>,
"delcomptcprxbytes":<Double_value>,
"comptcptimerrate":<Double_value>,
"comptcptotalquantum":<Double_value>,
"comptcptotaltxpackets":<Double_value>,
"delcomptcptxpackets":<Double_value>,
"comptcptotalrxbytes":<Double_value>,
"delcomptcprxbytesrate":<Double_value>,
"decomptcptxpackets":<Double_value>,
"delcomperrbfilewhdrfailedrate":<Double_value>,
"comptcpratio":<Double_value>,
"decomptcperrdata":<Double_value>
}]}