Forum Discussion
Nik
Jul 18, 2011Cirrus
automate command-line statistics
i'm looking to create a script that will run daily and print a list of virtual servers and nodes that have zero activity since the last reset followed by a reset. this will be sent out via email. th...
Mike_Kahler_488
Jul 18, 2011Historic F5 Account
1. I don't know of any way to make bigtop print more than 1st 21 chars.
3. I looked at this through snmp:
snmpwalk -v 2c -c public localhost ltmVirtualServStatClientTotConns | awk -F \" '{print $2, $3}' | grep 'Counter64: 0'
test_more_than_21_chars_nowisthetimeforallgoodmemtocometotheaidoftheirparty = Counter64: 0
You can reset virtual server stats through snmpset if you have a read/write agent configured:
snmpset -c private -v1 localhost F5-BIGIP-LOCAL-MIB::ltmVirtualServStatResetStats.0 i 1
You can do the same for "Nodes"
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerMaxConns
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatResetStats
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