Forum Discussion
Script/logic to delete unused/orphan objects in F5 ltm
Is there any script to delete the unused objects like profile, pool, nodes, in F5 LTM. I want a script which can run against the bigip.conf file and not directly on the device.
Thanks, Harish
2 Replies
- Samir_Jha_52506
Noctilucent
iHealth is best and recommend script to show unused object for reporting but it will not delete. Before removing any thing review is always best option. Generate QKview n upload to iHealth portal.
- Dominic_NC
Nimbostratus
After you review the QKview in iHealth you can get a list of orphaned objects and use that to run an Ansible script to remove them once you verify. here is an example for Ansible and nodes, https://docs.ansible.com/ansible/latest/modules/bigip_node_module.html.
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