| setlbmonitor_metric |
Use this method to set metric name in the metric table, whose setting is changed. A value zero disables the metric and it will not be used for load calculation |
Syntax |
Parameters |
monitorname |
Name of the monitor. This is mandatory parameter. |
type |
Type of monitor that you want to create. This is mandatory parameter. 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, SIP-TCP, 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, SMPP, CITRIX-XNC-ECV, CITRIX-XDM, CITRIX-STA-SERVICE, CITRIX-STA-SERVICE-NHOP, MQTT, HTTP2, DTLS, QUIC, KAFKA-AUTODISCOVER. |
metric |
Metric name in the metric table, whose setting is changed. A value zero disables the metric and it will not be used for load calculation |
metricthreshold |
Threshold to be used for that metric. |
metricweight |
The weight for the specified service metric with respect to others. Minimum value = 1. Maximum value = 100. |
Return Value |
Returns simpleResult |
See Also |