Forum Discussion

grei_zhang_3397's avatar
grei_zhang_3397
Icon for Nimbostratus rankNimbostratus
Sep 26, 2012

Reset snmp ClientMaxConns Counter

Hi, Community:

 

is that possible to reset snmp counter F5-BIGIP-SYSTEM-MIB::sysStatClientMaxConns, when I do performance test, i need to reset it to get correct value eachtime.

 

 

Thanks

 

Grei

 

  • mkahler_108475's avatar
    mkahler_108475
    Historic F5 Account
    I could not find a MIB just for client max conns. I used this string to look for reset MIB's:

     

     

    snmpwalk -v 2c -c public localhost F5 | grep -i reset | more

     

     

    I tried a couple but could not get that MIB to reset. I have used this MIB in the past to reset all stats:

     

     

    snmpset -c private -v 1 localhost F5-BIGIP-SYSTEM-MIB::sysStatResetStats.0 i 1

     

     

    Of course you would need to define a writeable access string available to localhost on the LTM prior to running the snmpset command.

     

     

    Hope this helps.