iControl Apps - #01 - Disabling Node Servers
In version 4.x of BIG-IP, there was a concept of a Node Server (a top level object that consisted of a node's address and port). Basically it was a top level rollup of all instances of a specific no...
Published May 15, 2008
Version 1.0Frank_30869
Apr 06, 2009Nimbostratus
I agree $sPort is used in the code, but it is a required command line argument not shown in the examples
my $sPort = $ARGV[1];
but then overwritten 6 lines later
my $sPort = 443;
followed by a useless test to see if it is 80/8080/443.
As for set_monitor_state, the docs say it has to be one of EnabledState states, which according to http://devcentral.f5.com/wiki/default.aspx/iControl/Common__EnabledState.html
can only be STATE_DISABLED or STATE_ENABLED, with no mentioned of forced offline.