Including additional attributes as part of the Spectrum Inventory in DXO2
search cancel

Including additional attributes as part of the Spectrum Inventory in DXO2

book

Article ID: 428613

calendar_today

Updated On:

Products

DX SaaS DX Operational Observability Spectrum

Issue/Introduction

How to add the below devices information as part of the Inventory attributes in DXO2

  • Operational Status
  • Serial number
  • Firmware version
  • Model ID
  • Most recent discovery

These attributes are available in the Spectrum UI but not in DXO2. 

Environment

DX O2

Resolution

Follow the below steps to enable the additional attributes

  • Select the device in Spectrum Webapp console for which you want to enable these attributes
  • Click Attributes tab from details
  • Select that perticular attribute say '0x210ffa' for firmware version
  • Add those into the right pane
  • Now update the following files under 'Config' folder of SDP
  • File names are 'TasConfig.xml' 'InventoryPayload.xml' and 'InventorySubscriptionPayload.xml'
  • Add the values in such a way (if they are not present)
  • After the changes restart the SDP service and you should see the changes 

For TasConfig.xml

        <attribute>
            <id>0x210ffa</id>
            <name>firmwareversion</name>
            <notifychange>true</notifychange>
        </attribute>

 IMPORTANT: add the new attributes inside of the device attributes section. for example to add sysUpTime or Internal_SysDescr

For InventoryPayload.xml 

<requested-attribute xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="0x210ffa" xsi:type="requested-attribute"/>

 

For InventorySubscriptionPayload.xml

<attrs id="0x210ffa" notify-of-changes="true"/>

Additional Information

Tecdocs Spectrum Data Publisher