cpu metrics not visible.
search cancel

cpu metrics not visible.

book

Article ID: 220686

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We have discovered few devices in snmpcollector probe and for these devices the all available CPU metrics are not shown. We can only see below metrics for these devices:

- CPUUtilizationLast5Min

- CPUUtilization5Min

- CPUUtilizationLastHour

Though we have enabled other CPU metrics In the template, we only see above 3 metrics for these. There are other devices of similar make and model and for them I can see all metrics.

 

Environment

Release : 9.x, 20.x

Component : UIM - SNMPCOLLECTOR

 

Resolution

The issue has been replicated in-lab. Please find our findings as follows:

 

Environment Details:

================

- UIM 20.3.3 with snmpcollector 4.04

 

IP Addresses used:

================

1) 192.168.5.26 -> this is the IP Address of working Windows device 

2) 192.168.5.39 -> this is the IP Address of simulation from your non working device with issue

 

Note: the same template has been used with all CPU metrics enabled and deployed on the above two devices

 

Observations:

============

 

1) Observations made on 192.168.5.26 (working device):

-> the metrics available for the device in Operator Console:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=FAagaIvgMrB2o7R2+qACBQ==

-> From snmpcollector -> configure -> Profiles -> Expand 192.168.5.26 -> the following metrics have been discovered:

- Running Vendor Certification test on CPU:

-

- Output of Vendor test:

- Observe the above output contains entry for hrDeviceStatus, whose OID is 1.3.6.1.2.1.25.3.2.1.5.2

- Copying the content of the above response below:

=========================================

INDIVIDUAL SNMP OID RESPONSES (NAME :: OID = Current Value :: Last Value)hrDeviceDescr :: 1.3.6.1.2.1.25.3.2.1.3.2 = Unknown Processor Type :: Unknown Processor TypehrDeviceStatus :: 1.3.6.1.2.1.25.3.2.1.5.2 = 2 :: 2hrProcessorLoad :: 1.3.6.1.2.1.25.3.3.1.2.2 = 1 :: 1DELTA OIDS (NAME :: OID = Current Value :: Last Value)UNSUPPORTED DEVICE OIDS (NAME :: OID = Current Value :: Last Value)METRIC NAME (or) VARIABLE NAME :: VALUE :: EXPRESSIONIndexes :: 2 :: hrProcessorIndexUtilization :: 1 :: hrProcessorLoadcpuIdleUtilization :: 99 :: 100-hrProcessorLoadNames :: CPU 2 :: "CPU " + hrProcessorIndexDescriptions :: CPU Unknown Processor Type 2 :: "CPU " + (isdef(hrDeviceDescr)? (hrDeviceDescr + " ") : "") + hrProcessorIndexStatusCode :: 2 :: hrDeviceStatusTimeInUnknownState :: 0 :: (hrDeviceStatus == 1)? _rspDuration : 0TimeInNormalState :: 3 :: (hrDeviceStatus == 2)? _rspDuration : 0TimeInWarningState :: 0 :: (hrDeviceStatus == 3)? _rspDuration : 0TimeInCriticalState :: 0 :: (hrDeviceStatus == 5)? _rspDuration : 0PctTimeInUnknownState :: 0 :: (hrDeviceStatus == 1)? 100 : 0PctTimeInNormalState :: 100 :: (hrDeviceStatus == 2)? 100 : 0PctTimeInWarningState :: 0 :: (hrDeviceStatus == 3)? 100 : 0PctTimeInCriticalState :: 0 :: (hrDeviceStatus == 5)? 100 : 0TABLE OID :: VALUE 

 

- Observe the number of metrics which depend on hrDeviceStatus

- Running snmpget on the OID 1.3.6.1.2.1.25.3.2.1.5.2 for verification:

>SnmpGet.exe -r:192.168.5.26 -v:2c -p:161 -c:"public" -o:.1.3.6.1.2.1.25.3.2.1.5.2
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

OID=.1.3.6.1.2.1.25.3.2.1.5.2
Type=Integer
Value=2



- Observe in the snmpget output on the OID 1.3.6.1.2.1.25.3.2.1.5.2, we get Value=2 

 

 

2)  Observations made on 192.168.5.39 (non-working device):

-> From snmpcollector -> configure -> Profiles -> Expand 192.168.5.39 -> the following metrics have been discovered:

- Running Vendor Certification test on CPU:

-

- Output of Vendor test:

-.Observe the above output does not contain entry for hrDeviceStatus, it is missing

- Copying the content of the above response below:

=========================================

INDIVIDUAL SNMP OID RESPONSES (NAME :: OID = Current Value :: Last Value)hrDeviceDescr :: 1.3.6.1.2.1.25.3.2.1.3.10 = Unknown Processor Type :: Unknown Processor TypehrProcessorLoad :: 1.3.6.1.2.1.25.3.3.1.2.10 = 4 :: 4DELTA OIDS (NAME :: OID = Current Value :: Last Value)UNSUPPORTED DEVICE OIDS (NAME :: OID = Current Value :: Last Value)hrDeviceStatus :: 1.3.6.1.2.1.25.3.2.1.5.10 =  :: METRIC NAME (or) VARIABLE NAME :: VALUE :: EXPRESSIONIndexes :: 10 :: hrProcessorIndexUtilization :: 4 :: hrProcessorLoadcpuIdleUtilization :: 96 :: 100-hrProcessorLoadNames :: CPU 10 :: "CPU " + hrProcessorIndexDescriptions :: CPU Unknown Processor Type 10 :: "CPU " + (isdef(hrDeviceDescr)? (hrDeviceDescr + " ") : "") + hrProcessorIndexTABLE OID :: VALUE 


- Running snmpget on the OID 1.3.6.1.2.1.25.3.2.1.5.2 for verification:

>SnmpGet.exe -r:192.168.5.39 -v:2c -p:161 -c:"public" -o:.1.3.6.1.2.1.25.3.2.1.5.2
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

OID=.1.3.6.1.2.1.25.3.2.1.5.2
Type=<Unknown>
Value=

 

- Observe in the snmpget output on the OID 1.3.6.1.2.1.25.3.2.1.5.2, we do not get Value= output, it is blank

 

Conclusion:

- Snmp Manager (which in this case is snmpcollector probe) just displays the results it fetches from the snmp agent

- The OID 1.3.6.1.2.1.25.3.2.1.5 with instance 2 (i.e. 1.3.6.1.2.1.25.3.2.1.5.2) does not output value. We have seen the issue with two tools:

(1) snmpcollector probe

(2) snmpget utility

- From the above observations, it is evident the the SNMP Agent on the end device with issue does not output the value for hrDeviceStatus, whose OID is 1.3.6.1.2.1.25.3.2.1.5.2, this is the cause of many missing metrics in the environment

- The customer would need to check with the Vendor on the cause of missing value for OID 1.3.6.1.2.1.25.3.2.1.5.2.

- The issue is with the snmpagent not providing us the value for 1.3.6.1.2.1.25.3.2.1.5.2 - may a reinstall / upgrade snmpagent on the end device is required, the vendor should be the right person to guide on the cause of the issue