Duplicate attribute names error when creating a SpectroWatch in Spectrum OneClick
search cancel

Duplicate attribute names error when creating a SpectroWatch in Spectrum OneClick

book

Article ID: 49738

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

Duplicate attribute names error when creating a SpectroWatch in Spectrum OneClick

If an attribute is mapped via mibtools and that attribute already exists in the SpectroSERVER database then the following error will be seen when trying to create a watch for one of the attributes:

Watch Expression: Duplicate attribute names for <attribute name> There are two attributes with this name. Use the ATTR () primitive to correctly identify the desired attribute


Environment

Release: Any
Component: SPCCSS

Resolution

The ATTR prefix and the attribute hex value assigned to the attribute must be used to properly identify the attribute you want to create the watch for. The following is an example of an expression that can be used when creating a watch:

ATTR(0xfff00171).#

The .# will watch all instances of the attribute 0xfff00171


If you get a message like this (Invalid attribute descriptor. The attribute '0xfff00171' must be list and readable):

Remove the .# characters.
ATTR(0xfff00171)

Additional Information

Please reference the "Watches" section of the documentation for more information.