Forum Discussion
mitraj93
Nimbostratus
Oct 22, 2019Script 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...
Oct 22, 2019
Hi mitraj93,
You can use iCall.
create sys icall script resetStats_scriptsys icall script resetStats_script {
app-service none
definition {
tmsh::reset-stats ltm rule
tmsh::reset-stats ltm virtual
tmsh::reset-stats ltm node
tmsh::reset-stats ltm pool
tmsh::reset-stats ltm snatpool
tmsh::reset-stats ltm virtual-address
}
description none
events none
}create sys icall handler periodic resetStats_periodic interval 86400 script resetStats_scriptRecent 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