Forum Discussion

Al_Faller_1969's avatar
Al_Faller_1969
Icon for Nimbostratus rankNimbostratus
Jul 31, 2012

interfaces level stats with snmp

Hi,

 

 

I would like to monitor the bytes in/out on some of my interfaces. Unfortunately from within snmp, it looks like I can only get vlan statistics, not interface statistics. Any recommendations on how to get this using snmp?

 

 

 

I'm running 10.2.3.

 

 

 

Thanks,

 

Al

 

  • mkahler_108475's avatar
    mkahler_108475
    Historic F5 Account
    I found these on my 10.2.4 LTM:

     

     

    F5-BIGIP-SYSTEM-MIB::sysInterfaceStatBytesIn."1.1"

     

    F5-BIGIP-SYSTEM-MIB::sysInterfaceStatBytesOut."1.1"

     

     

    You can look at all the sysInterfaceStat MIB's w/this commmand:

     

     

    snmpwalk -v2c -c public localhost .1.3.6.1.4.1.3375.2.1.2.4.4.3.1

     

     

    To use snmpget for an interface, make sure you "escape" the quotes with a backslash ( \ )

     

     

    snmpget -v 2c -c public localhost F5-BIGIP-SYSTEM-MIB::sysInterfaceStatBytesIn.\"1.1\"

     

    F5-BIGIP-SYSTEM-MIB::sysInterfaceStatBytesIn."1.1" = Counter64: 17500040203