Smarts IP: UseMIBThresholds value is not pushed from Configuration Manager to AM domain
search cancel

Smarts IP: UseMIBThresholds value is not pushed from Configuration Manager to AM domain

book

Article ID: 331756

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Edited the UseMIBThresholds field on Temperature Sensor and Voltage Sensor Threshold groups in Configuration Manger and pushed the settings from Configuration Manager to AM domain, however these changes are not updated at AM domain.

Temperature Sensor Settings :
./dmctl -s INCHARGE-CM get Temperature_Setting::'SET-CFG-TemperatureSensor/TemperatureSensor/Temperature_Setting'| grep 'UseMIBThresholds'
                UseMIBThresholds = FALSE
 ./dmctl -s INCHARGE-AM-PM get Temperature_Setting::'SET-CFG-TemperatureSensor/TemperatureSensor/Temperature_Setting' |  grep 'UseMIBThresholds'
                UseMIBThresholds = TRUE

Voltage Sensor  Settings:
./dmctl -s INCHARGE-CM get Voltage_Setting::'SET-CFG-VoltageSensor/VoltageSensor/Voltage_Setting'::UseMIBThresholds | grep 'UseMIBThresholds'
              UseMIBThresholds = FALSE
 ./dmctl -s INCHARGE-AM-PM get Voltage_Setting::'SET-CFG-VoltageSensor/VoltageSensor/Voltage_Setting'| grep 'UseMIBThresholds'
              UseMIBThresholds = TRUE


Environment

VMware Smart Assurance - SMARTS

Cause

Default Settings in $BASEDIR/smarts/conf/icf-c/push.conf file are as below, which has only 2-3 attribute changes pushed and UseMIBThresholds is not present.

# Voltage Sensor
class   Voltage_Setting
attr    RelativeVoltageThreshold
attr    VoltageSensorHighThreshold
attr    VoltageSensorLowThreshold


# Temperature Sensor
class   Temperature_Setting
attr    RelativeTemperatureThreshold
attr    TemperatureHighThreshold

Resolution

Follow the below steps to add UseMIBThresholds to push operation of Configuration Manager:
1. Edit the push.conf file using sm_edit:
$BASEDIR/IP/smarts/bin#./sm_edit ../conf/icf-c/push.conf

2. Add the below highlighted entries in "# Voltage Sensor" , "# Temperature Sensor" sections and save the file:
# Voltage Sensor
class   Voltage_Setting
attr    RelativeVoltageThreshold
attr    VoltageSensorHighThreshold
attr    VoltageSensorLowThreshold
attr    UseMIBThresholds

# Temperature Sensor
class   Temperature_Setting
attr    RelativeTemperatureThreshold
attr    TemperatureHighThreshold
attr    UseMIBThresholds


3. Restart the IP Configuration Manager domain.