set_component_user_defined_property_1 callback fails in snmpcollector
search cancel

set_component_user_defined_property_1 callback fails in snmpcollector

book

Article ID: 441843

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

You need to update the "Component User Defined Property 1" via Callback in the SNMPcollector probe. 

Although the command executes without error messages, the value does not appear in the GUI or doesn't seem to update the value in the H2 snmpcollector DB.  

Environment

  • DX UIM Version : 23.4 CU6
  • snmpcollector : 5.01 / 6.03

Cause

A product defect in the set_component_user_defined_property_1 callback prevents changes from being saved.

Resolution

To resolve the issue:

1. Download, Import to IM or AC and deploy the updated Probe Version snmpcollector-6.031.zip (upgrade SNMPcollector 5.* or 6.*)

2. Verify if the callback works:

 

NOTE:  

  • The fix has been developed to address the callback lookup logic and ensure property changes are persisted.
  • This fix is included in snmpcollector 6.031 and later.

 


Notes on running the callback: 

Execute Callback via Probe Utility To update the "Component User Defined Property 1" via the command line, use the set_component_user_defined_property_1 callback with the following parameters:

  1. Identify Required Keys:

    • deviceKey: Found in the snmpcollector GUI or database.
    • metricFamilyKey: Use the get_metric_family callback (e.g., NormalizedPortInfo).
    • componentKey: This must be the specific identifier for the component (e.g., ifIndex=200 or ifName=1/8).
  2. Run the Command:

    Use the pu utility with the correct syntax: pu -u <user> -p <password> <probe_address> set_component_user_defined_property_1 <deviceKey> <metricFamilyKey> <componentKey> <value>

    Or run the callback via probe utility.

  3. Verify in GUI: After running the callback, refresh the snmpcollector configuration GUI to confirm the property now displays the updated value (e.g., "YES").

Attachments

snmpcollector-6.031.zip get_app