Forum Discussion
cdjac0bsen
Nimbostratus
Apr 08, 2019Report to audit virtual servers without ASM policy or ASM policy disabled
We are looking to report on two issues:
1) All virtual servers that have no ASM policy applied, and
2) All virtual servers that have LTM policy rules that disable ASM policy
For 1, I know I can ...
rob_carr
Cirrocumulus
Apr 10, 2019The script I provided was meant to be run from the linux shell, because of the flexibility of having access to linux utilites like cut (and sort and uniq, for example).
Here's a one liner that prints out virtual server and policy names when the policy includes 'asm disable':
for policy in `tmsh list ltm policy one-line | grep 'asm disable' | cut -d' ' -f3 `; do echo -n `tmsh list ltm virtual one-line | grep $policy | cut -d' ' -f3`; echo ::$policy; done
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