DX Unified Infrastructure Management

 View Only

 Shortcut to populate "Component User Defined Property 1" for individual service?

Jan Olav Melbye's profile image
Jan Olav Melbye posted Feb 05, 2026 06:23 AM

UIM 23.4.3

snmpcollector v5.01

Is there a "shortcut" to populate the "Component User Defined Property 1" for an individual service in snmpcollector (eg., interfaces)?

I am currently using this for my filtering of what interfaces to include in my template, but now I am setting up a new large environment, and it would be a pain to do this trough the GUI.

It is case 2 within this description that I am using:

How to exclude specific interfaces from snmpcollector template

For the hosts it is possible to do this through a csv-file as described in the bottom chapter here:

snmpcollector AC Configuration

It is not necessary to have nice solution like this, but it would be nice if i can change this in the db and/or config files.

Ravishu Arora's profile image
Broadcom Employee Ravishu Arora

I recommend logging it as an idea on our Ideation Platform:
https://knowledge.broadcom.com/external/article/12135/how-to-raise-an-enhancement-request-for.html

Jan Olav Melbye's profile image
Jan Olav Melbye

I think that I might be able to use the PU utility temporary for populating this probe.

When I call pu -u administrator -p "password" /LAB-E6_domain/LAB-E6-HUB2/lab-e6-hub2/snmpcollector set_component_user_defined_property_1 D91a6540a205a06c936058bcadf3726e0 NormalizedPortInfo ifIndex=200 YES

I get no error messages, but no value appears in the GUI. I get the same result no matter what value I send in for componentKey (ifIndex=200). This is maybe because I have the wrong syntax for this attribute. I have searched the internet trying to find it, to no avail. Does anyone Know the correct syntax here?  

(deviceKey=D91a6540a205a06c936058bcadf3726e0 metricFamilyKey=NormalizedPortInfo componentKey=ifIndex=200 value=YES)

Jan Olav Melbye's profile image
Jan Olav Melbye

I have put this as a request. Please upvote this if it is something you need as well.

Jan Olav Melbye's profile image
Jan Olav Melbye

Broadcom found an error in the PU utilty. The callback that I used did not work properly. They released a hotfix for it and now I am able to do this with the PU utility. Request the hotfix if you are struggling with the same issue. We have since this was an issue upgraded to 23.4.6 and the hotfix for the snmpcollector is numbered 6.0.31