Hi Ade,
Here is a quick sample script that will show all the Protocol stats for the clientssl profiles for the Virtual servers that have them enabled. This script is probably not perfect but I wrote it really quick and it seems to work in my environment. You might need to modify to meet your needs.
[root@device:Active:Standalone] config cat report.bash
!/bin/bash
List Profiles
PROFILES=`tmsh list ltm profile client-ssl | grep "^ltm" | awk -F" " '{print $4}'`
for all in ${PROFILES}
do
VS_NAME=`tmsh list ltm virtual one-line | grep $all | awk -F" " '{print $3}'`
if [ "${VS_NAME}" != "" ]
then
echo "$VS_NAME -- $all"
tmsh show ltm profile client-ssl $all | grep Protocol
fi
done
[root@device:Active:Standalone] config
Here is what the output looks like.
[root@device:Active:Standalone] config bash report.bash
test_NA_vs -- clientssl
Protocol
SSL Protocol Version 2 0
SSL Protocol Version 3 0
TLS Protocol Version 1.0 0
TLS Protocol Version 1.1 0
TLS Protocol Version 1.2 261
DTLS Protocol Version 1 0
my_policy_vs -- website.net_client
Protocol
SSL Protocol Version 2 0
SSL Protocol Version 3 0
TLS Protocol Version 1.0 1
TLS Protocol Version 1.1 0
TLS Protocol Version 1.2 6
DTLS Protocol Version 1 0
[root@device:Active:Standalone] config
You will need to save the report to the system and then run it. You can add this to cron if you want and add some mail commands around it then have it email the report when you want to see it.
As boneyard stated this is a great opportunity for you to look into scripting and learn a bit about it. I hope this helps you get started.
Regards,
Seth