Forum Discussion
Get current connection on Ansible module : bigip_node
Hello all.
I'm trying to use bigip_node, bigip_facts module on ANSIBLE 2.2. I succeed to control a node to Forced offline (only active connections allowed).
After that, I want to check number of current connection the node, because of waiting for next work. How can I have the value of it?
I found a answer of Python iControl below. But I fail to find it on any ansible module.
Thanks for reading.
5 Replies
- Nazir_52641
Cirrus
Hi Hidehara,
You can use tmsh show sys connection command using raw module
- name: "Get active connection on specific server" raw: "tmsh show sys connection ss-server-addr 192.168.1.12" delegate_to: localhostThanks
Syed Nazir
- hidehara_189502
Nimbostratus
Hi Syed Nazir
Thanks for great answer.
I didn't imagine that accessing tmsh shell with raw module.
I'll try to do that.
Regards
- paras-patel_337
Nimbostratus
is there any way to do same thing using chef recipe ?
- ajayrash
Nimbostratus
Hi All,
After an year , reopening thread , from the above query we will be able to find the no of connection when 0 need to disable , how to do that ?
thanks in advance
- jomedusa
Cirrus
I have struggled with this for sometime, I have not had success with the tmsh commands giving the proper output that will reflect 0 connections. Are there any modules that do this directly?
ajayrah, did you ever find a working reliable solution?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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