Hi,
I hope, that I'm writing the correct person, if not please forward this
question to correct one.

We are try to implement HAProxy and we are performing some tests, one of
our requirement is automatic management of HAProxy during server
maintenance, this need reading status of servers and put nods to
appropriate state.

I'm faced to problem regarding some missing information in documentation
(maybe this information is present but i can't find it).

*Problem:*
when i prompt command: *show servers state Test-cluster*

It returns me output which can be reformated to someting like:

be_id                      : 5
be_name                    : Test-cluster
srv_id                     : 2
srv_name                   : clstrnod2
srv_addr                   : 192.168.10.6
srv_op_state               : *2*
srv_admin_state            : 0
srv_uweight                : 8
srv_iweight                : 10
srv_time_since_last_change : 264872
srv_check_status           : 9
srv_check_result           : 3
srv_check_health           : 7
srv_check_state            : 6
srv_agent_state            : 22
bk_f_forced_id             : 0
srv_f_forced_id            : 0

I found in documentation that for example :

srv_op_state:                Server operational state (UP/DOWN/...).

But there is no clue to realize what means INTEGER value 2. I have this
problem for all other status values as well. Could you please help me to
find documentation where is written what INTEGER values represents?

Thank you very much

Martin Sindler

Reply via email to