LocalLB::PoolMember::set_monitor_state

Introduced : BIG-IP_v9.0
Sets the monitor/availability states for the specified pool members.

Prototype

 set_monitor_state(
    in String [] pool_names,
    in LocalLB__PoolMember__MemberMonitorState [] [] monitor_states
);

Parameters

Parameter Type Description
pool_names String [] The pool names to which the specified members belong.
monitor_states MemberMonitorState [] [] The members and the monitor/availability states to be set.

Return Type

Type Description
void  

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

  • Enable/Disable pool member - This Perl script will enable or disable all instances of a node address and port across all pools.
  • Enabling or disabling a pool member - Using iControl proxy to enable or disable a pool member
  • Java Object Ltm Pool Member - This Java class will wrap the iControl LTM PoolMember interface to make it look like an object.
  • Java Pool Member Control - This Java application allows for the graceful shutdown of a pool member. As an added bonus it also allows you to query pools. pool members. pool member status. and enable and disable the po…
  • Pool Toggle - The script takes command line arguments to log into a version 9 BigIP and either show all the pools and members. or enable|disable all of a specified pool’s members.
  • Ps BIG-IP Interactive Shell - This sample application illustrates how to build an interactive shell to manage your BIG-IP.
  • Ps Server Control - This PowerShell application will get and set the infamous three-way-toggle state (enabled. disabled. offline) for server objects.
  • Virtual Server Pool Member Status And Control - This Windows app will allow you to view Virtual Server pools (or system wide pools) and control their members.

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.