Download full document:

lbmonitor

Configuration for monitor resource.

Properties

(click to see Operations)

Name Data Type PermissionsDescription
monitorname<String>Read-writeName for the monitor. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my monitor" or my monitor).<br>Minimum length = 1
type<String>Read-writeType of monitor that you want to create.<br>Possible values = PING, TCP, HTTP, TCP-ECV, HTTP-ECV, UDP-ECV, DNS, FTP, LDNS-PING, LDNS-TCP, LDNS-DNS, RADIUS, USER, HTTP-INLINE, SIP-UDP, LOAD, FTP-EXTENDED, SMTP, SNMP, NNTP, MYSQL, MYSQL-ECV, MSSQL-ECV, ORACLE-ECV, LDAP, POP3, CITRIX-XML-SERVICE, CITRIX-WEB-INTERFACE, DNS-TCP, RTSP, ARP, CITRIX-AG, CITRIX-AAC-LOGINPAGE, CITRIX-AAC-LAS, CITRIX-XD-DDC, ND6, CITRIX-WI-EXTENDED, DIAMETER, RADIUS_ACCOUNTING, STOREFRONT, APPC, CITRIX-XNC-ECV, CITRIX-XDM
action<String>Read-writeAction to perform when the response to an inline monitor (a monitor of type HTTP-INLINE) indicates that the service is down. A service monitored by an inline monitor is considered DOWN if the response code is not one of the codes that have been specified for the Response Code parameter. Available settings function as follows: * NONE - Do not take any action. However, the show service command and the show lb monitor command indicate the total number of responses that were checked and the number of consecutive error responses received after the last successful probe. * LOG - Log the event in NSLOG or SYSLOG. * DOWN - Mark the service as being down, and then do not direct any traffic to the service until the configured down time has expired. Persistent connections to the service are terminated as soon as the service is marked as DOWN. Also, log the event in NSLOG or SYSLOG.<br>Default value: DOWN<br>Possible values = NONE, LOG, DOWN
respcode<String[]>Read-writeResponse codes for which to mark the service as UP. For any other response code, the action performed depends on the monitor type. HTTP monitors and RADIUS monitors mark the service as DOWN, while HTTP-INLINE monitors perform the action indicated by the Action parameter.
httprequest<String>Read-writeHTTP request to send to the server (for example, "HEAD /file.html").
rtsprequest<String>Read-writeRTSP request to send to the server (for example, "OPTIONS *").
customheaders<String>Read-writeCustom header string to include in the monitoring probes.
maxforwards<Double>Read-writeMaximum number of hops that the SIP request used for monitoring can traverse to reach the server. Applicable only to monitors of type SIP-UDP.<br>Default value: 1<br>Minimum value = 0<br>Maximum value = 255
sipmethod<String>Read-writeSIP method to use for the query. Applicable only to monitors of type SIP-UDP.<br>Possible values = OPTIONS, INVITE, REGISTER
sipuri<String>Read-writeSIP URI string to send to the service (for example, sip:sip.test). Applicable only to monitors of type SIP-UDP.<br>Minimum length = 1
sipreguri<String>Read-writeSIP user to be registered. Applicable only if the monitor is of type SIP-UDP and the SIP Method parameter is set to REGISTER.<br>Minimum length = 1
send<String>Read-writeString to send to the service. Applicable to TCP-ECV, HTTP-ECV, and UDP-ECV monitors.
recv<String>Read-writeString expected from the server for the service to be marked as UP. Applicable to TCP-ECV, HTTP-ECV, and UDP-ECV monitors.
query<String>Read-writeDomain name to resolve as part of monitoring the DNS service (for example, example.com).
querytype<String>Read-writeType of DNS record for which to send monitoring queries. Set to Address for querying A records, AAAA for querying AAAA records, and Zone for querying the SOA record.<br>Possible values = Address, Zone, AAAA
scriptname<String>Read-writePath and name of the script to execute. The script must be available on the NetScaler appliance, in the /nsconfig/monitors/ directory.<br>Minimum length = 1
scriptargs<String>Read-writeString of arguments for the script. The string is copied verbatim into the request.
dispatcherip<String>Read-writeIP address of the dispatcher to which to send the probe.
dispatcherport<Integer>Read-writePort number on which the dispatcher listens for the monitoring probe.
username<String>Read-writeUser name with which to probe the RADIUS, NNTP, FTP, FTP-EXTENDED, MYSQL, MSSQL, POP3, CITRIX-AG, CITRIX-XD-DDC, CITRIX-WI-EXTENDED, CITRIX-XNC or CITRIX-XDM server.<br>Minimum length = 1
password<String>Read-writePassword that is required for logging on to the RADIUS, NNTP, FTP, FTP-EXTENDED, MYSQL, MSSQL, POP3, CITRIX-AG, CITRIX-XD-DDC, CITRIX-WI-EXTENDED, CITRIX-XNC-ECV or CITRIX-XDM server. Used in conjunction with the user name specified for the User Name parameter.<br>Minimum length = 1
secondarypassword<String>Read-writeSecondary password that users might have to provide to log on to the Access Gateway server. Applicable to CITRIX-AG monitors.
logonpointname<String>Read-writeName of the logon point that is configured for the Citrix Access Gateway Advanced Access Control software. Required if you want to monitor the associated login page or Logon Agent. Applicable to CITRIX-AAC-LAS and CITRIX-AAC-LOGINPAGE monitors.
lasversion<String>Read-writeVersion number of the Citrix Advanced Access Control Logon Agent. Required by the CITRIX-AAC-LAS monitor.
radkey<String>Read-writeAuthentication key (shared secret text string) for RADIUS clients and servers to exchange. Applicable to monitors of type RADIUS and RADIUS_ACCOUNTING.<br>Minimum length = 1
radnasid<String>Read-writeNAS-Identifier to send in the Access-Request packet. Applicable to monitors of type RADIUS.<br>Minimum length = 1
radnasip<String>Read-writeNetwork Access Server (NAS) IP address to use as the source IP address when monitoring a RADIUS server. Applicable to monitors of type RADIUS and RADIUS_ACCOUNTING.
radaccounttype<Double>Read-writeAccount Type to be used in Account Request Packet. Applicable to monitors of type RADIUS_ACCOUNTING.<br>Default value: 1<br>Minimum value = 0<br>Maximum value = 15
radframedip<String>Read-writeSource ip with which the packet will go out . Applicable to monitors of type RADIUS_ACCOUNTING.
radapn<String>Read-writeCalled Station Id to be used in Account Request Packet. Applicable to monitors of type RADIUS_ACCOUNTING.<br>Minimum length = 1
radmsisdn<String>Read-writeCalling Stations Id to be used in Account Request Packet. Applicable to monitors of type RADIUS_ACCOUNTING.<br>Minimum length = 1
radaccountsession<String>Read-writeAccount Session ID to be used in Account Request Packet. Applicable to monitors of type RADIUS_ACCOUNTING.<br>Minimum length = 1
lrtm<String>Read-writeCalculate the least response times for bound services. If this parameter is not enabled, the appliance does not learn the response times of the bound services. Also used for LRTM load balancing.<br>Possible values = ENABLED, DISABLED
deviation<Double>Read-writeTime value added to the learned average response time in dynamic response time monitoring (DRTM). When a deviation is specified, the appliance learns the average response time of bound services and adds the deviation to the average. The final value is then continually adjusted to accommodate response time variations over time. Specified in milliseconds, seconds, or minutes.<br>Minimum value = 0<br>Maximum value = 20939000
units1<String>Read-writeUnit of measurement for the Deviation parameter. Cannot be changed after the monitor is created.<br>Default value: SEC<br>Possible values = SEC, MSEC, MIN
interval<Integer>Read-writeTime interval between two successive probes. Must be greater than the value of Response Time-out.<br>Default value: 5<br>Minimum value = 1<br>Maximum value = 20940000
units3<String>Read-writemonitor interval units.<br>Default value: SEC<br>Possible values = SEC, MSEC, MIN
resptimeout<Integer>Read-writeAmount of time for which the appliance must wait before it marks a probe as FAILED. Must be less than the value specified for the Interval parameter. Note: For UDP-ECV monitors for which a receive string is not configured, response timeout does not apply. For UDP-ECV monitors with no receive string, probe failure is indicated by an ICMP port unreachable error received from the service.<br>Default value: 2<br>Minimum value = 1<br>Maximum value = 20939000
units4<String>Read-writemonitor response timeout units.<br>Default value: SEC<br>Possible values = SEC, MSEC, MIN
resptimeoutthresh<Double>Read-writeResponse time threshold, specified as a percentage of the Response Time-out parameter. If the response to a monitor probe has not arrived when the threshold is reached, the appliance generates an SNMP trap called monRespTimeoutAboveThresh. After the response time returns to a value below the threshold, the appliance generates a monRespTimeoutBelowThresh SNMP trap. For the traps to be generated, the "MONITOR-RTO-THRESHOLD" alarm must also be enabled.<br>Minimum value = 0<br>Maximum value = 100
retries<Integer>Read-writeMaximum number of probes to send to establish the state of a service for which a monitoring probe failed.<br>Default value: 3<br>Minimum value = 1<br>Maximum value = 127
failureretries<Integer>Read-writeNumber of retries that must fail, out of the number specified for the Retries parameter, for a service to be marked as DOWN. For example, if the Retries parameter is set to 10 and the Failure Retries parameter is set to 6, out of the ten probes sent, at least six probes must fail if the service is to be marked as DOWN. The default value of 0 means that all the retries must fail if the service is to be marked as DOWN.<br>Minimum value = 0<br>Maximum value = 32
alertretries<Integer>Read-writeNumber of consecutive probe failures after which the appliance generates an SNMP trap called monProbeFailed.<br>Minimum value = 0<br>Maximum value = 32
successretries<Integer>Read-writeNumber of consecutive successful probes required to transition a services state from DOWN to UP.<br>Default value: 1<br>Minimum value = 1<br>Maximum value = 32
downtime<Integer>Read-writeTime duration for which to wait before probing a service that has been marked as DOWN. Expressed in milliseconds, seconds, or minutes.<br>Default value: 30<br>Minimum value = 1<br>Maximum value = 20939000
units2<String>Read-writeUnit of measurement for the Down Time parameter. Cannot be changed after the monitor is created.<br>Default value: SEC<br>Possible values = SEC, MSEC, MIN
destip<String>Read-writeIP address of the service to which to send probes. If the parameter is set to 0, the IP address of the server to which the monitor is bound is considered the destination IP address.
destport<Integer>Read-writeTCP or UDP port to which to send the probe. If the parameter is set to 0, the port number of the service to which the monitor is bound is considered the destination port. For a monitor of type USER, however, the destination port is the port number that is included in the HTTP request sent to the dispatcher. Does not apply to monitors of type PING.
state<String>Read-writeState of the monitor. The DISABLED setting disables not only the monitor being configured, but all monitors of the same type, until the parameter is set to ENABLED. If the monitor is bound to a service, the state of the monitor is not taken into account when the state of the service is determined.<br>Default value: ENABLED<br>Possible values = ENABLED, DISABLED
reverse<String>Read-writeMark a service as DOWN, instead of UP, when probe criteria are satisfied, and as UP instead of DOWN when probe criteria are not satisfied.<br>Default value: NO<br>Possible values = YES, NO
transparent<String>Read-writeThe monitor is bound to a transparent device such as a firewall or router. The state of a transparent device depends on the responsiveness of the services behind it. If a transparent device is being monitored, a destination IP address must be specified. The probe is sent to the specified IP address by using the MAC address of the transparent device.<br>Default value: NO<br>Possible values = YES, NO
iptunnel<String>Read-writeSend the monitoring probe to the service through an IP tunnel. A destination IP address must be specified.<br>Default value: NO<br>Possible values = YES, NO
tos<String>Read-writeProbe the service by encoding the destination IP address in the IP TOS (6) bits.<br>Possible values = YES, NO
tosid<Double>Read-writeThe TOS ID of the specified destination IP. Applicable only when the TOS parameter is set.<br>Minimum value = 1<br>Maximum value = 63
secure<String>Read-writeUse a secure SSL connection when monitoring a service. Applicable only to TCP based monitors. The secure option cannot be used with a CITRIX-AG monitor, because a CITRIX-AG monitor uses a secure connection by default.<br>Default value: NO<br>Possible values = YES, NO
validatecred<String>Read-writeValidate the credentials of the Xen Desktop DDC server user. Applicable to monitors of type CITRIX-XD-DDC.<br>Default value: NO<br>Possible values = YES, NO
domain<String>Read-writeDomain in which the XenDesktop Desktop Delivery Controller (DDC) servers or Web Interface servers are present. Required by CITRIX-XD-DDC and CITRIX-WI-EXTENDED monitors for logging on to the DDC servers and Web Interface servers, respectively.
ipaddress<String[]>Read-writeSet of IP addresses expected in the monitoring response from the DNS server, if the record type is A or AAAA. Applicable to DNS monitors.<br>Minimum length = 1
group<String>Read-writeName of a newsgroup available on the NNTP service that is to be monitored. The appliance periodically generates an NNTP query for the name of the newsgroup and evaluates the response. If the newsgroup is found on the server, the service is marked as UP. If the newsgroup does not exist or if the search fails, the service is marked as DOWN. Applicable to NNTP monitors.<br>Minimum length = 1
filename<String>Read-writeName of a file on the FTP server. The appliance monitors the FTP service by periodically checking the existence of the file on the server. Applicable to FTP-EXTENDED monitors.<br>Minimum length = 1
basedn<String>Read-writeThe base distinguished name of the LDAP service, from where the LDAP server can begin the search for the attributes in the monitoring query. Required for LDAP service monitoring.<br>Minimum length = 1
binddn<String>Read-writeThe distinguished name with which an LDAP monitor can perform the Bind operation on the LDAP server. Optional. Applicable to LDAP monitors.<br>Minimum length = 1
filter<String>Read-writeFilter criteria for the LDAP query. Optional.<br>Minimum length = 1
attribute<String>Read-writeAttribute to evaluate when the LDAP server responds to the query. Success or failure of the monitoring probe depends on whether the attribute exists in the response. Optional.<br>Minimum length = 1
database<String>Read-writeName of the database to connect to during authentication.<br>Minimum length = 1
oraclesid<String>Read-writeName of the service identifier that is used to connect to the Oracle database during authentication.<br>Minimum length = 1
sqlquery<String>Read-writeSQL query for a MYSQL-ECV or MSSQL-ECV monitor. Sent to the database server after the server authenticates the connection.<br>Minimum length = 1
evalrule<String>Read-writeDefault syntax expression that evaluates the database servers response to a MYSQL-ECV or MSSQL-ECV monitoring query. Must produce a Boolean result. The result determines the state of the server. If the expression returns TRUE, the probe succeeds. For example, if you want the appliance to evaluate the error message to determine the state of the server, use the rule MYSQL.RES.ROW(10) .TEXT_ELEM(2).EQ("MySQL").
mssqlprotocolversion<String>Read-writeVersion of MSSQL server that is to be monitored.<br>Default value: 70<br>Possible values = 70, 2000, 2000SP1, 2005, 2008, 2008R2, 2012, 2014
Snmpoid<String>Read-writeSNMP OID for SNMP monitors.<br>Minimum length = 1
snmpcommunity<String>Read-writeCommunity name for SNMP monitors.<br>Minimum length = 1
snmpthreshold<String>Read-writeThreshold for SNMP monitors.<br>Minimum length = 1
snmpversion<String>Read-writeSNMP version to be used for SNMP monitors.<br>Possible values = V1, V2
metrictable<String>Read-writeMetric table to which to bind metrics.<br>Minimum length = 1<br>Maximum length = 99
application<String>Read-writeName of the application used to determine the state of the service. Applicable to monitors of type CITRIX-XML-SERVICE.<br>Minimum length = 1
sitepath<String>Read-writeURL of the logon page. For monitors of type CITRIX-WEB-INTERFACE, to monitor a dynamic page under the site path, terminate the site path with a slash (/). Applicable to CITRIX-WEB-INTERFACE, CITRIX-WI-EXTENDED and CITRIX-XDM monitors.<br>Minimum length = 1
storename<String>Read-writeStore Name. For monitors of type STOREFRONT, STORENAME is an optional argument defining storefront service store name. Applicable to STOREFRONT monitors.<br>Minimum length = 1
storefrontacctservice<String>Read-writeEnable/Disable probing for Account Service. Applicable only to Store Front monitors. For multi-tenancy configuration users my skip account service.<br>Default value: YES<br>Possible values = YES, NO
hostname<String>Read-writeHostname in the FQDN format (Example: porche.cars.org). Applicable to STOREFRONT monitors.<br>Minimum length = 1
netprofile<String>Read-writeName of the network profile.<br>Minimum length = 1<br>Maximum length = 127
originhost<String>Read-writeOrigin-Host value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.<br>Minimum length = 1
originrealm<String>Read-writeOrigin-Realm value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.<br>Minimum length = 1
hostipaddress<String>Read-writeHost-IP-Address value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers. If Host-IP-Address is not specified, the appliance inserts the mapped IP (MIP) address or subnet IP (SNIP) address from which the CER request (the monitoring probe) is sent.<br>Minimum length = 1
vendorid<Double>Read-writeVendor-Id value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.
productname<String>Read-writeProduct-Name value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.<br>Minimum length = 1
firmwarerevision<Double>Read-writeFirmware-Revision value for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.
authapplicationid<Double[]>Read-writeList of Auth-Application-Id attribute value pairs (AVPs) for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers. A maximum of eight of these AVPs are supported in a monitoring CER message.<br>Minimum value = 0<br>Maximum value = 4294967295
acctapplicationid<Double[]>Read-writeList of Acct-Application-Id attribute value pairs (AVPs) for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers. A maximum of eight of these AVPs are supported in a monitoring message.<br>Minimum value = 0<br>Maximum value = 4294967295
inbandsecurityid<String>Read-writeInband-Security-Id for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers.<br>Possible values = NO_INBAND_SECURITY, TLS
supportedvendorids<Double[]>Read-writeList of Supported-Vendor-Id attribute value pairs (AVPs) for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers. A maximum eight of these AVPs are supported in a monitoring message.<br>Minimum value = 1<br>Maximum value = 4294967295
vendorspecificvendorid<Double>Read-writeVendor-Id to use in the Vendor-Specific-Application-Id grouped attribute-value pair (AVP) in the monitoring CER message. To specify Auth-Application-Id or Acct-Application-Id in Vendor-Specific-Application-Id, use vendorSpecificAuthApplicationIds or vendorSpecificAcctApplicationIds, respectively. Only one Vendor-Id is supported for all the Vendor-Specific-Application-Id AVPs in a CER monitoring message.<br>Minimum value = 1
vendorspecificauthapplicationids<Double[]>Read-writeList of Vendor-Specific-Auth-Application-Id attribute value pairs (AVPs) for the Capabilities-Exchange-Request (CER) message to use for monitoring Diameter servers. A maximum of eight of these AVPs are supported in a monitoring message. The specified value is combined with the value of vendorSpecificVendorId to obtain the Vendor-Specific-Application-Id AVP in the CER monitoring message.<br>Minimum value = 0<br>Maximum value = 4294967295
vendorspecificacctapplicationids<Double[]>Read-writeList of Vendor-Specific-Acct-Application-Id attribute value pairs (AVPs) to use for monitoring Diameter servers. A maximum of eight of these AVPs are supported in a monitoring message. The specified value is combined with the value of vendorSpecificVendorId to obtain the Vendor-Specific-Application-Id AVP in the CER monitoring message.<br>Minimum value = 0<br>Maximum value = 4294967295
kcdaccount<String>Read-writeKCD Account used by MSSQL monitor.<br>Minimum length = 1<br>Maximum length = 32
storedb<String>Read-writeStore the database list populated with the responses to monitor probes. Used in database specific load balancing if MSSQL-ECV/MYSQL-ECV monitor is configured.<br>Default value: DISABLED<br>Possible values = ENABLED, DISABLED
storefrontcheckbackendservices<String>Read-writeThis option will enable monitoring of services running on storefront server. Storefront services are monitored by probing to a Windows service that runs on the Storefront server and exposes details of which storefront services are running.<br>Default value: NO<br>Possible values = YES, NO
metric<String>Read-writeMetric name in the metric table, whose setting is changed. A value zero disables the metric and it will not be used for load calculation.<br>Minimum length = 1<br>Maximum length = 37
metricthreshold<Double>Read-writeThreshold to be used for that metric.
metricweight<Double>Read-writeThe weight for the specified service metric with respect to others.<br>Minimum value = 1<br>Maximum value = 100
servicename<String>Read-writeThe name of the service to which the monitor is bound.<br>Minimum length = 1
servicegroupname<String>Read-writeThe name of the service group to which the monitor is to be bound.<br>Minimum length = 1
lrtmconf<Integer>Read-onlyState of LRTM configuration on the monitor.
lrtmconfstr<String>Read-onlyState of LRTM configuration on the monitor as STRING.<br>Possible values = ENABLED, DISABLED
dynamicresponsetimeout<Integer>Read-onlyResponse timeout of the DRTM enabled monitor , calculated dynamically based on the history and current response time.
dynamicinterval<Integer>Read-onlyInterval between monitoring probes for DRTM enabled monitor , calculated dynamically based monitor response time.
multimetrictable<String[]>Read-onlyMetric table to which to bind metrics, to be used only for output purposes.
dup_state<String>Read-only.<br>Default value: ENABLED<br>Possible values = ENABLED, DISABLED
dup_weight<Double>Read-only.<br>Default value: 1<br>Minimum value = 1<br>Maximum value = 100
weight<Double>Read-only.<br>Minimum value = 1<br>Maximum value = 100
__count<Double>Read-onlycount parameter

Operations

(click to see Properties)

ADD | DELETE | UPDATE | UNSET | ENABLE | DISABLE | GET (ALL) | GET | COUNT

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>.

add

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

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>
},
"sessionid":"##sessionid",
"lbmonitor":{
      "monitorname":<String_value>,
      "type":<String_value>,
      "action":<String_value>,
      "respcode":<String[]_value>,
      "httprequest":<String_value>,
      "rtsprequest":<String_value>,
      "customheaders":<String_value>,
      "maxforwards":<Double_value>,
      "sipmethod":<String_value>,
      "sipuri":<String_value>,
      "sipreguri":<String_value>,
      "send":<String_value>,
      "recv":<String_value>,
      "query":<String_value>,
      "querytype":<String_value>,
      "scriptname":<String_value>,
      "scriptargs":<String_value>,
      "dispatcherip":<String_value>,
      "dispatcherport":<Integer_value>,
      "username":<String_value>,
      "password":<String_value>,
      "secondarypassword":<String_value>,
      "logonpointname":<String_value>,
      "lasversion":<String_value>,
      "radkey":<String_value>,
      "radnasid":<String_value>,
      "radnasip":<String_value>,
      "radaccounttype":<Double_value>,
      "radframedip":<String_value>,
      "radapn":<String_value>,
      "radmsisdn":<String_value>,
      "radaccountsession":<String_value>,
      "lrtm":<String_value>,
      "deviation":<Double_value>,
                  "units1":<String_value>,
      "interval":<Integer_value>,
                  "units3":<String_value>,
      "resptimeout":<Integer_value>,
                  "units4":<String_value>,
      "resptimeoutthresh":<Double_value>,
      "retries":<Integer_value>,
      "failureretries":<Integer_value>,
      "alertretries":<Integer_value>,
      "successretries":<Integer_value>,
      "downtime":<Integer_value>,
                  "units2":<String_value>,
      "destip":<String_value>,
      "destport":<Integer_value>,
      "state":<String_value>,
      "reverse":<String_value>,
      "transparent":<String_value>,
      "iptunnel":<String_value>,
      "tos":<String_value>,
      "tosid":<Double_value>,
      "secure":<String_value>,
      "validatecred":<String_value>,
      "domain":<String_value>,
      "ipaddress":<String[]_value>,
      "group":<String_value>,
      "filename":<String_value>,
      "basedn":<String_value>,
      "binddn":<String_value>,
      "filter":<String_value>,
      "attribute":<String_value>,
      "database":<String_value>,
      "oraclesid":<String_value>,
      "sqlquery":<String_value>,
      "evalrule":<String_value>,
      "mssqlprotocolversion":<String_value>,
      "Snmpoid":<String_value>,
      "snmpcommunity":<String_value>,
      "snmpthreshold":<String_value>,
      "snmpversion":<String_value>,
      "metrictable":<String_value>,
      "application":<String_value>,
      "sitepath":<String_value>,
      "storename":<String_value>,
      "storefrontacctservice":<String_value>,
      "hostname":<String_value>,
      "netprofile":<String_value>,
      "originhost":<String_value>,
      "originrealm":<String_value>,
      "hostipaddress":<String_value>,
      "vendorid":<Double_value>,
      "productname":<String_value>,
      "firmwarerevision":<Double_value>,
      "authapplicationid":<Double[]_value>,
      "acctapplicationid":<Double[]_value>,
      "inbandsecurityid":<String_value>,
      "supportedvendorids":<Double[]_value>,
      "vendorspecificvendorid":<Double_value>,
                  "vendorspecificauthapplicationids":<Double[]_value>,
                  "vendorspecificacctapplicationids":<Double[]_value>,
      "kcdaccount":<String_value>,
      "storedb":<String_value>,
      "storefrontcheckbackendservices":<String_value>,
}}

Response Payload:

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

delete

URL: http://<NSIP>/nitro/v1/config/lbmonitor/monitorname_value<String>

Query-parameters:

warning

http://<NS_IP>/nitro/v1/config/lbmonitor/monitorname_value<String>?warning=yes

Use this query parameter to get warnings in nitro response. If this field is set to YES, warning message will be sent in 'message' field and 'WARNING' value is set in severity field of the response in case there is a

HTTP Method: DELETE

Response Payload:

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

update

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

HTTP Method: PUT

Request Payload:

{
"params": {
      "warning":<String_value>,
      "onerror":<String_value>"
},
sessionid":"##sessionid",
"lbmonitor":{
      "monitorname":<String_value>,
      "type":<String_value>,
      "action":<String_value>,
      "respcode":<String[]_value>,
      "httprequest":<String_value>,
      "rtsprequest":<String_value>,
      "customheaders":<String_value>,
      "maxforwards":<Double_value>,
      "sipmethod":<String_value>,
                  "sipreguri":<String_value>,
      "sipuri":<String_value>,
      "send":<String_value>,
      "recv":<String_value>,
      "query":<String_value>,
      "querytype":<String_value>,
      "username":<String_value>,
      "password":<String_value>,
      "secondarypassword":<String_value>,
      "logonpointname":<String_value>,
      "lasversion":<String_value>,
      "radkey":<String_value>,
      "radnasid":<String_value>,
      "radnasip":<String_value>,
      "radaccounttype":<Double_value>,
      "radframedip":<String_value>,
      "radapn":<String_value>,
      "radmsisdn":<String_value>,
      "radaccountsession":<String_value>,
      "lrtm":<String_value>,
      "deviation":<Double_value>,
                  "units1":<String_value>,
      "scriptname":<String_value>,
      "scriptargs":<String_value>,
      "validatecred":<String_value>,
      "domain":<String_value>,
      "dispatcherip":<String_value>,
      "dispatcherport":<Integer_value>,
      "interval":<Integer_value>,
                  "units3":<String_value>,
      "resptimeout":<Integer_value>,
                  "units4":<String_value>,
      "resptimeoutthresh":<Double_value>,
      "retries":<Integer_value>,
      "failureretries":<Integer_value>,
      "alertretries":<Integer_value>,
      "successretries":<Integer_value>,
      "downtime":<Integer_value>,
                  "units2":<String_value>,
      "destip":<String_value>,
      "destport":<Integer_value>,
      "state":<String_value>,
      "reverse":<String_value>,
      "transparent":<String_value>,
      "iptunnel":<String_value>,
      "tos":<String_value>,
      "tosid":<Double_value>,
      "secure":<String_value>,
      "ipaddress":<String[]_value>,
      "group":<String_value>,
      "filename":<String_value>,
      "basedn":<String_value>,
      "binddn":<String_value>,
      "filter":<String_value>,
      "attribute":<String_value>,
      "database":<String_value>,
      "oraclesid":<String_value>,
      "sqlquery":<String_value>,
      "evalrule":<String_value>,
      "Snmpoid":<String_value>,
      "snmpcommunity":<String_value>,
      "snmpthreshold":<String_value>,
      "snmpversion":<String_value>,
      "metrictable":<String_value>,
      "metric":<String_value>,
                  "metricthreshold":<Double_value>,
                  "metricweight":<Double_value>,
      "application":<String_value>,
      "sitepath":<String_value>,
      "storename":<String_value>,
      "storefrontacctservice":<String_value>,
      "storefrontcheckbackendservices":<String_value>,
      "hostname":<String_value>,
      "netprofile":<String_value>,
      "mssqlprotocolversion":<String_value>,
      "originhost":<String_value>,
      "originrealm":<String_value>,
      "hostipaddress":<String_value>,
      "vendorid":<Double_value>,
      "productname":<String_value>,
      "firmwarerevision":<Double_value>,
      "authapplicationid":<Double[]_value>,
      "acctapplicationid":<Double[]_value>,
      "inbandsecurityid":<String_value>,
      "supportedvendorids":<Double[]_value>,
      "vendorspecificvendorid":<Double_value>,
                  "vendorspecificauthapplicationids":<Double[]_value>,
                  "vendorspecificacctapplicationids":<Double[]_value>,
      "kcdaccount":<String_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",
"lbmonitor":{
      "monitorname":<String_value>,
      "type":<String_value>,
      "ipaddress":true,
      "scriptname":true,
      "destport":true,
      "netprofile":true,
      "action":true,
      "respcode":true,
      "httprequest":true,
      "rtsprequest":true,
      "customheaders":true,
      "maxforwards":true,
      "sipmethod":true,
      "sipreguri":true,
      "send":true,
      "recv":true,
      "query":true,
      "querytype":true,
      "username":true,
      "password":true,
      "secondarypassword":true,
      "logonpointname":true,
      "lasversion":true,
      "radkey":true,
      "radnasid":true,
      "radnasip":true,
      "radaccounttype":true,
      "radframedip":true,
      "radapn":true,
      "radmsisdn":true,
      "radaccountsession":true,
      "lrtm":true,
      "deviation":true,
      "scriptargs":true,
      "validatecred":true,
      "domain":true,
      "dispatcherip":true,
      "dispatcherport":true,
      "interval":true,
      "resptimeout":true,
      "resptimeoutthresh":true,
      "retries":true,
      "failureretries":true,
      "alertretries":true,
      "successretries":true,
      "downtime":true,
      "destip":true,
      "state":true,
      "reverse":true,
      "transparent":true,
      "iptunnel":true,
      "tos":true,
      "tosid":true,
      "secure":true,
      "group":true,
      "filename":true,
      "basedn":true,
      "binddn":true,
      "filter":true,
      "attribute":true,
      "database":true,
      "oraclesid":true,
      "sqlquery":true,
      "Snmpoid":true,
      "snmpcommunity":true,
      "snmpthreshold":true,
      "snmpversion":true,
      "metrictable":true,
      "mssqlprotocolversion":true,
      "originhost":true,
      "originrealm":true,
      "hostipaddress":true,
      "vendorid":true,
      "productname":true,
      "firmwarerevision":true,
      "authapplicationid":true,
      "acctapplicationid":true,
      "inbandsecurityid":true,
      "supportedvendorids":true,
      "vendorspecificvendorid":true,
      "vendorspecificauthapplicationids":true,
      "vendorspecificacctapplicationids":true,
      "kcdaccount":true,
}}

Response Payload:

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

enable

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

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"enable"
},
"sessionid":"##sessionid",
"lbmonitor":{
      "servicename":<String_value>,
      "servicegroupname":<String_value>,
      "monitorname":<String_value>,
}}

Response Payload:

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

disable

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

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"disable"
},
"sessionid":"##sessionid",
"lbmonitor":{
      "servicename":<String_value>,
      "servicegroupname":<String_value>,
      "monitorname":<String_value>,
}}

Response Payload:

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

get (all)

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

Query-parameters:

args

http://<NSIP>/nitro/v1/config/lbmonitor?args= "monitorname":<String_value>, "type":<String_value>,

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

filter

http://<NSIP>/nitro/v1/config/lbmonitor?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of lbmonitor resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<NS_IP>/nitro/v1/config/lbmonitor?view=summary

Use this query-parameter to get the summary output of lbmonitor resources configured on NetScaler.

pagesize=#no;pageno=#no

http://<NS_IP>/nitro/v1/config/lbmonitor?pagesize=#no;pageno=#no

Use this query-parameter to get the lbmonitor resources in chunks.

warning

http://<NS_IP>/nitro/v1/config/lbmonitor?warning=yes

Use this query parameter to get warnings in nitro response. If this field is set to YES, warning message will be sent in 'message' field and 'WARNING' value is set in severity field of the response in case there is a

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "lbmonitor": [ {
      "monitorname":<String_value>,
      "type":<String_value>,
      "interval":<Integer_value>,
      "units3":<String_value>,
      "resptimeout":<Integer_value>,
      "resptimeoutthresh":<Double_value>,
      "units4":<String_value>,
      "retries":<Integer_value>,
      "failureretries":<Integer_value>,
      "alertretries":<Integer_value>,
      "successretries":<Integer_value>,
      "downtime":<Integer_value>,
      "units2":<String_value>,
      "destip":<String_value>,
      "destport":<Integer_value>,
      "state":<String_value>,
      "reverse":<String_value>,
      "transparent":<String_value>,
      "iptunnel":<String_value>,
      "tos":<String_value>,
      "tosid":<Double_value>,
      "secure":<String_value>,
      "action":<String_value>,
      "respcode":<String[]_value>,
      "httprequest":<String_value>,
      "rtsprequest":<String_value>,
      "send":<String_value>,
      "recv":<String_value>,
      "query":<String_value>,
      "querytype":<String_value>,
      "username":<String_value>,
      "password":<String_value>,
      "secondarypassword":<String_value>,
      "logonpointname":<String_value>,
      "lasversion":<String_value>,
      "validatecred":<String_value>,
      "domain":<String_value>,
      "radkey":<String_value>,
      "radnasid":<String_value>,
      "radnasip":<String_value>,
      "radaccounttype":<Double_value>,
      "radframedip":<String_value>,
      "radapn":<String_value>,
      "radmsisdn":<String_value>,
      "radaccountsession":<String_value>,
      "lrtm":<String_value>,
      "lrtmconf":<Integer_value>,
      "lrtmconfstr":<String_value>,
      "deviation":<Double_value>,
      "units1":<String_value>,
      "dynamicresponsetimeout":<Integer_value>,
      "dynamicinterval":<Integer_value>,
      "scriptname":<String_value>,
      "scriptargs":<String_value>,
      "dispatcherip":<String_value>,
      "dispatcherport":<Integer_value>,
      "sipuri":<String_value>,
      "sipmethod":<String_value>,
      "maxforwards":<Double_value>,
      "sipreguri":<String_value>,
      "customheaders":<String_value>,
      "ipaddress":<String[]_value>,
      "group":<String_value>,
      "filename":<String_value>,
      "basedn":<String_value>,
      "binddn":<String_value>,
      "filter":<String_value>,
      "attribute":<String_value>,
      "database":<String_value>,
      "oraclesid":<String_value>,
      "sqlquery":<String_value>,
      "evalrule":<String_value>,
      "Snmpoid":<String_value>,
      "snmpcommunity":<String_value>,
      "snmpthreshold":<String_value>,
      "snmpversion":<String_value>,
      "metric":<String_value>,
      "metrictable":<String_value>,
      "multimetrictable":<String[]_value>,
      "metricthreshold":<Double_value>,
      "metricweight":<Double_value>,
      "application":<String_value>,
      "sitepath":<String_value>,
      "storename":<String_value>,
      "storefrontacctservice":<String_value>,
      "storefrontcheckbackendservices":<String_value>,
      "hostname":<String_value>,
      "netprofile":<String_value>,
      "mssqlprotocolversion":<String_value>,
      "originhost":<String_value>,
      "originrealm":<String_value>,
      "hostipaddress":<String_value>,
      "vendorid":<Double_value>,
      "productname":<String_value>,
      "firmwarerevision":<Double_value>,
      "authapplicationid":<Double[]_value>,
      "acctapplicationid":<Double[]_value>,
      "inbandsecurityid":<String_value>,
      "supportedvendorids":<Double[]_value>,
      "vendorspecificvendorid":<Double_value>,
      "vendorspecificauthapplicationids":<Double[]_value>,
      "vendorspecificacctapplicationids":<Double[]_value>,
      "servicename":<String_value>,
      "dup_state":<String_value>,
      "dup_weight":<Double_value>,
      "servicegroupname":<String_value>,
      "weight":<Double_value>,
      "kcdaccount":<String_value>,
      "storedb":<String_value>

}]}

get

URL: http://<NS_IP>/nitro/v1/config/lbmonitor/monitorname_value<String>

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "lbmonitor": [ {
      "monitorname":<String_value>,
      "type":<String_value>,
      "interval":<Integer_value>,
      "units3":<String_value>,
      "resptimeout":<Integer_value>,
      "resptimeoutthresh":<Double_value>,
      "units4":<String_value>,
      "retries":<Integer_value>,
      "failureretries":<Integer_value>,
      "alertretries":<Integer_value>,
      "successretries":<Integer_value>,
      "downtime":<Integer_value>,
      "units2":<String_value>,
      "destip":<String_value>,
      "destport":<Integer_value>,
      "state":<String_value>,
      "reverse":<String_value>,
      "transparent":<String_value>,
      "iptunnel":<String_value>,
      "tos":<String_value>,
      "tosid":<Double_value>,
      "secure":<String_value>,
      "action":<String_value>,
      "respcode":<String[]_value>,
      "httprequest":<String_value>,
      "rtsprequest":<String_value>,
      "send":<String_value>,
      "recv":<String_value>,
      "query":<String_value>,
      "querytype":<String_value>,
      "username":<String_value>,
      "password":<String_value>,
      "secondarypassword":<String_value>,
      "logonpointname":<String_value>,
      "lasversion":<String_value>,
      "validatecred":<String_value>,
      "domain":<String_value>,
      "radkey":<String_value>,
      "radnasid":<String_value>,
      "radnasip":<String_value>,
      "radaccounttype":<Double_value>,
      "radframedip":<String_value>,
      "radapn":<String_value>,
      "radmsisdn":<String_value>,
      "radaccountsession":<String_value>,
      "lrtm":<String_value>,
      "lrtmconf":<Integer_value>,
      "lrtmconfstr":<String_value>,
      "deviation":<Double_value>,
      "units1":<String_value>,
      "dynamicresponsetimeout":<Integer_value>,
      "dynamicinterval":<Integer_value>,
      "scriptname":<String_value>,
      "scriptargs":<String_value>,
      "dispatcherip":<String_value>,
      "dispatcherport":<Integer_value>,
      "sipuri":<String_value>,
      "sipmethod":<String_value>,
      "maxforwards":<Double_value>,
      "sipreguri":<String_value>,
      "customheaders":<String_value>,
      "ipaddress":<String[]_value>,
      "group":<String_value>,
      "filename":<String_value>,
      "basedn":<String_value>,
      "binddn":<String_value>,
      "filter":<String_value>,
      "attribute":<String_value>,
      "database":<String_value>,
      "oraclesid":<String_value>,
      "sqlquery":<String_value>,
      "evalrule":<String_value>,
      "Snmpoid":<String_value>,
      "snmpcommunity":<String_value>,
      "snmpthreshold":<String_value>,
      "snmpversion":<String_value>,
      "metric":<String_value>,
      "metrictable":<String_value>,
      "multimetrictable":<String[]_value>,
      "metricthreshold":<Double_value>,
      "metricweight":<Double_value>,
      "application":<String_value>,
      "sitepath":<String_value>,
      "storename":<String_value>,
      "storefrontacctservice":<String_value>,
      "storefrontcheckbackendservices":<String_value>,
      "hostname":<String_value>,
      "netprofile":<String_value>,
      "mssqlprotocolversion":<String_value>,
      "originhost":<String_value>,
      "originrealm":<String_value>,
      "hostipaddress":<String_value>,
      "vendorid":<Double_value>,
      "productname":<String_value>,
      "firmwarerevision":<Double_value>,
      "authapplicationid":<Double[]_value>,
      "acctapplicationid":<Double[]_value>,
      "inbandsecurityid":<String_value>,
      "supportedvendorids":<Double[]_value>,
      "vendorspecificvendorid":<Double_value>,
      "vendorspecificauthapplicationids":<Double[]_value>,
      "vendorspecificacctapplicationids":<Double[]_value>,
      "servicename":<String_value>,
      "dup_state":<String_value>,
      "dup_weight":<Double_value>,
      "servicegroupname":<String_value>,
      "weight":<Double_value>,
      "kcdaccount":<String_value>,
      "storedb":<String_value>

}]}

count

URL: http://<NS_IP>/nitro/v1/config/lbmonitor?count=yes

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done",lbmonitor: [ { "__count": "#no"} ] }