Smarts IP: Change of polling interval on ports performace in P&T is not taken into effect on ports
search cancel

Smarts IP: Change of polling interval on ports performace in P&T is not taken into effect on ports

book

Article ID: 332041

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


In "P&T" window, Changed the "Polling interval of Access Ports" on Switches Polling group to 240 seconds from default value of 1200 seconds. Performed Reconfigure on the domain.


Settings on Switch for Access Ports:
[root@lincsb041 bin]# ./dmctl -s AM-PM get NetworkAdapter_PerformancePolling_Setting::"SET-CFG-Polling Groups/Switches/NetworkAdapter_PerformancePolling_Setting" | tee | grep PollingInterval
PollingInterval = 240
PollingInterval_AccessPorts = 240
[root@lincsb041 bin]#


However, an access port part of a Switch shows Polling Interval still as 1200 seconds:
[root@lincsb041 bin]# ./dmctl -s AM-PM get Port::PORT-bq-sw2/1.9::PortType | tee
ACCESS
[root@lincsb041 bin]# ./dmctl -s AM-PM get NetworkAdapter_PerformanceData_MIB2::I-NetworkAdapter_PerformanceData_MIB2-PORT-bq-sw2/1.9 | tee | grep Polling
PollingInterval = 1200
[root@lincsb041 bin]#


This device belongs to same polling group:
[root@lincsb041 bin]# ./dmctl -s AM-PM get Switch::bq-sw2 | tee | grep Settings
                     SettingsAppliedBy = { VLAN_Provisioning_Setting::SET-CFG-System VLAN Tag Groups/Switches/VLAN_Provisioning_Setting, IPTag_Setting::SET-CFG-System IP Tag Groups/IP Tag Filter-1/IPTag_Setting, Processor_Performance_Setting::SET-CFG-System Resource Groups/Switches/Processor_Performance_Setting, System_Environment_Setting::SET-CFG-System Resource Groups/Switches/System_Environment_Setting, Connectivity_Threshold_Setting::SET-CFG-System Resource Groups/Switches/Connectivity_Threshold_Setting, Processor_PerformancePolling_Setting::SET-CFG-Polling Groups/Switches/Processor_PerformancePolling_Setting, System_EnvironmentPolling_Setting::SET-CFG-Polling Groups/Switches/System_EnvironmentPolling_Setting, NetworkAdapter_PerformancePolling_Setting::SET-CFG-Polling Groups/Switches/NetworkAdapter_PerformancePolling_Setting, GarbageCollection_Setting::SET-CFG-Polling Groups/Switches/GarbageCollection_Setting, Connectivity_Polling_Setting::SET-CFG-Polling Groups/Switches/Connectivity_Polling_Setting, Connectivity_Polling_IPv6_Setting::SET-CFG-Polling Groups/Switches/Connectivity_Polling_IPv6_Setting }
[root@lincsb041 bin]#


This issue is observed on Trunk Ports as well, when Polling interval is changed on Polling group, the change doesn't take effect on ports of the devices in that group.

Environment

VMware Smart Assurance - SMARTS

Cause

The polling_interval is used as a global variable in <Basedir>/IP/smarts/rules/health/adapter-setting.asl file. It only holds the latest value that corresponds to the last network adapter processed in the loop.

Resolution

This issue is identified as a bug.

1) If you have IP 9.4.2 installation, this issue is fixed in Patch 11 and later. As part of the fix, the right polling interval was passed when setting the instrumentation object to the accessor in <Basedir>/IP/smarts/local/rules/health/adapter-setting.asl file.

Refer the latest Smarts 9.4.2 Patch 15 release notes available at https://docs.vmware.com/en/VMware-Smart-Assurance/index.html. Refer pg.16, with reference IS-9021/ SR 84969162.



Additional Information

The fix works for both Access and Trunk ports performance polling settings.