VSERVER_T
Operates on a vserver
This topic lists the expressions that are provided by this class.
-
ACTIVESERVICESReturns number of active services Raises undef if used on non ADDR based vservers
Returns: num_at
-
ACTIVETRANSACTIONSReturns current active transaction counter accumulated on vserver level
Returns: unsigned_long_at
-
AVERAGESURGECOUNTReturns average number of requests in surge queue per active service Raises undef if used on non ADDR based vservers
Returns: double_at
-
CONNECTIONSReturns number of connections on the vserver as Unsigned long number.
Returns: unsigned_long_at
Determines the services selected by the LoadBalancing Algorithm on a given vserver and returns a list of them in the preference order.
Parameters (expressions not allowed):
attr- - Service Attribute which could be service description - 'DESCRIPTION', service name - 'NAME', service IP - 'IP', service port - 'PORT', service IP:port combination - 'IPPORT'
separator- - The string inserted between each of the returned services
Returns: text_t
-
HEALTHReturns as number, the percentage of UP services bound to the vserver.
Returns: num_at
-
IS_DYNAMIC_LIMIT_REACHEDReturns 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
-
MAXAUTOSCALEMEMBERSReturns the configured maximum number of autoscale members Raises undef if used on non ADDR based vservers
Returns: num_at
-
MINAUTOSCALEMEMBERSReturns the configured minimum number of autoscale members Raises undef if used on non ADDR based vservers
Returns: num_at
-
NAMEReturns the name of the vserver(CS/LB).
Returns: text_t
-
RESPTIMEReturns 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
-
STATEReturns the state of vserver.
Returns: vserver_state_e
-
SURGECOUNTReturns as number, the number of requests in surge queue of vserver.
Returns: unsigned_long_at
-
THROUGHPUTReturns throughput of the vserver in Mbps (Megabits per sec) as Unsigned long number.
Returns: unsigned_long_at
-
TYPEReturns the type of this VServer.
Returns: vserver_type_e
-
IS_MANAGEMENT_ACCESS_ENABLEDReturns true if management access is enabled on this vserver address.
Returns: bool_at
-
IS_SYSTEM_ACCESS_SERVERReturns true if this vserver is a system access server.
Returns: bool_at
-
IS_AUTHENTICATION_ENABLEDReturns true if authentication is enabled on this vserver.
Returns: bool_at
IS_MANAGEMENT_ACCESS_ENABLED_FOR (management_access_type_e mgmt_type)
Returns true if management access is enabled for the given type, on the current vserver IP address.
Parameters (expressions not allowed):
mgmt_type- Management access type
Returns: bool_at
-
ASSOCIATED_AUTH_VSERVERReturns the authentication vserver associated with this vserver.
Returns: vserver_t