cdm nic aggr enabled but no metrics in OC
search cancel

cdm nic aggr enabled but no metrics in OC

book

Article ID: 247108

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Nic metrics have been enabled but none are being generated and confirmed this via DrNimBUS and the probe log. 

Environment

Release : 20.4

Component : UIM - CDM WITH IOSTAT

Resolution

cdm uses the sar command to get NIC info. 
The command has to work for cdm to produce nic metrics. 

This command can be used to test for Linux OS nic support:
sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'

example of it working:
[root@xx2072 ~]# sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'
eth0
virbr0-nic
virbr0

example of it failing:
[root@xx2072 ~]# sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'
Invalid system activity file: /var/log/sa/sa22
File created by sar/sadc from sysstat version 10.1.5
Current sysstat version cannot read the format of this file (0x2171)

Or if sar is not loaded. 

Additional Information

In the log this starts the section on nic:
Aug  2 12:14:43:540 [3260] cdm: CheckNICUtil
Aug  2 12:14:43:540 [3260] cdm: GetNICInfo 

This command can be used to test for Linux OS nic support:
sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'

example of it working:
[root@xx2072 ~]# sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'
eth0
virbr0-nic
virbr0

example of it failing:
[root@xx2072 ~]# sar -n DEV | grep 'Average:' |awk '{ print $2}' | grep -vwE 'lo'
Invalid system activity file: /var/log/sa/sa22
File created by sar/sadc from sysstat version 10.1.5
Current sysstat version cannot read the format of this file (0x2171)