For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

joek_44162's avatar
joek_44162
Icon for Altostratus rankAltostratus
Apr 04, 2013

Detecting monitor all min Value

I currently have a python script that pulls some pool info via icontrol and I can't seem to find the option under LocalLB::Pool to grab the value for Availability Requirements. This value specify the number of monitors that must report a pool member as being available before that member is defined as being in an up state.

 

e.g. monitor all min 2 of monnitor1 monitor2 monintor3

 

Is there such a method in icontrol to retrieve this value?

 

 

Thanks!

 

 

Edit:

 

I was able to resolve this by checking for the monitor type of MONITOR_RULE_TYPE_M_OF_N and the quorum value

 

(LocalLB.Pool.MonitorAssociation){

 

pool_name = "test_pool"

 

monitor_rule =

 

(LocalLB.MonitorRule){

 

type = "MONITOR_RULE_TYPE_M_OF_N"

 

quorum = 2

 

monitor_templates[] =

 

"Http", "tcp"

 

}

 

}

 

No RepliesBe the first to reply