This topic lists the expressions that are provided by this class.
ACTIVESERVICES
Returns number of active services Raises undef if used on non ADDR based vservers
Returns: num_at
ACTIVETRANSACTIONS
Returns current active transaction counter accumulated on vserver level
Returns: unsigned_long_at
AVERAGESURGECOUNT
Returns average number of requests in surge queue per active service Raises undef if used on non ADDR based vservers
Returns: double_at
CONNECTIONS
Returns number of connections on the vserver as Unsigned long number.
Returns: unsigned_long_at
HEALTH
Returns as number, the percentage of UP services bound to the vserver.
Returns: num_at
IS_DYNAMIC_LIMIT_REACHED
Returns in Boolean TRUE if number of connections on a vserver reached the dynamic threshold, computed as a sum of max clients on all active services under the vserver.
Returns: bool_at
MAXAUTOSCALEMEMBERS
Returns the configured maximum number of autoscale members Raises undef if used on non ADDR based vservers
Returns: num_at
MINAUTOSCALEMEMBERS
Returns the configured minimum number of autoscale members Raises undef if used on non ADDR based vservers
Returns: num_at
NAME
Returns the name of the vserver(CS/LB).
Returns: text_t
RESPTIME
Returns as number, the response time in milli-seconds. RESPTIME is the average TTFB (Time To recieve First Byte) from all the backend services bound to this vserver.
Returns: num_at
SNMP_TABLE (uint index)
Returns the load entry in the SNMP table at given index
Parameters (expressions not allowed):
index - Index Raises undef if used on non ADDR based vservers or vserver does not have SNMP load table or the index is out of boundary (valid index values are 0-9)
Returns: snmp_table_t
SURGECOUNT
Returns as number, the number of requests in surge queue of vserver.
Returns: unsigned_long_at
THROUGHPUT
Returns throughput of the vserver in Mbps (Megabits per sec) as Unsigned long number.
Returns: unsigned_long_at