VSERVER_T

Operates on a vserver

Direct expressions

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: num_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 index

Parameters (expressions not allowed):

            index- Index Raises undef if used on non ADDR based vservers or vserver does not have SNMP load table

Returns: snmp_table_t

STATE

Returns the state of vserver.

Returns: vserver_state_e

SURGECOUNT

Returns as number, the number of requests in surge queue of vserver.

Returns: num_at

THROUGHPUT

Returns throughput of the vserver in Mbps (Megabits per sec) as Unsigned long number.

Returns: unsigned_long_at