Download full document:

nstimeout

Configuration for timeout resource.

Properties

(click to see Operations)

Name Data Type PermissionsDescription
zombie<Double>Read-writeInterval, in seconds, at which the NetScaler zombie cleanup process must run. This process cleans up inactive TCP connections.<br>Default value: 120<br>Minimum value = 1<br>Maximum value = 600
client<Double>Read-writeClient idle timeout (in seconds). If zero, the service-type default value is taken when service is created.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
server<Double>Read-writeServer idle timeout (in seconds). If zero, the service-type default value is taken when service is created.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
httpclient<Double>Read-writeGlobal idle timeout, in seconds, for client connections of HTTP service type. This value is over ridden by the client timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
httpserver<Double>Read-writeGlobal idle timeout, in seconds, for server connections of HTTP service type. This value is over ridden by the server timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
tcpclient<Double>Read-writeGlobal idle timeout, in seconds, for non-HTTP client connections of TCP service type. This value is over ridden by the client timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
tcpserver<Double>Read-writeGlobal idle timeout, in seconds, for non-HTTP server connections of TCP service type. This value is over ridden by the server timeout that is configured on entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 18000
anyclient<Double>Read-writeGlobal idle timeout, in seconds, for non-TCP client connections. This value is over ridden by the client timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 31536000
anyserver<Double>Read-writeGlobal idle timeout, in seconds, for non TCP server connections. This value is over ridden by the server timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 31536000
anytcpclient<Double>Read-writeGlobal idle timeout, in seconds, for TCP client connections. This value is overridden by the client timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 31536000
anytcpserver<Double>Read-writeGlobal idle timeout, in seconds, for TCP server connections. This value is overridden by the server timeout that is configured on individual entities.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 31536000
halfclose<Double>Read-writeIdle timeout, in seconds, for connections that are in TCP half-closed state.<br>Default value: 10<br>Minimum value = 1<br>Maximum value = 600
nontcpzombie<Double>Read-writeInterval at which the zombie clean-up process for non-TCP connections should run. Inactive IP NAT connections will be cleaned up.<br>Default value: 60<br>Minimum value = 1<br>Maximum value = 600
reducedfintimeout<Double>Read-writeAlternative idle timeout, in seconds, for closed TCP NATPCB connections.<br>Default value: 30<br>Minimum value = 1<br>Maximum value = 300
reducedrsttimeout<Double>Read-writeTimer interval, in seconds, for abruptly terminated TCP NATPCB connections.<br>Default value: 0<br>Minimum value = 0<br>Maximum value = 300
newconnidletimeout<Double>Read-writeTimer interval, in seconds, for new TCP NATPCB connections on which no data was received.<br>Default value: 4<br>Minimum value = 1<br>Maximum value = 120

Operations

(click to see Properties)

UPDATE | UNSET | 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 red and placeholder content is marked in <green>.

update

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: PUT

Request Payload:

{
"params": {
      "warning":<String_value>,
      "onerror":<String_value>"
},
sessionid":"##sessionid",
"nstimeout":{
      "zombie":<Double_value>,
      "client":<Double_value>,
      "server":<Double_value>,
      "httpclient":<Double_value>,
      "httpserver":<Double_value>,
      "tcpclient":<Double_value>,
      "tcpserver":<Double_value>,
      "anyclient":<Double_value>,
      "anyserver":<Double_value>,
      "anytcpclient":<Double_value>,
      "anytcpserver":<Double_value>,
      "halfclose":<Double_value>,
      "nontcpzombie":<Double_value>,
      "reducedfintimeout":<Double_value>,
      "reducedrsttimeout":<Double_value>,
      "newconnidletimeout":<Double_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

unset

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"unset"
},
"sessionid":"##sessionid",
"nstimeout":{
      "zombie":true,
      "client":true,
      "server":true,
      "httpclient":true,
      "httpserver":true,
      "tcpclient":true,
      "tcpserver":true,
      "anyclient":true,
      "anyserver":true,
      "anytcpclient":true,
      "anytcpserver":true,
      "halfclose":true,
      "nontcpzombie":true,
      "reducedfintimeout":true,
      "reducedrsttimeout":true,
      "newconnidletimeout":true,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

get (all)

URL: http://<NSIP>/nitro/v1/config/nstimeout

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "nstimeout": [ {
      "zombie":<Double_value>,
      "client":<Double_value>,
      "server":<Double_value>,
      "httpclient":<Double_value>,
      "httpserver":<Double_value>,
      "tcpclient":<Double_value>,
      "tcpserver":<Double_value>,
      "anyclient":<Double_value>,
      "anyserver":<Double_value>,
      "halfclose":<Double_value>,
      "anytcpclient":<Double_value>,
      "anytcpserver":<Double_value>,
      "nontcpzombie":<Double_value>,
      "reducedfintimeout":<Double_value>,
      "reducedrsttimeout":<Double_value>,
      "newconnidletimeout":<Double_value>

}]}