NetXMS Support Forum

English Support => General Support => Topic started by: Darren Leggett on May 20, 2026, 03:09:15 PM

Title: Monitoring power consunption on Aruba 6300 stack
Post by: Darren Leggett on May 20, 2026, 03:09:15 PM
Hi,

I'm trying to monitor the power consumption on Aruba 6300 switch stacks.  I want to create DCIs for each PSU so I'm looking for a way to find all the PSU instances.   So far I have found the table I need at oid .1.3.6.1.4.1.47196.4.1.1.3.11.2.1

The table contains the PSU information for the stack but there are 2 indexes one at .1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1 for the PSU Group and .1.3.6.1.4.1.47196.4.1.1.3.11.2.1.2 for the PSU slot.  W
The oids I need with the power consumption are .1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.7.x.y where x is the primary index and y is the secondary index.  The names for the instances are at .1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.3.x.y  Does anyone have a solution for doing the instance discovery for this kind of situation?
Title: Re: Monitoring power consunption on Aruba 6300 stack
Post by: Alex Kirhenshtein on May 20, 2026, 08:10:46 PM
For an SNMP table with a multi-part index, use SNMP Walk - OIDs as the instance discovery method. NetXMS walks the chosen column and uses the OID suffix — the entire composite index (e.g. 1.2, 2.1, ...) — as the instance name (docs (https://netxms.org/documentation/adminguide/data-collection.html#instance-discovery-methods)). You then reference that suffix in the DCI's OID via {instance}.

Setup on the prototype DCI:


{instance} is replaced with the composite suffix (e.g. 1.2) for each row, producing the correct per-PSU power OID.

For nice DCI display names, attach an Instance Discovery Filter Script that fetches the PSU name from column 3 at the same index and returns [instance, name] — first element keeps the composite suffix for OID substitution, second populates {instance-name} for the description (docs (https://netxms.org/documentation/adminguide/data-collection.html#instance-discovery-filter-script)).

Side note: the power-consumption OID in your message has an extra .1 (...11.2.1.1.7.x.y). If columns 1, 2, 3 are group/slot/name as you describe, the power column is .1.3.6.1.4.1.47196.4.1.1.3.11.2.1.7.x.y — worth double-checking with nxsnmpwalk before building the DCI.
Title: Re: Monitoring power consunption on Aruba 6300 stack
Post by: Darren Leggett on May 21, 2026, 02:25:54 PM
Thanks for the help.  I've got the instances discovering properly now.  Thanks for spotting the power consumption oid not matching up with the base oid.  When I checked it the base oid was wrong and the power consumption oid was right.