NSA SDK 20.60 creates extra folders outside the installation path
search cancel

NSA SDK 20.60 creates extra folders outside the installation path

book

Article ID: 279793

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Whenever I run a script with NSA 20.60 I notice the following line in the output:


Created directory:  /jenkins/workspace/UIM/C-Thirdparty/net-snmp/net-snmp/net-snmp-5.9.4/jenkins/libs/compiled/snmp/persist/cert_indexes

And indeed, this folder gets created.  

Why is NSA creating this folder at this location?

Cause

This is related to a defect which will be resolved in the next NSA SDK after 20.60.  The folder is created at a default location when the net-snmp library is loaded.

Resolution

The workaround is to set an environment variable at the Operating System level called 'SNMP_PERSISTENT_DIR' and set this to any desired folder underneath the UIM installation (e.g. C:\Program Files (x86)\Nimsoft\sdk\nsa on Windows or /opt/nimsoft/sdk/nsa on Linux)

This will cause the cert_indexes folder to be created underneath the specified location.