Hi
I am trying to create some custom pollers for CPU usage and Throughput for F5 BIGIP and running into some problems.
Looking at the docs provided by F5
Here is how they suggest reporting on CPU Usage.. The question, I have is how do you create two separate polls at 10 seconds apart
1. Perform two separate polls of total cycles (sysStatTmTotalCycles -
.1.3.6.1.4.1.3375.2.1.1.2.1.41), idle cycles (sysStatTmIdleCycles -
.1.3.6.1.4.1.3375.2.1.1.2.1.42), and sleep cycles
(sysStatTmSleepCycles - .1.3.6.1.4.1.3375.2.1.1.2.1.43). Perform
these polls approximately ten seconds apart from one another.
2. For each cycle type (total, idle, and sleep), calculate the delta of the
values from the two polls. For example:
DeltaTmTotalCycles = sysStatTmTotalCycles2 -
sysStatTmTotalCycles1
DeltaTmIdleCycles = sysStatTmIdleCycles2 -
sysStatTmIdleCycles1
DeltaTmSleepCycles = sysStatTmSleepCycles2 -
sysStatTmSleepCycles1
3. Using the three resulting delta values, use the formula in table 6.8 to
calculate the CPU use for that time period.
(DeltaTmTotalCycles - (DeltaTmIdleCycles +
DeltaTmSleepCycles) / DeltaTmTotalCycles) *100
For Throughput- The Calculation is baed upon a perod of time.. I am not sure how this is determined. I am not sure what form it should be in.
Throughput
(summary graph)
Client Bits ( (sysStatClientBytesIn (.1.3.6.1.4.1.3375.2.1.1.2.1.3) +
sysStatClientBytesOut (.1.3.6.1.4.1.3375.2.1.1.2.1.5) )*8 ) / time
Server Bits ( (sysStatServerBytesIn (.1.3.6.1.4.1.3375.2.1.1.2.1.10) +
sysStatServerBytesOut (.1.3.6.1.4.1.3375.2.1.1.2.1.12) )*8 /)
time
Just an fyi-- I have attach some graphs that BIGIP uses to report on Throughput and CPU Usage