vmware probe cpu used monitoring attribute calculation
search cancel

vmware probe cpu used monitoring attribute calculation

book

Article ID: 144901

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Trying to monitor CPU usage of vmware host.
Checked the "CPU Used (% of available)" monitoring attribute. 
Have also set static threshold to 98 as critical. However we are getting alerts of threshold more than 100%.
Why is this so? Understand this has got to do with the number of CPUs in the host.
However we will want an avg of all CPUs. Highest value will only be 100%. What will the attribute be?

Environment

Release : 9.2.0

Component : UIM - VMWARE 7.14

Resolution

The value cannot be more than 100%

CPU Used (% of available) monitoring attribute:Gives us avg of all the CPU's of hosts which are available in the Host Cluster.

The Host CPU's is in the form of thousands of bits/bytes and it's type can be integer.
You can see the totalCpu attribute from MOB


Calculation as below :

totalCpu :219956 (it is 100% CPU )

Now we compute CPU utilized values each interval from total CPU
Below are sample CPU utilized values for each interval ( Probe will collect each interval from Host.This you can see from RN Table)

table_id              sampletime          sampleValue

14306 2020-01-20 20:00:44.000 20995.00 0.00 600.00 -28800
14306 2020-01-20 20:10:19.000 22513.00 0.00 600.00 -28800
14306 2020-01-20 20:20:19.000 19102.00 0.00 600.00 -28800
14306 2020-01-20 20:30:19.000 21309.00 0.00 600.00 -28800
14306 2020-01-20 20:40:18.000 22063.00 0.00 600.00 -28800
14306 2020-01-20 20:50:30.000 20051.00 0.00 600.00 -28800
14306 2020-01-20 21:00:19.000 20956.00 0.00 600.00 -28800
14306 2020-01-20 21:10:18.000 21342.00 0.00 600.00 -28800
14306 2020-01-20 21:20:18.000 20818.00 0.00 600.00 -28800


Now can calculate the % of Utilization(Here taking only 1 sample value as an example)

(20995.00 / 219956 )*100=9.5% (i.e 20995 value equals to 9.5%)

According to this calculation, If we want to give 90% of the static threshold this is 197960.4

90% of 219956 = (90*219956)/100 = 197960.4