Smarts NCM: How do I disable config pulls on trap events?
search cancel

Smarts NCM: How do I disable config pulls on trap events?

book

Article ID: 331335

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

How do I disable config pulls on Smarts Network Configuration Manager (Smarts NCM) trap events?



To disable config pulls on Smarts NCM trap events, you need to make modifications to the trap XML configuration files on the device server. Use the following steps as a guide to make the changes you need:
  1. Log into your device server and navigate to the followng:

    $VOYENCE_HOME/package/pkgxml/<device folder>

     
  2. Locate the files that have the following name format:

    <name>Trap.xml

     
  3. Open the <name>Trap.xml file and find the line that reads as follows:

    <PullConfig>1</PullConfig>


    Change this line to the following: 

    <PullConfig>0</PullConfig>


     
  4. Save and close the file.
  5. Restart the device server services with the service vcmaster restart command.


Additional Information

As an example.  If you wanted to stop generic devices from having their configs pulled when a trap comes in, you would do the following:
  1. Log into your device server and navigate to  $VOYENCE_HOME/package/pkgxml/GenericDevice.
  2. Locate the files that have the following name format GenericDeviceTrap.xml.
  3. Open the <name>Trap.xml file and change the line that reads <PullConfig>1</PullConfig> to <PullConfig>0</PullConfig>.
  4. Save the changes, exit the file, and restart the device server services with service vcmaster restart.