Open joepeppard opened 5 years ago
Hi, what version of the LTM are you using? Have you tried specifying the IP address of the pool member for the Address param? Also, I haven't been keeping this repo as up to date as the F5-LTM repo. Not sure if you've tried getting stats with that PS module.
Thanks, Joel
Oh, I'm sorry, I was using F5-LTM and posted to the wrong project. I was able to use the address and reference the connections. The snippet below worked. Thanks!
$connections = Get-PoolMemberStats -F5Session $Session -partition $F5Partition -PoolName $F5Pool -address $nodeip | Select-Object -ExpandProperty 'serverside.curConns'
I could reference the number of connections via $connections.value
Using Get-PoolMemberStats without specifying a member name returns the stats for all members. However, if you specify a member, it doesn't return anything. I'm not sure if this is expected or if I need to specify the member name in a specific format.