Forum Discussion
sloehandman
Nimbostratus
May 07, 2020Capture SSL Profile Protocol Stats per Virtual Server
We are on Version 13.1 LTM If you are familiar with the output of the "show ltm profile client-ssl" command, I want to produce the same output on a per VIP basis. Or at least get the Protocol &...
jaikumar_f5
Noctilucent
May 08, 2020,
Here's what I use for my auditing work, a simple neat and clean.
#!/bin/bash
echo "Virtual Server, Client-SSL Profile, SSLv2, SSLv3, TLSv1.0, TLSv1.1, TLSv1.2, DTLS" > client-ssl-output.csv
profile_names=`tmsh list ltm profile client-ssl one-line | awk -F" " '{print $4}'`
for x in ${profile_names}
do
virtual_name=`tmsh list ltm virtual one-line | grep $x | awk -F" " '{print $3}'`
if [ "${virtual_name}" != "" ]
then
cmd=`tmsh show ltm profile client-ssl $x | grep Version | awk -vORS=, '{ print $5 }'`
for y in ${virtual_name}
do
echo "$y,$x,$cmd" >> client-ssl-output.csv
done
fi
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