We have TippingPoint Secure Management System (SMS) that having different exposed OID with other IPS TippingPoint, this one use UC Davis SNMP MIB
So we got below OID which is a CPU ticks:
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 633703849
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 325761775
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 2539553087
I read on online to calculate from CPU ticks is require delta value, so need 2 samples of value taken from different time.
But I don’t see if UnDP is supported to store a variable and and transform such things
any way to achieve this?
- Collect two samples at time t1 and t2:
- user1, system1, idle1 at t1
- user2, system2, idle2 at t2
- Compute deltas:
deltaUser = user2 - user1
deltaSystem = system2 - system1
deltaIdle = idle2 - idle1 - Compute total delta:
deltaTotal = deltaUser + deltaSystem + deltaIdle - Calculate percentages:
CPU_User% = (deltaUser / deltaTotal) * 100
CPU_System% = (deltaSystem / deltaTotal) * 100
CPU_Idle% = (deltaIdle / deltaTotal) * 100
ref:
monitoring - How to calculate CPU % based on raw CPU ticks in SNMP - Server Fault
attached full snmpwalk output for reference
[View:/cfs-file/__key/communityserver-discussions-components-files/4/snmpwalk-tippingpoint-sms.txt:820:615]