mitraj93
Oct 22, 2019Nimbostratus
Script to Reset Stats on All Partitions
We are going through a migration project where we often have to reset stats on a lot of LTMs periodically to check for traffic on legacy configurations
Is there a way I can use a remote shell script I can use over a cronjob to clear all stats on all elements on all partitions?
Currently I list out all partitions and run this in each partition over tmsh:
reset-stats ltm rule
reset-stats ltm virtual
reset-stats ltm node
reset-stats ltm pool
reset-stats ltm snatpool
reset-stats ltm virtual-address