Forum Discussion
goatman64_12745
Nimbostratus
Jun 21, 2006icontrol equivalent call for 'b node down'
What is the equivalent call in iControl v9.0 to disable a node address? I'm using LocalLB::NodeAddress::set_session_enabled_state and setting disabled. In the BigIP UI this sets a state "Only persis...
May 22, 2007
Not sure what you are asking about the status colors. There are no parameters for the set methods that directly equate to these. Basically when you call get_monitor_state() the value can depend on what's going on with everything behind the scenes (is the monitor currently running, has the monitor not run yet, has it reported an up or down state, has it been disabled by a parent object, etc.) You can set the monitor_state to either enabled or disabled for an object, but the status is what's going on at the moment you make the request for get_monitor_status().
The possible values for the monitors status is:
MONITOR_STATUS_UNCHECKED 0 Status of an enabled object that is not being monitored.
MONITOR_STATUS_CHECKING 1 Initial status of a object until its monitors report.
MONITOR_STATUS_UP 2 Status of an enabled object when its monitors succeed.
MONITOR_STATUS_DOWN 3 Status of an enabled object when its monitors fail.
MONITOR_STATUS_FORCED_DOWN 4 Status of a object when it's forced down manually.
MONITOR_STATUS_MAINT 5 Status of an object when in maintenance mode.
MONITOR_STATUS_ADDRESS_DOWN 6 Status of an object whose node address monitor fails.
MONITOR_STATUS_DOWN_BY_IRULE 7 Status of an object which has been marked down by an iRule.
MONITOR_STATUS_DOWN_WAIT_FOR_MANUAL_RESUME 8 Status of an object which has been marked down, and should be manually marked up.
Not sure if this answers your question or not. If not, let me know and I'll try to clarify it further.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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