Smarts IP: Custom Polling Groups (classes) created by dynamic model are not being pushed to IP domain Polling and Threshold settings
search cancel

Smarts IP: Custom Polling Groups (classes) created by dynamic model are not being pushed to IP domain Polling and Threshold settings

book

Article ID: 332220

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Smarts IP Configuration Manager will not push any customized Polling Groups to IP domains.

The Smarts IP Configuration Manager does not recognize or apply the settings for customized Polling Groups in IP domains, even though the classes and attributes were for the Polling Groups were created in a dynamic model.

Environment

VMware Smart Assurance - SMARTS

Cause

Smarts IP push.conf configuration file has not been configured. If you want to include custom polling groups so that Smarts IP Configuration Manager will push the custom polling group to the IP domains, the push.conf configuration file must contain each custom class used and its attributes.

For example, the push.conf file contains the following entry by default that defines the Performance Polling for Ports and Interfaces. This is one of the default classes that is recognized in the Smarts IP Polling Groups:

# Performance Polling - Ports and Interfaces
class NetworkAdapter_PerformancePolling_Setting
attr AnalysisMode
attr PollingInterval
attr PollingInterval_AccessPorts
attr Retries
attr Timeout

The Smarts IP Configuration Manager will push the settings that relate to the above Polling Group with no custom configuration required.

However, if a dynamically created class includes a custom Polling Group with instrumented settings, unless it is configured in the push.conf file, the Smarts IP Configuration Manager will not be aware of this custom Polling Group and the Configuration Manager log files will not show any errors specifically related to the dynamic class that you are attempting to push to the IP domains.

Resolution

To address this issue, you must edit the push.conf file to include the desired Polling Group class and attribute settings. Review the class or classes that were dynamically created.  If the instrumentation of these classes involve custom Polling Groups, you will need to add the class and its attributes in the push.conf file for it to be included in the Smarts IP Polling and Threshold Settings. This can be done as follows:
  1. Use sm_edit to open the push.conf file in the following directory:
<Basedir IP>\conf\icf-c\
  1. Add your custom class and Polling and Threshold attributes to the end of the push.conf file (see following example).
  2. Save and close the push.conf file.
Example push.conf configuration with custom classes
The following example shows two classes added for a HNS VSAT custom Polling Group that was created through dynamic modeling and included an Instrumentation model file compiled in Smarts IP 9.2.2.  The custom classes are in bold below.

Smarts IP push.conf file

# --- DASL Settings ---
class   DASL_Setting
attr AnalysisMode
attr PollingInterval
attr Retries
attr Timeout

# --- Priority and Matching Criteria ---
class   ICF_ConfigurationSelector
attr Priority
attr criteria

<Insert New class and attributes at end of file > 

# --- HNS_VSAT Dial Backup Polling
class HNS_VSAT_DialBackupPolling_Setting
attr AnalysisMode
attr PollingInterval
attr Retries
attr Timeout

# ---- HNS_VSAT Signal Quality Polling
class HNS_VSAT_SQFPolling_Setting
attr AnalysisMode
attr PollingInterval
attr Retries
attr SignalQualityThreshold
attr Timeout