| Trees | Indices | Help |
|---|
|
|
object --+
|
base.AxObject --+
|
RealServerStats
Implementation of the aXAPI slb.server.fetchAllStatistics/.fetchStatistics method to
collect the SLB server statistics data
Usage:
# Server stats with following data fields: all read-only
# name Server name.
# host Server IP address (IPv4 or IPv6) or dns name
# status Server status, either enabled(1) or disabled(0)
# cur_conns total number of current connections
# tot_conns total number of connections, ulong64
# req_pkts total number of request packets received, ulong64
# resp_pkts total number of response packets sent, ulong64
# req_bytes total number of request bytes received, ulong64
# resp_bytes total number of response bytes sent, ulong64
# cur_reqs total number of current requests
# total_reqs total number of requests, ulong64
# total _reqs_succ total number of successful requests, ulong64
# port_stat_list tag for the server ports
# port_num server port number
# protocol L3 protocol. TCP(2) or UDP(3)
# status member status either enabled(1) or disabled(0)
# cur_conns total number of current connections
# tot_conns total number of connections, ulong64
# req_pkts total number of request packets received, ulong64
# resp_pkts total number of response packets sent, ulong64
# req_bytes total number of request bytes received, ulong64
# resp_bytes total number of response bytes sent, ulong64
# cur_reqs total number of current requests
# total_reqs total number of requests, ulong64
# total_reqs_succ total number of successful requests, ulong64
# Example:
all_server_stats = RealServerStats.getAll()
for srv in all_server_stats:
# work srv for stats data
print srv
# get the stats data for s1
s = RealServerStats.searchByName(name='s1')
print s
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
__display__ =
|
|||
__obj_name__ =
|
|||
__obj_readonly__ = True
|
|||
__xml_convrt__ =
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
|||
__xml_convrt__
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 27 11:20:20 2013 | http://epydoc.sourceforge.net |