Forum Discussion
haeoraki_127471
Nimbostratus
Apr 02, 2004Is it possible to get response time of node?
Q1. Is it possible to get response time of node using iControl SDK?
I want to display node status as good or bad.
If response time is short, node status may be good. If not, it ...
Apr 03, 2004
No problem on the questions, that is what we are here for B-).
Q1. Is it possible to get response time of node using iControl SDK?
I want to display node status as good or bad.
If response time is short, node status may be good. If not, it may be bad.
I can only know the information of connection, bits in out, packets in out about node. Hmm, right? Any other idea?
I saw a demo program F5 network. At there I saw node status displayed as good or bad. I want to do, too
It is not possible to retrieve the response time as a metric from either the SDK, the GUI, or the command line. Our packet processing uses this value to determine load balancing in the "Fastest" lb modes. What you are referring to for the state is probably just the ITCMLocalLB::Node::get_availability() method that returns AVAILABILITY_UP or AVAILABILITY_DOWN depending on whether or not the node is available for load balancing. ITCMLocalLB::Node::get_state() is another method you can check and that one returns whether or not the Node is being included in lb decisions (STATE_ENABLED) or not (STATE_DISABLED).
Q2. ITCMGlobalLB.BaseServer.get_server_availability returns StatColor.
Does StatColor mean that server state is good or bad. STAT_BLUE is good and STAT_RED is bad?
Looks like the comments for those in the SDK are missing. We'll get that corrected in the next version. Here's the breakdown:
STAT_BLUE : 0 : No contact (meaning 3-DNS hasn't attempted contact)
STAT_GREEN : 1 : Up and running (A-OK).
STAT_YELLOW : 2 : Admin out-of-service (Disabled by admin intervention)
STAT_RED : 3 : Down. (Cannot connect to server).
STAT_GRAY : 4 : Not in our control.
STAT_PURPLE : 5 : Not used
STAT_ORANGE : 6 : Not used
STAT_WHITE : 7 : Not used
Q3. At Q2, "server" means BIG-IP machine or virtual server?
"server" represnts a BIG-IP, another 3-DNS, or a host system. Virtual Servers in 3-DNS are similar to Virtual Servers in BIG-IP, they are just virtual IP's.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects