Forum Discussion

Keith_Richards_'s avatar
Keith_Richards_
Icon for Nimbostratus rankNimbostratus
Feb 21, 2008

Useful OIDs

I have been searching through the forums and found a number of useful posts regarding capturing data via SNMP. I have listed below the OIDs for a number of what I consider useful metrics but I don't know how to work out the Host CPU (used by ASM) and also what the basis is for the SSL TPS.

 

 

Please could anyone add to this thread with other useful OIDs?

 

 

Interface Statistics

 

.1.3.6.1.4.1.3375.2.1.2.4.4.3.1.1 Does not change – returns the Interface names

 

.1.3.6.1.4.1.3375.2.1.2.4.4.3.1.2 Interface Packets In

 

.1.3.6.1.4.1.3375.2.1.2.4.4.3.1.3 Interface Bytes In

 

.1.3.6.1.4.1.3375.2.1.2.4.4.3.1.4 Interface Packets Out

 

.1.3.6.1.4.1.3375.2.1.2.4.4.3.1.5 Interface Bytes Out

 

 

Virtual Server Statistics

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.1 Virtual Server Names

 

.1.3.6.1.4.1.3375.2.2.10.1.2.1.3 Virtual Server IP Addresses (HEX)

 

.1.3.6.1.4.1.3375.2.2.10.1.2.1.6 Virtual Server Port (Decimal)

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.6 Virtual Server Packets In

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.8 Virtual Server Packets Out

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.7 Virtual Server Bytes In

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.9 Virtual Server Bytes Out

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.11 Connection Rate

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.12 Concurrent Connections

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.4 Mean Connection Duration

 

.1.3.6.1.4.1.3375.2.2.10.2.3.1.5 No Nodes Errors (To Be confirmed)

 

 

TMM CPU Statistics

 

Note that the SNMP OIDs record Total CPU cycles, Idle cycles and Sleep cycles as absolute figures since the appliance boots. It is recommended to take a sample every 10 seconds and calculate average CPU based on the formula:

 

((Delta Total – (Delta Idle + Delta Sleep)) / Delta Total) * 100

 

.1.3.6.1.4.1.3375.2.1.1.2.1.41.0 Total CPU Cycles

 

.1.3.6.1.4.1.3375.2.1.1.2.1.42.0 Idle Cycles

 

.1.3.6.1.4.1.3375.2.1.1.2.1.43.0 Sleep Cycles

 

(To be confirmed – statistics for the Host CPU i.e. the one running ASM are different and I need to clarify)

 

 

Memory Usage

 

.1.3.6.1.4.1.3375.2.1.1.2.1.44.0 Total System Memory

 

.1.3.6.1.4.1.3375.2.1.1.2.1.45.0 Memory Used

 

 

HTTP Server Codes

 

.1.3.6.1.4.1.3375.2.1.1.2.4.3.0 Server side HTTP Responses in range 200 to 206 (successful)

 

.1.3.6.1.4.1.3375.2.1.1.2.4.4.0 Server side HTTP Responses in range 300 to 307 (redirections)

 

.1.3.6.1.4.1.3375.2.1.1.2.4.5.0 Server side HTTP Responses in range 400 to 417 (client errors)

 

.1.3.6.1.4.1.3375.2.1.1.2.4.6.0 Server side HTTP Responses in range 500 to 505 (server errors)

 

.1.3.6.1.4.1.3375.2.1.1.2.4.7.0 Total HTTP Requests

 

.1.3.6.1.4.1.3375.2.1.1.2.4.8.0 Total HTTP Posts

 

.1.3.6.1.4.1.3375.2.1.1.2.4.9.0 Total HTTP 0.9 Requests

 

.1.3.6.1.4.1.3375.2.1.1.2.4.10.0 Total HTTP 1.0 Requests

 

.1.3.6.1.4.1.3375.2.1.1.2.4.11.0 Total HTTP 1.1 Requests

 

.1.3.6.1.4.1.3375.2.1.1.2.4.12.0 Total HTTP 0.9 Responses

 

.1.3.6.1.4.1.3375.2.1.1.2.4.13.0 Total HTTP 1.0 Responses

 

.1.3.6.1.4.1.3375.2.1.1.2.4.14.0 Total HTTP 1.1 Responses

 

  • There's more on BIG-IP Network and System Management Guide under "Configuring SNMP" chapter
  • hey try this

     

     

    snmpwalk -v2c -c public localhost .1.3.6.1.4.1.3375.2

     

     

    will give you the lists of F5-BIGIP-SYSTEM-MIB:: then just grep out what you think is usefull. Then once you found it you can use this to translate it to OID

     

     

    snmptranslate -On F5-BIGIP-SYSTEM-MIB::

     

     

    e.g.

     

     

    [Admin ] snmpwalk -v2c -c public localhost .1.3.6.1.4.1.3375.2

     

    F5-BIGIP-SYSTEM-MIB::sysHostCpuUser.1

     

    F5-BIGIP-SYSTEM-MIB::sysHostCpuSystem.1

     

    F5-BIGIP-SYSTEM-MIB::sysHostCpuNice.1

     

     

    now you want to get the OID for sysHostCpuSystem.1

     

    [Admin ] snmptranslate -On F5-BIGIP-SYSTEM-MIB::sysHostCpuSystem.1

     

    .1.3.6.1.4.1.3375.2.1.7.2.2.1.5.1

     

     

    done! I noticed some of the OID's in the manual is different when you snmpwalk/get it