-
AppExpert Applications and Templates
-
Configure application authentication, authorization, and auditing
-
-
Advanced Policy Expressions: Working with Dates, Times, and Numbers
-
Generating the Day of the Week, as a String, in Short and Long Formats
-
Expression Prefixes for Numeric Data Other Than Date and Time
-
Virtual Server Based Expressions
-
Advanced Policy Expressions: Parsing HTTP, TCP, and UDP Data
-
Advanced Policy Expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Virtual server based expressions
The SYS.VSERVER("<vserver-name>")
expression prefix enables you to identify a virtual server. You can use the following functions with this prefix to retrieve information related to the specified virtual server:
-
THROUGHPUT. Returns the throughput of the virtual server in Mbps (Megabits per second). The value returned is an unsigned long number.
Usage: SYS.VSERVER(“vserver”).THROUGHPUT
-
CONNECTIONS. Returns the number of connections being managed by the virtual server. The value returned is an unsigned long number.
Usage: SYS.VSERVER(“vserver”).CONNECTIONS
-
STATE. Returns the state of the virtual server. The value returned is UP, DOWN, or OUT_OF_SERVICE. One of these values can therefore be passed as an argument to the EQ() operator to perform a comparison that results in a Boolean TRUE or FALSE.
Usage: SYS.VSERVER(“vserver”).STATE
-
HEALTH. Returns the percentage of services in an UP state for the specified virtual server. The value returned is an integer.
Usage: SYS.VSERVER(“vserver”).HEALTH
-
RESPTIME. Returns the response time as an integer representing the number of microseconds. Response time is the average TTFB (Time To First Byte) from all the services bound to the virtual server.
Usage: SYS.VSERVER(“vserver”).RESPTIME
-
SURGECOUNT. Returns the number of requests in the surge queue of the virtual server. The value returned is an integer.
Usage: SYS.VSERVER(“vserver”).SURGECOUNT
Example 1:
The following rewrite policy aborts rewrite processing if the number of connections at the load balancing virtual server LBvserver exceeds 10000:
add rewrite policy norewrite_pol sys.vserver("LBvserver").connections.gt(10000) norewrite
Example 2:
The following rewrite action inserts a custom header, TP, whose value is the throughout at the virtual server LBvserver:
add rewrite action tp_header insert_http_header TP SYS.VSERVER("LBvserver").THROUGHPUT
Example 3:
The following audit log message action writes the average TTFB of the services bound to a virtual server, to the newnslog log file:
add audit messageaction log_vserver_resptime_act INFORMATIONAL "\"NS Response Time to Servers:\" + sys.vserver(\"ssllb\").resptime + \" millisec\"" -logtoNewnslog YES -bypassSafetyCheck YES
Share
Share
In this article
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.