ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

populating ci_metric_id in custom QoS from the NSA/LUA SDK

book

Article ID: 225048

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have a LUA script which generates some QoS, but no ci_metric_id is generated and niscache does not get updated with any new .CI or .MET files, so I can't display the QoS in OC/UMP due to the lack of ci_metric_id association.

Environment

Release : 20.1

Component : UIM - NSA

Resolution

By adding environment variable NIM_ROOT, we can successfully generate a ci_metric_id.  This can be set in the LUA script directly.

Windows:

setenv("NIM_ROOT","C:/Program Files (x86)/Nimsoft")

Linux:

setenv("NIM_ROOT","/opt/nimsoft")