Smarts NCM: Compliance Script fails to work after upgrading to NCM 9.4.1
search cancel

Smarts NCM: Compliance Script fails to work after upgrading to NCM 9.4.1

book

Article ID: 330869

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


The Compliance script fails to work after upgrading to NCM 9.4.1.

Environment

VMware Smart Assurance - NCM

Cause

Issue was with the code when the regex needs to resolve multiple variables (Ex.no snmp-server host $ {var3} ${var3}) in the single line and line by line scope used.

Resolution

This patch is developed for 9.4.1.0 without any previous patches. Please do not apply if you have any additional patches applied. 

Please follow these instructions to deploy the patch.

1. Download the attached services-9.4.0.0.jar to a temp directory

2.  Take a backup of the existing services-9.4.0.0.jar
cp $VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/lib/services-9.4.0.0.jar <Backup Directory>

3. copy the attached jar file to the same location. 
$VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/lib/services-9.4.0.0.jar

4. change ownership permission. 
chown root:voyence $VOYENCE_HOME/ncmcore/webapps/ncm-webapp/WEB-INF/lib/services-9.4.0.0.jar

5. service ncm-as restart

Please verify that Regex Test. If any other issue occurs, revert back to old jar.

This issue will also be fixed in future releases of NCM


Additional Information

78911418

 
  1. IS-6265


Attachments

services-9.4.0.0.jar get_app