Forum Discussion
FTD_Routing_Hyd
Dec 07, 2016Nimbostratus
How to check active connections in icontrol ?
Hi,
I need a help regarding F5 icontrol...
When I disable a node using icontrol in powershell,it is disabled.I want to check the current connections
on that node after disabling,I mean post disablin...
- Dec 08, 2016
Please use iControl REST API with
like below with yourInvoke-RestMethod
,username
andpassword
.bigip
PS> $securePwd = ConvertTo-SecureString "password" -AsPlainText -Force PS> $credential = New-Object System.Management.Automation.PSCredential("username",$securePwd)
you can see nodename list
PS> Invoke-RestMethod -Uri https://bigip/mgmt/tm/ltm/node/stats -Credential $credential | Format-List
And you can see the stats of specified node with
PS> Invoke-RestMethod -Uri https://bigip/mgmt/tm/ltm/node/{target-nodename}/stats -Credential $credential | Format-List
FTD_Routing_Hyd
Dec 08, 2016Nimbostratus
Hi Uchi,
The above syntax worked.. Thanks for the help!
But,post running 'Invoke-RestMethod -Uri -Credential $credential',I receive the below results.
kind selfLink entries
tm:ltm:node:nodecollectionstats ... @{...
How to go ahead,if I want to check the active connections on a particular node ?
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